انجمن‌های فارسی اوبونتو

کمک و پشتیبانی => نصب، راه‌اندازی و بروزآوری => نویسنده: علی ایرانی در 09 مهر 1387، 04:41 ق‌ظ

عنوان: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 09 مهر 1387، 04:41 ق‌ظ
سلام
من برای روبوکاپ یک سری فایل رو باید نصب میکردم که دو تاش رو با موفقیت و کلی دردسر نصب کردم و فقط مونده آخریش یعنی rcssmonitor که بعد از این که configure میکنم و میام که make کنم ارور میده.
حالا موندم این اروره دیگه برای چیه؟
لیست قسمتهایی از ارور ها هم در زیر اومده
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/rcssmonitor-2dview.Tpo .deps/rcssmonitor-2dview.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include  -g -O2 -MT rcssmonitor-angle.o -MD -MP -MF .deps/rcssmonitor-angle.Tpo -c -o rcssmonitor-angle.o `test -f 'angle.C' || echo './'`angle.C
mv -f .deps/rcssmonitor-angle.Tpo .deps/rcssmonitor-angle.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include  -g -O2 -MT rcssmonitor-smonitor_dev.o -MD -MP -MF .deps/rcssmonitor-smonitor_dev.Tpo -c -o rcssmonitor-smonitor_dev.o `test -f 'smonitor_dev.C' || echo './'`smonitor_dev.C
mv -f .deps/rcssmonitor-smonitor_dev.Tpo .deps/rcssmonitor-smonitor_dev.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include  -g -O2 -MT rcssmonitor-ascii_dev.o -MD -MP -MF .deps/rcssmonitor-ascii_dev.Tpo -c -o rcssmonitor-ascii_dev.o `test -f 'ascii_dev.C' || echo './'`ascii_dev.C
mv -f .deps/rcssmonitor-ascii_dev.Tpo .deps/rcssmonitor-ascii_dev.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include  -g -O2 -MT rcssmonitor-udpsocket.o -MD -MP -MF .deps/rcssmonitor-udpsocket.Tpo -c -o rcssmonitor-udpsocket.o `test -f 'udpsocket.C' || echo './'`udpsocket.C
mv -f .deps/rcssmonitor-udpsocket.Tpo .deps/rcssmonitor-udpsocket.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include  -g -O2 -MT rcssmonitor-tcpsocket.o -MD -MP -MF .deps/rcssmonitor-tcpsocket.Tpo -c -o rcssmonitor-tcpsocket.o `test -f 'tcpsocket.C' || echo './'`tcpsocket.C
mv -f .deps/rcssmonitor-tcpsocket.Tpo .deps/rcssmonitor-tcpsocket.Po
g++  -g -O2  -L/usr/lib -o rcssmonitor rcssmonitor-2dview.o rcssmonitor-angle.o rcssmonitor-area2d.o rcssmonitor-coder.o rcssmonitor-conv.o rcssmonitor-display_x11.o rcssmonitor-frame2d.o rcssmonitor-rgbcolor.o rcssmonitor-structure.o rcssmonitor-vector2d.o rcssmonitor-visobject.o rcssmonitor-rgb_db.o rcssmonitor-smonitor_dev.o rcssmonitor-ascii_dev.o rcssmonitor-builder_direct.o rcssmonitor-ascii_processor.o rcssmonitor-menu_x11.o rcssmonitor-popup_x11.o rcssmonitor-tools.o rcssmonitor-conv_area2d.o rcssmonitor-valueparser.o rcssmonitor-str2val.o rcssmonitor-udpsocket.o rcssmonitor-tcpsocket.o -lXpm -lX11  -lm
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT angle.o -MD -MP -MF .deps/angle.Tpo -c -o angle.o angle.C
mv -f .deps/angle.Tpo .deps/angle.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT client2dview.o -MD -MP -MF .deps/client2dview.Tpo -c -o client2dview.o client2dview.C
mv -f .deps/client2dview.Tpo .deps/client2dview.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT coder.o -MD -MP -MF .deps/coder.Tpo -c -o coder.o coder.C
mv -f .deps/coder.Tpo .deps/coder.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT vector2d.o -MD -MP -MF .deps/vector2d.Tpo -c -o vector2d.o vector2d.C
mv -f .deps/vector2d.Tpo .deps/vector2d.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT udpsocket.o -MD -MP -MF .deps/udpsocket.Tpo -c -o udpsocket.o udpsocket.C
mv -f .deps/udpsocket.Tpo .deps/udpsocket.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT tcpsocket.o -MD -MP -MF .deps/tcpsocket.Tpo -c -o tcpsocket.o tcpsocket.C
mv -f .deps/tcpsocket.Tpo .deps/tcpsocket.Po
g++ -DHAVE_CONFIG_H -I. -I..   -I/usr/include -Wall   -g -O2 -MT valueparser.o -MD -MP -MF .deps/valueparser.Tpo -c -o valueparser.o valueparser.C
mv -f .deps/valueparser.Tpo .deps/valueparser.Po
g++ -Wall   -g -O2  -L/usr/lib -o client2dview angle.o client2dview.o coder.o vector2d.o udpsocket.o tcpsocket.o valueparser.o  -lm
make[2]: Leaving directory `/home/ali/Desktop/RoboCup/rcssmonitor-12.1.0/src'
make[2]: Entering directory `/home/ali/Desktop/RoboCup/rcssmonitor-12.1.0'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ali/Desktop/RoboCup/rcssmonitor-12.1.0'
make[1]: Leaving directory `/home/ali/Desktop/RoboCup/rcssmonitor-12.1.0'
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 15 مهر 1387، 07:40 ق‌ظ
آیا کسی نیست مرا یاری کند؟؟
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: محمدرضا بوذری در 15 مهر 1387، 01:51 ب‌ظ
من کلمه‌‌ی Error را در خروجی بالا مشاهده نکردم، به نظر می‌رسد که با موفقیت عملیات همگردانی به پایان رسیده و شما می‌توانید با دستور make install با اجازه‌ی کاربر ریشه آن‌را نصب کنید ...
اگر اتفاقی هم در زمان make install می‌افته بفرمایید ...
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 08:21 ب‌ظ
اینم قسمت‌هایی از خروجی make پر از error :

2dview.C:1422: error: ‘h’ was not declared in this scope
2dview.C:1422: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1422: error: ‘window’ is not a member of ‘WIN’
2dview.C:1422: error: ‘XGetWMHints’ was not declared in this scope
2dview.C:1423: error: expected `;' before ‘wm_hints’
2dview.C:1427: error: ‘wm_hints’ was not declared in this scope
2dview.C:1431: error: ‘icon_pixmap’ is not a member of ‘WIN’
2dview.C:1432: error: ‘icon_mask’ is not a member of ‘WIN’
2dview.C:1433: error: ‘IconPixmapHint’ was not declared in this scope
2dview.C:1433: error: ‘IconMaskHint’ was not declared in this scope
2dview.C:1434: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1434: error: ‘window’ is not a member of ‘WIN’
2dview.C:1434: error: ‘XSetWMHints’ was not declared in this scope
2dview.C:1438: error: ‘XFree’ was not declared in this scope
2dview.C:1447: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1447: error: ‘window’ is not a member of ‘WIN’
2dview.C:1447: error: ‘bt_gc’ is not a member of ‘WIN’
2dview.C:1457: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1457: error: ‘window’ is not a member of ‘WIN’
2dview.C:1457: error: ‘bt_gc’ is not a member of ‘WIN’
2dview.C:1477: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1477: error: ‘bg_gc’ is not a member of ‘WIN’
2dview.C:1544: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1544: error: ‘bg_gc’ is not a member of ‘WIN’
2dview.C:1623: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1623: error: ‘gc’ is not a member of ‘WIN’
2dview.C:1623: error: ‘XFreeGC’ was not declared in this scope
2dview.C:1624: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1624: error: ‘xor_gc’ is not a member of ‘WIN’
2dview.C:1625: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1625: error: ‘bg_gc’ is not a member of ‘WIN’
2dview.C:1626: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1626: error: ‘sl_gc’ is not a member of ‘WIN’
2dview.C:1627: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1627: error: ‘pixmap’ is not a member of ‘WIN’
2dview.C:1627: error: ‘XFreePixmap’ was not declared in this scope
2dview.C:1628: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1628: error: ‘icon_pixmap’ is not a member of ‘WIN’
2dview.C:1629: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1629: error: ‘icon_mask’ is not a member of ‘WIN’
2dview.C:1637: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1637: error: ‘window’ is not a member of ‘WIN’
2dview.C:1637: error: ‘XDestroyWindow’ was not declared in this scope
2dview.C:1638: error: ‘disp’ is not a member of ‘WIN’
2dview.C:1638: error: ‘XCloseDisplay’ was not declared in this scope
make[2]: *** [rcssmonitor-2dview.o] Error 1
make[2]: Leaving directory `/home/ali/Desktop/rcssmonitor-12.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ali/Desktop/rcssmonitor-12.1.0'
make: *** [all] Error 2
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 08:31 ب‌ظ
موقع configure کردن نمیگوید بسته ای را نصب کنید
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 09:20 ب‌ظ
این هم خروجی configure :
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for cos in -lm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for socklen_t... yes
checking whether gcc needs -traditional... no
checking for ANSI C header files... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for floor... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for rint... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strtol... yes
checking for boostlib >= 1.32.0... yes
checking for X... no
disabling x
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 09:33 ب‌ظ
من الان آنرا دانلود ونصب کردم مشکلی نداشت

عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 09:35 ب‌ظ
mehdi@mehdi-desktop:~/Desktop/rcssmonitor-11.1.0$ sudo make install
[sudo] password for mehdi:
Making install in src
make[1]: Entering directory `/home/mehdi/Desktop/rcssmonitor-11.1.0/src'
make[2]: Entering directory `/home/mehdi/Desktop/rcssmonitor-11.1.0/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
  /usr/bin/install -c 'rcssmonitor' '/usr/local/bin/rcssmonitor'
  /usr/bin/install -c 'client2dview' '/usr/local/bin/client2dview'
test -z "/usr/local/share/rcssmonitor" || /bin/mkdir -p "/usr/local/share/rcssmonitor"
 /usr/bin/install -c -m 644 'colors.fvd' '/usr/local/share/rcssmonitor/colors.fvd'
 /usr/bin/install -c -m 644 'field_robocup_middlesize.fvd' '/usr/local/share/rcssmonitor/field_robocup_middlesize.fvd'
 /usr/bin/install -c -m 644 'rcssmonitor.png' '/usr/local/share/rcssmonitor/rcssmonitor.png'
 /usr/bin/install -c -m 644 'rcssmonitor.xpm' '/usr/local/share/rcssmonitor/rcssmonitor.xpm'
make[2]: Leaving directory `/home/mehdi/Desktop/rcssmonitor-11.1.0/src'
make[1]: Leaving directory `/home/mehdi/Desktop/rcssmonitor-11.1.0/src'
make[1]: Entering directory `/home/mehdi/Desktop/rcssmonitor-11.1.0'
make[2]: Entering directory `/home/mehdi/Desktop/rcssmonitor-11.1.0'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/mehdi/Desktop/rcssmonitor-11.1.0'
make[1]: Leaving directory `/home/mehdi/Desktop/rcssmonitor-11.1.0'

