On 28 February 2007, Bo Ørsted Andresen wrote: > On Wednesday 28 February 2007 07:19:10 Uwe Thiem wrote: > > > Are you sure there isn't a second entry setting CXXFLAGS=O3? Or perhaps > > > in your env? > > > > > > # grep CXXFLAGS /etc/make.conf > > > # env | grep CXXFLAGS > > > > [EMAIL PROTECTED] ~ $ grep CXX /etc/make.conf > > CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" > > > > [EMAIL PROTECTED] ~ $ env | grep CXX > > CXXFLAGS=-O3 -march=pentium4 -mcpu=pentium4 > > > > So where does the dash get lost? Weird. > > So it is set in your env. To something different than in your make.conf. > While this still doesn't explain how it got set to O3 it does seem to > suggest that somehow you're polluting your env... I suggest you figure out > where it gets set or make sure that it doesn't anymore. > > You've pasted an emerge --info where it was set to O3 which matches the > error message in config.log. So once you've figured out to have emerge > --info report something sensible you should be able to emerge it...
I now did it as root which has no CXXFLAGS settings: uwix ~ # env | grep CXX uwix ~ # emerge --info is still the same. Unfortunately, there is still an error: make[3]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix' /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-gcc -c -I. -I../../././bdb/dist/.. -I../../././bdb/dist/../dbinc -D_GNU_SOURCE -D_REENTRANT -DDBUG_OFF -O3 -march=pentium4 -fomit-frame-pointer -pipe -DHAVE_ERRNO_AS_DEFINE=1 ../../././bdb/dist/../mutex/mut_pthread.c ./libtool: line 323: s,^.*/,,g: No such file or directory ./libtool: line 730: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1041: -e: command not found ./libtool: line 1069: -e: command not found ./libtool: line 1093: -e: command not found : compile: cannot determine name of library object from `' make[3]: *** [mut_pthread.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb/build_unix' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql/bdb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.32/work/mysql' make: *** [all] Error 2 This suggests some issue with libtool. No error in config.log. Uwe -- A fast and easy generator of fractals for KDE: http://www.SysEx.com.na/iwy-1.0.tar.bz2 Proof of concept of a TSP solver for KDE: http://www.SysEx.com.na/epat-0.1.tar.bz2 -- gentoo-user@gentoo.org mailing list