|
- localhost ~ # emerge dev-lang/python
- ...
- ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --with-fpectl --enable-shared --disable-ipv6 --infodir=${prefix}/share/info --mandir=${prefix}/share/man --with-threads --with-libc= --enable-unicode=ucs4
- checking MACHDEP... linux2
- checking EXTRAPLATDIR...
- checking for --without-gcc... no
- checking for --with-cxx=<compiler>... no
- checking for c++... c++
- checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
- See `config.log' for more details.
复制代码
emerge其他软件都没问题,只有python始终出错,怎么办?谢谢!
- localhost ~ # emerge info
- Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r6 i686)
- =================================================================
- System uname: 2.6.12-gentoo-r6 i686 Celeron (Coppermine)
- Gentoo Base System version 1.6.13
- ccache version 2.3 [enabled]
- dev-lang/python: 2.3.5
- sys-apps/sandbox: 1.2.11
- sys-devel/autoconf: 2.13, 2.59-r6
- sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
- sys-devel/binutils: 2.15.92.0.2-r10
- sys-devel/libtool: 1.5.18-r1
- virtual/os-headers: 2.6.11-r2
- ACCEPT_KEYWORDS="x86"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-O2 -march=pentium3 -pipe -mmmx -msse -fomit-frame-pointer -mfpmath=sse"CHOST="i686-pc-linux-gnu"
- CXXFLAGS="-O2 -march=pentium3 -pipe -mmmx -msse -fomit-frame-pointer -mfpmath=sse -fvisibility-inlines-hidden"
- FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
- LANG="zh_CN.UTF-8"
- LDFLAGS="-Wl,-O1"
- LINGUAS="zh_CN"
- USE="X aac acpi alsa apache2 avi bash-completion berkdb bitmap-fonts cjk crypt curl divx4linux emboss encode fam foomaticdb fortran gd gd-external gdbm gif gnome gstreamer gtk gtk2 imagemagick imlib jpeg libg++ libwww live mad mikmod mmx motif mp3 mpeg msn mysql ncurses nls nocardbus nptl nptlonly nvidia ogg oggvorbis opengl pam perl php png python quicktime readline real sdl slang spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb vcd vim-with-x vorbis win32codecs x86 xine xml xml2 xv xvid zlib linguas_zh_CN userland_GNU kernel_linux elibc_glibc"
复制代码 |
|