Good for you!port001 wrote:fixed it
Code: Select all
export CFLAGS="blah blah"Thank you!port001 wrote:sure
I had exported my CFLAGS wrong somehow.. you need to make sure its the correct syntax
Code: Select all
export CFLAGS="blah blah"


Same problem after an emerge prune.rjenks wrote:I had a similar problem when doing an upgrade via "emerge -u portage".
Code: Select all
# gcc-configCode: Select all
# gcc-config 1Code: Select all
# source /etc/profile

Hey, thanks a lot!neiras wrote:[...]. Before trying any of the solutions above, try doing:
Code: Select all
# gcc-config



OK, I will add it to my list...sf_alpha wrote:try 'unset GCC_SPEC' or something (I didn't remember) It cause gcc not work correctly after switched to new gcc
try export to see that environment variable.
Code: Select all
/sbin/fix_libtool_files.sh 3.4.2Code: Select all
/sbin/fix_libtool_files.sh 3.3.4Code: Select all
ln -s /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.3 /usr/lib/gcc-lib/i686-pc-linux-gnu/3.4.2Code: Select all
checking whether the C++ compiler (g++ -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -L/usr/lib -ldb-4.1 -ltiff -L/usr/lib -Wl,-rpath,/opt/sun-jdk-1.4.2.06/jre/lib/i386/server -L/opt/sun-jdk-1.4.2.06/jre/lib/i386/server -Wl,-rpath,/opt/sun-jdk-1.4.2.06/jre/lib/i386/native_threads -L/opt/sun-jdk-1.4.2.06/jre/lib/i386/native_threads -Wl,-rpath,/opt/sun-jdk-1.4.2.06/jre/lib/i386 -L/opt/sun-jdk-1.4.2.06/jre/lib/i386 -Wl,-rpath,/usr/qt/3/lib -L/usr/qt/3/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.
!!! ERROR: dev-php/mod_php-4.3.9 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
Code: Select all
#gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Hardened Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)
Code: Select all
# gcc-config -l
[1] i686-pc-linux-gnu-3.3.4 *

From one such user - thanks a lot to port001 for posting the fix and ebrostig for nudging him to post the fix!ebrostig wrote:Thank you!port001 wrote:I had exported my CFLAGS wrong somehow.. you need to make sure its the correct syntax
Now others who see the same issue and searches the forums, will be able to fix it themselves.

I've exactly the same problem ... this isn't my first install of gentoo linux either, and the most strange is that a couple of days ago I installed gentoo on my laptop and I had no problems... If anyone nows how to fix this problem... just post here plz !!!!Dragonlord wrote:similar problem here... but during bootstrapping process.
using the livecd and aa current stage1 image i can get till bootstrapping but just after launching it the entire thing breakes with an error (i can't post from that pc so i need to somehow describe what it is).
the thing tells me that 'gcc can not create executables' and this happens in the gettext package, the first package compiled (furst is linux headers but they are just unpacked).
i looked through the posts and all but have no idea what can happen. i also reformatted and tried all but to no avail. i installed gentoo a couple of times thus it's not a noobie problem. it must be something with the latest 2004.3 image (as i think the last one i did was with the 2004.2 image).
is this a confirmed problem or am i shitty unlucky?
Problem fixed ...KayoPs wrote:I've exactly the same problem ... this isn't my first install of gentoo linux either, and the most strange is that a couple of days ago I installed gentoo on my laptop and I had no problems... If anyone nows how to fix this problem... just post here plz !!!!Dragonlord wrote:similar problem here... but during bootstrapping process.
using the livecd and aa current stage1 image i can get till bootstrapping but just after launching it the entire thing breakes with an error (i can't post from that pc so i need to somehow describe what it is).
the thing tells me that 'gcc can not create executables' and this happens in the gettext package, the first package compiled (furst is linux headers but they are just unpacked).
i looked through the posts and all but have no idea what can happen. i also reformatted and tried all but to no avail. i installed gentoo a couple of times thus it's not a noobie problem. it must be something with the latest 2004.3 image (as i think the last one i did was with the 2004.2 image).
is this a confirmed problem or am i shitty unlucky?