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

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۵٫۰۴ اوبونتو منتشر شد 🎉

نویسنده موضوع: اشکال در نصب یک برنامه [rcssmonitor] برای روبوکاپ  (دفعات بازدید: 7247 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین Lucid Lynx

  • Sr. Member
  • *
  • ارسال: 295
  • جنسیت : پسر
  • ONLY FREEDOM
sudo apt-get install libxpm-devتوی ترمینال بزن

آفلاین علی ایرانی

  • Full Member
  • *
  • ارسال: 107
  • جنسیت : پسر
    • پی‌سی دیزاین
آقا مهدی ممنون مشکل 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
خدایا! عقیده‌ام را با عقده‌ام یکی مساز

آفلاین Lucid Lynx

  • Sr. Member
  • *
  • ارسال: 295
  • جنسیت : پسر
  • ONLY FREEDOM
libncurses5-dev نصب نیست
build-essential اگر نصب نیست را نصب کن

آفلاین علی ایرانی

  • Full Member
  • *
  • ارسال: 107
  • جنسیت : پسر
    • پی‌سی دیزاین
بازم ممنون آقا مهدی
وقتی میخواهم rcssserver اجرا کنم ارورر زیر رو میده:
rcssserver: error while loading shared libraries: librcssclangparser.so.2: cannot open shared object file: No such file or directory
خدایا! عقیده‌ام را با عقده‌ام یکی مساز

lomion

  • مهمان
فکر کنم libxpm4 و یا libxpm-dev ر باید نصب داشته باشید که بعد configure خطا نده و بشه نصب کرد.

آفلاین faraday

  • Jr. Member
  • *
  • ارسال: 34
  • جنسیت : دختر
سلام
میدونم این تاپیک خاک گرفته ولی خب منم همین داستانو دارم
پست ها رو خوندم و مشکلم حل نشد
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/
« آخرین ویرایش: 15 آبان 1392، 06:36 ب‌ظ توسط faraday »

آفلاین Rezwan.Derakhshan

  • Jr. Member
  • *
  • ارسال: 93
  • جنسیت : دختر
سلام
میدونم این تاپیک خاک گرفته ولی خب منم همین داستانو دارم
پست ها رو خوندم و مشکلم حل نشد
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/
سلام،

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

# apt-get update

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

# apt-get install rcsoccersim   
 

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

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

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

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

امیدوارم موفق باشید(ما که بعد ۳ سال کار ناکام موندیم و کلاس مون به خاطر جمعیت کم منحل شد! لااقل شما این طوری نشید!).
« آخرین ویرایش: 16 آبان 1392، 08:33 ب‌ظ توسط Rezwan.Derakhshan »

آفلاین faraday

  • Jr. Member
  • *
  • ارسال: 34
  • جنسیت : دختر
کاش به همین راحتی بود Rezwan.Derakhshan  :D
اون ریپازیتوری برا اوبونتو 12 هست من 13.04 داشتم برا همین 12 نصب کردم رو 13.04 واقعن دیدم راه نداره!!
الانم رو 12 صد تا ایرور دارم برا نصب
 :(

آفلاین Rezwan.Derakhshan

  • Jr. Member
  • *
  • ارسال: 93
  • جنسیت : دختر
کاش به همین راحتی بود 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 به بعد اگه بخواین دستی نصب کنید به مشکل می خورین.

در ضمن به انجمن ربوکاپی ها یا ربوکاپ ایران هم سر بزنی بد نیست، بچه های اون جا بیش تر می تونن کمکت کنن.