انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: HamidTB در 16 امرداد 1387، 09:16 بظ
-
سلام
من چندین دفعه خواستم بسته های .tar.bz2 رو نصب کنم که با خطای زیر برخورد می کنم
hamid@hamid-desktop:~/Desktop/dictconv-0.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
علت چیه ؟ چه جوری رفعش کنم ؟
-
شما کامپایلر ++C رو ندارید.
sudo apt-get install g++
;)
-
کسری جون سلام
ولی یه سوال
شما بالا گفتید C++ رو نصب کنم ول پایین دستور نصب g++ رو دادید ؟؟؟ ::)
در ضمن
hamid@hamid-desktop:~$ sudo apt-get install c++
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package c
-
فکر کنم منظور آقا کسری gcc هست.
sudo apt-get install gcc
-
فکر کنم منظور آقا کسری gcc هست.
sudo apt-get install gcc
سلام فرشید
خطا همچنان باقی است
hamid@hamid-desktop:~/Desktop/dictconv-0.2$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
-
این بسته ای که می خوای نصب کنی توی مخازن هست ...
sudo apt-get install dictconv
برای کامپایل هم به نظر من :
sudo apt-get install build-essential
-
سلام
این بسته ای که می خوای نصب کنی توی مخازن هست ...
sudo apt-get install dictconv
بهنام من که توی مخازن نمیتونم پیداش کنم
از بابت کامپایلر ها هم ممنون ولی
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
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 g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 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 f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... 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... 32768
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 if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
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
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for xml2-config... no
checking for libxml - version >= 2.5.0... no
*** The xml2-config script installed by LIBXML could not be found
*** If libxml was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XML2_CONFIG environment variable to the
*** full path to xml2-config.
configure: error: You must have libxml2 >= 2.5.0 installed
libxml2 هم رو نصب کردم ولی بازم گیر میده
-
از اینجا بگیر : http://packages.ubuntu.com/intrepid/dictconv
بسته dictzip هم همونجا هست : http://packages.ubuntu.com/intrepid/dictzip
-
libxml2 هم رو نصب کردم ولی بازم گیر میده
برای نصب از روی سورس، پکیجهای پیشنیاز هم باید سورسشون نصب باشه. پس libxml2-dev رو هم باید نصب کنید.
-
libxml2 هم رو نصب کردم ولی بازم گیر میده
برای نصب از روی سورس، پکیجهای پیشنیاز هم باید سورسشون نصب باشه. پس libxml2-dev رو هم باید نصب کنید.
مشکل همچنان باقی است
-
مشکل همچنان باقی است
یعنی libxml2-dev رو نصب کردید، اما بازم به libxml2 ارور میده؟!! یا ارورش چیز دیگهای هست؟ (نمیتونستید بیشتر توضیح بدید؟!)
-
مشکل همچنان باقی است
(نمیتونستید بیشتر توضیح بدید؟!)
ilius سلام
خوب چرا ناراحت میشی باشه معذرت میخوام
دفعه پیش که بررسی کردم خطا وجود داشت ولی العان که رفتم تا خطا رو ببینم خطایی وجود نداشت ؟؟؟؟؟؟؟؟؟؟
-
سلام
خواهش میکنم.
یعنی دستور make رو زدید و کامپایل کرد دیگه؟ بعدش هم که make install برای نصب. خوشحالم که حل شد.
-
دوستان من نمیدونم اصلا چجوری یه بسته رو که دانلود کردم نصب کنم!!
میشه راهنمایی کنید
یه فایل بازی با نام wormux-0.8.2-static-x86.tbz2
دانلود کردم اما نمیدونم برا نصبش چه دستوری استفاده کنم!!