|
|
全新安装gentoo,先安装了gcc-4.3.0,然后emerge -upDN world,然后emerge xorg-x11,然后emerge gnome-light的过程中,安装到pygobject的时候出现错误,无法继续。
信息如下:
Calculating dependencies ... done!
>>> Verifying ebuild Manifests...
>>> starting parallel fetching pid 25880
>>> Emerging (1 of 62) dev-python/pygobject-2.14.1 to /
* pygobject-2.14.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking pygobject-2.14.1.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pygobject-2.14.1.tar.bz2 to /var/tmp/portage/dev-python/pygobject-2.14.1/work
* Fixing OMF Makefiles ...
[ ok ]
* Running elibtoolize in: pygobject-2.14.1
* Applying install-sh-1.5.4.patch ...
* Applying portage-1.5.10.patch ...
* Applying sed-1.5.6.patch ...
* Applying pygobject-2.14.0-libffi-magic.patch ...
[ ok ]
* Running eautoreconf in '/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1' ...
* Running aclocal -I . ...
[ ok ]
* Running libtoolize --copy --force --install --automake ...
[ ok ]
* Running aclocal -I . ...
[ ok ]
* Running autoconf ...
[ ok ]
* Running autoheader ...
[ ok ]
* Running automake --add-missing --copy ...
[ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1 ...
* econf: updating pygobject-2.14.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating pygobject-2.14.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-docs --without-libffi --disable-gtk-doc --build=i686-pc-linux-gnu
configure: WARNING: Unrecognized options: --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for some Win32 platform... no
checking for native Win32... no
checking for style of include used by make... GNU
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-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 i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/i686-pc-linux-gnu/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 recognize dependent libraries... pass_all
checking how to run the C preprocessor... i686-pc-linux-gnu-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 the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if i686-pc-linux-gnu-gcc static flag -static works... yes
checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/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... no
configure: creating libtool
checking for a Python interpreter with version >= 2.3.5... python
checking for python... /usr/bin/python
checking for python version... 2.5
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.5/site-packages
checking for python extension module directory... ${exec_prefix}/lib/python2.5/site-packages
checking for headers required to compile python extensions... found
checking for PySignal_SetWakeupFd in Python.h... yes
checking for python module thread... yes
checking whether to enable threading in pygobject... yes
./libtool: line 463: CDPATH: command not found
checking for i686-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.8.0... yes (version 2.16.3)
checking for ffi.h... disabled
checking whether i686-pc-linux-gnu-gcc understands -Wall... yes
checking whether i686-pc-linux-gnu-gcc understands -fno-strict-aliasing... yes
checking whether i686-pc-linux-gnu-gcc understands -std=c9x... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pygobject-2.0.pc
config.status: creating pygobject-2.0-uninstalled.pc
config.status: creating docs/Makefile
config.status: creating docs/reference/entities.docbook
config.status: creating docs/xsl/fixxref.py
config.status: creating gobject/Makefile
config.status: creating examples/Makefile
config.status: creating tests/Makefile
config.status: creating PKG-INFO
config.status: creating config.h
config.status: executing depfiles commands
configure: WARNING: Unrecognized options: --disable-gtk-doc
libffi support: disabled
cd . && /bin/sh /var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/missing --run autoheader
autoheader-2.62: cannot create `pwd`/pygobject-2.14.1/ah9333.28979: No such file or directory
at /usr/bin/autoheader-2.62 line 129
WARNING: `autoheader' is missing on your system. You should only need it if
you modified `acconfig.h' or `configure.ac'. You might want
to install the `Autoconf' and `GNU m4' packages. Grab them
from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1'
Making all in docs
make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/docs'
make all-am
make[3]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/docs'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/docs'
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/docs'
Making all in gobject
make[2]: Entering directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/gobject'
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPY_SSIZE_T_CLEAN -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -O2 -pipe -fomit-frame-pointer -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la-gobjectmodule.lo -MD -MP -MF ".deps/_gobject_la-gobjectmodule.Tpo" -c -o _gobject_la-gobjectmodule.lo `test -f 'gobjectmodule.c' || echo './'`gobjectmodule.c; \
then mv -f ".deps/_gobject_la-gobjectmodule.Tpo" ".deps/_gobject_la-gobjectmodule.Plo"; else rm -f ".deps/_gobject_la-gobjectmodule.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.5 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPY_SSIZE_T_CLEAN -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=i686 -O2 -pipe -fomit-frame-pointer -Wall -fno-strict-aliasing -std=c9x -MT _gobject_la-pygboxed.lo -MD -MP -MF ".deps/_gobject_la-pygboxed.Tpo" -c -o _gobject_la-pygboxed.lo `test -f 'pygboxed.c' || echo './'`pygboxed.c; \
then mv -f ".deps/_gobject_la-pygboxed.Tpo" ".deps/_gobject_la-pygboxed.Plo"; else rm -f ".deps/_gobject_la-pygboxed.Tpo"; exit 1; fi
../libtool: line 463: CDPATH: command not found
../libtool: line 463: CDPATH: command not found
../libtool: line 1148: func_opt_split: command not found
../libtool: line 1148: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
libtool: Version mismatch error. This is libtool 2.2.4, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.4
libtool: and run autoconf again.
make[2]: *** [_gobject_la-gobjectmodule.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [_gobject_la-pygboxed.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1/gobject'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-python/pygobject-2.14.1/work/pygobject-2.14.1'
make: *** [all] Error 2
*
* ERROR: dev-python/pygobject-2.14.1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 2922: Called gnome2_src_compile
* environment, line 2198: Called die
* The specific snippet of code:
* emake || die "compile failure"
* The die message:
* compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-python/pygobject-2.14.1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-python/pygobject-2.14.1/temp/environment'.
我用的profile是2008beta2默认的,我的make.conf如下:
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /etc/make.conf.example for a more detailed example.
# CFLAGS="-O2 -march=i686 -pipe"
# CXXFLAGS="${CFLAGS}"
# This should not be changed unless you know exactly what you are doing. You
# should probably be using a different stage, instead.
# CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
ACCEPT_KEYWORDS="~x86"
FEATURES="ccache parallel-fetch"
CCACHE_SIZE="2G"
CCACHE_DIR="/var/tmp/ccache"
ALSA_CARDS="intel8x0"
VIDEO_CARDS="i810"
LINGUAS="zh_CN"
INPUT_DEVICES="keyboard mouse"
# CONFIG_PROTECT="-*"
USE="X gtk gnome gif alsa midi -cups -evo -ldap -ipv6 -gstreamer -ieee1394 -xine -joystick -pcmcia -wifi -doc -bluetooth -apm -cdr -dvd -dvdr -dvdread -ppds -tiff -pam "
GENTOO_MIRRORS="http://61.135.158.199"
SYNC="rsync://61.135.158.199/gentoo-portage"
# GENTOO_MIRRORS="http://adelie.polymtl.ca"
# SYNC="rsync://rsync.gentoo.org/gentoo-portage"
# source /usr/portage/local/layman/make.conf
查了很久google也没找到原因,请大家帮忙看看 |
|