مراحل نصب
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 09:38 ب‌ظ
اینم configure

mehdi@mehdi-desktop:~/Desktop/rcssmonitor-11.1.0$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for gawk... (cached) mawk
checking for cos in -lm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for stdlib.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for socklen_t... yes
checking whether gcc needs -traditional... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for floor... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for rint... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strtol... yes
checking for boostlib >= 1.32.0... yes
checking for X... libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XpmCreatePixmapFromData in -lXpm... yes
checking for sed... /bin/sed
configure: adding make macro support
configure: creating /home/mehdi/Desktop/rcssmonitor-11.1.0/include.mk
configure: adding custom dist support
configure: adding upload support
configure: setting upload command... `ncftpput -v upload.sourceforge.net /incoming %%s`
configure: adding upload support for gzip
configure: adding upload support for bzip2
configure: adding upload support for zip
configure: creating rpm spec file ./spec.tmpl
configure: adding install_files support
configure: adding rpm support
checking for rpmbuild... rpmbuild
checking for rpm... rpm
checking expansion of "%{_sourcedir}" in `rpm --showrc'... /usr/src/rpm/SOURCES
checking for directory /usr/src/rpm/SOURCES... yes
checking for rpm... (cached) rpm
checking expansion of "%{_rpmdir}" in `rpm --showrc'... /usr/src/rpm/RPMS
checking for directory /usr/src/rpm/RPMS... yes
checking for rpm... (cached) rpm
checking expansion of "%{_srcrpmdir}" in `rpm --showrc'... /usr/src/rpm/SRPMS
checking for directory /usr/src/rpm/SRPMS... yes
checking for rpm... (cached) rpm
checking expansion of "%{_target_platform}" in `rpm --showrc'... i386rpmlinux
configure: adding custom source dist srpm
configure: adding custom binary dist rpm
configure: adding upload support for srpm
configure: adding upload support for rpm
checking Major version... 11
checking Minor version... 1
checking Point version... 0
checking ANON_CVSROOT... :pserver:anonymous@cvs.sourceforge.net:/cvsroot/sserver
checking for cvs... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
mehdi@mehdi-desktop:~/Desktop/rcssmonitor-11.1.0$

عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 09:41 ب‌ظ
خوب مشکل من چه جوری حل می‌شه؟؟
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوک
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 09:50 ب‌ظ
(http://i38.tinypic.com/ilgm01.jpg)

همینه
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 09:53 ب‌ظ
:-؟
خوب می‌دونم همینه!!
مشکل من چه جوری حل میشه؟؟؟
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 09:55 ب‌ظ
configure من وخودت را مقایسه کن من هم دارم مقایسه میکنم ببینم مشکل از کجاست
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوک
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 10:05 ب‌ظ
libx11-dev روی سیستمت نصب است یا نه
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 10:21 ب‌ظ
نصب نبود
نصبش کردم ولی الان configure این خروجی رو داره:checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for cos in -lm... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/joystick.h usability... yes
checking linux/joystick.h presence... yes
checking for linux/joystick.h... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for socklen_t... yes
checking whether gcc needs -traditional... no
checking for ANSI C header files... (cached) yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for working strtod... yes
checking for floor... yes
checking for gethostbyname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for rint... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strtol... yes
checking for boostlib >= 1.32.0... yes
checking for X... libraries , headers
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XpmCreatePixmapFromData in -lXpm... no
configure: error: *** -lXpm not found! ***
make هم این خروجی رو: (البته قسمت‌های انتهاییش)
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
rcssmonitor.xpm:569: warning: deprecated conversion from string constant to ‘char*’
2dview.C: In function ‘int main(int, char**)’:
2dview.C:1421: error: ‘XpmCreatePixmapFromData’ was not declared in this scope
make[2]: *** [rcssmonitor-2dview.o] Error 1
make[2]: Leaving directory `/home/ali/Desktop/Robocup/rcssmonitor-12.1.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ali/Desktop/Robocup/rcssmonitor-12.1.0'
make: *** [all] Error 2
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 10:23 ب‌ظ
sudo apt-get install libxpm-devتوی ترمینال بزن
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 10:43 ب‌ظ
آقا مهدی ممنون مشکل rcssmonitor حل شد / اما الان rcssserver یه چیزی تو همین مایه ها مشکل داره
یعنی یه سری بسته هاش نصب نیست
الان من چه جوری باید بفهمم کدوم بسته ها نصب نیست
این خروجیه configure کردن rcssserver هست:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... (cached) gawk
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... no
checking whether pthreads work with -Kthread... no
checking whether pthreads work with -kthread... no
checking for the pthreads library -llthread... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for cos in -lm... yes
checking for deflate in -lz... no
checking whether the compiler implements namespaces... yes
checking whether the compiler has stringstream... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for ANSI C header files... (cached) yes
checking for inttypes.h... (cached) yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for libintl.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking winsock2.h usability... no
checking winsock2.h presence... no
checking for winsock2.h... no
checking for memset... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for pid_t... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking return type of signal handlers... void
checking for strftime... yes
checking for floor... yes
checking for gettimeofday... yes
checking for memset... (cached) yes
checking for mkdir... yes
checking for pow... yes
checking for rint... yes
checking for sqrt... yes
checking for strdup... yes
checking for strerror... yes
checking for flex... ./missingflex
checking for bison... no
checking for byacc... no
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognize dependent libraries... pass_all
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
/home/ali/Desktop/rcssserver-12.1.4
checking for boostlib >= 1.32.0... yes
checking whether the Boost::Filesystem library is available... yes
checking for exit in -lboost_filesystem-gcc41-1_34_1... no
checking for exit in -lboost_filesystem-gcc41-mt-1_34_1... no
checking for exit in -lboost_filesystem-gcc42-1_34_1... yes
checking for main in -lrcssnet... yes
checking for main in -lrcsslib... yes
checking for main in -lrcssconfparser... yes
checking for main in -lrcssgz... yes
checking for main in -lrcssbase... yes
checking for rcsslibimporter... rcsslibimporter
checking for rcssmodtest... rcssmodtest
checking for initscr in -lncurses... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/rcsoccersim
config.status: creating config.h
config.status: executing depfiles commands
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Lucid Lynx در 06 آبان 1387، 10:53 ب‌ظ
libncurses5-dev نصب نیست
build-essential اگر نصب نیست را نصب کن
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: علی ایرانی در 06 آبان 1387، 11:46 ب‌ظ
بازم ممنون آقا مهدی
وقتی میخواهم rcssserver اجرا کنم ارورر زیر رو میده:
rcssserver: error while loading shared libraries: librcssclangparser.so.2: cannot open shared object file: No such file or directory
عنوان: پاسخ به: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: lomion در 07 آبان 1387، 09:43 ق‌ظ
فکر کنم libxpm4 و یا libxpm-dev ر باید نصب داشته باشید که بعد configure خطا نده و بشه نصب کرد.
عنوان: پاسخ : اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: faraday در 15 آبان 1392، 05:45 ب‌ظ
سلام
میدونم این تاپیک خاک گرفته ولی خب منم همین داستانو دارم
پست ها رو خوندم و مشکلم حل نشد
rcssmonitor رو نمیتونم نصب کنم
خروجی:

/usr/bin/ld: cannot find -laudio
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lpng
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lSM
/usr/bin/ld: cannot find -lICE
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lXrender
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: cannot find -lfontconfig
collect2: error: ld returned 1 exit status

حل شد با این گفتم دیگه پست ندم

http://www.linuxquestions.org/questions/ubuntu-63/usr-bin-ld-cannot-find-*-4175419164/ (http://www.linuxquestions.org/questions/ubuntu-63/usr-bin-ld-cannot-find-*-4175419164/)
عنوان: پاسخ : اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Rezwan.Derakhshan در 16 آبان 1392، 08:26 ب‌ظ
سلام
میدونم این تاپیک خاک گرفته ولی خب منم همین داستانو دارم
پست ها رو خوندم و مشکلم حل نشد
rcssmonitor رو نمیتونم نصب کنم
خروجی:

/usr/bin/ld: cannot find -laudio
/usr/bin/ld: cannot find -lXt
/usr/bin/ld: cannot find -lpng
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lSM
/usr/bin/ld: cannot find -lICE
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lXrender
/usr/bin/ld: cannot find -lfreetype
/usr/bin/ld: cannot find -lfontconfig
collect2: error: ld returned 1 exit status

حل شد با این گفتم دیگه پست ندم

http://www.linuxquestions.org/questions/ubuntu-63/usr-bin-ld-cannot-find-*-4175419164/ (http://www.linuxquestions.org/questions/ubuntu-63/usr-bin-ld-cannot-find-*-4175419164/)
سلام،

به جای این که دونه دونه بسته های پیش نیاز رو نصب کنی و بعد بری server و monitor و logplayer رو نصب کنی، می تونی مخزن rubuntu (https://launchpad.net/~gnurubuntu/+archive/rubuntu) رو به مخازن اوبونتو اضافه کنی و بعد با یه دستور همه ی بسته های مورد نیاز + server و monitor و logplayer رو نصب کنی:
# add-apt-repository ppa:gnurubuntu/rubuntu

# apt-get update

و در آخر هم با این دستور همه چی نصب می شه:

# apt-get install rcsoccersim   
 

بعد از تموم شدن نصب هم می تونی با دستور:
rcsoccersim

server + monitor رو راه اندازی کنی، برای logplayer هم اسم شو بنویس.

در ضمن کلا برای نصب و راه اندازی server و ... فدورا بهتره و دردسرش نسبت به اوبونتو کمتر، چون موقع نصب فدورا می تونی انتخاب کنی که یه سری بسته های مربوط به ربوکاپ رو برات نصب کنه،

بعد از نصب فدورا کافیه فقط بزنی rcsoccersim رو نصب کنه، و دیگه دردسرای اوبونتو رو نداره، به همین خاطر تو اکثر مسابقات هم از فدورا استفاده می کنن.

امیدوارم موفق باشید(ما که بعد ۳ سال کار ناکام موندیم و کلاس مون به خاطر جمعیت کم منحل شد! لااقل شما این طوری نشید!).
عنوان: پاسخ : اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: faraday در 16 آبان 1392، 11:31 ب‌ظ
کاش به همین راحتی بود Rezwan.Derakhshan  :D
اون ریپازیتوری برا اوبونتو 12 هست من 13.04 داشتم برا همین 12 نصب کردم رو 13.04 واقعن دیدم راه نداره!!
الانم رو 12 صد تا ایرور دارم برا نصب
 :(
عنوان: پاسخ : اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ
ارسال شده توسط: Rezwan.Derakhshan در 16 آبان 1392، 11:56 ب‌ظ
کاش به همین راحتی بود Rezwan.Derakhshan  :D
اون ریپازیتوری برا اوبونتو 12 هست من 13.04 داشتم برا همین 12 نصب کردم رو 13.04 واقعن دیدم راه نداره!!
الانم رو 12 صد تا ایرور دارم برا نصب
 :(

من رو 11.04 و 11.10 و 12.04 همین طوری نصبش کردم، الانم که آپگرید کردم به 12.10 نصبه تا ۳-۲ هفته ی دیگه هم میرم رو 13.04 تا اونم امتحان کنم.

چه خطایی؟ مگه نمی گی اومدی رو 12.04؟ فقط قراره یه مخزن اضافه کنی و بعد از آپدیت، دستور نصب رو بزنی.

اگر می خوای تک تک نصب شون کنی احتمالا نمی شه یا سخت می شه و خلاصه اذیتت می کنه، من تو 11.10 تونستم server رو از رو کدش کامپایل و نصب کنم ولی monitor رو نتونستم، از استادامونم که پرسیدم گفتن از 11.04 به بعد اگه بخواین دستی نصب کنید به مشکل می خورین.

در ضمن به انجمن ربوکاپی ها (http://robocuppers.ir/forum/forum.php) یا ربوکاپ ایران (http://www.forum.iranrcss.com/forum.php) هم سر بزنی بد نیست، بچه های اون جا بیش تر می تونن کمکت کنن.