I am having trouble with GCC. Not sure what I have done but for some reason the GCC that is installed wont run. I have tried to update it with entropy and that 'worked' but then after updating the compiler it still hasnt worked. Tried a few things and looked online and nothing seems to happen.
what GCC i have installed
- Code: Select all
 x86_64-pc-linux-gnu-4.3.2 *
I have tried with 4.2.4, but that throws an error about not having a $PATH, and 4.3.2 gives me an error about not being able to compile the code 'configure: error: C compiler cannot create executables'
I can include the config.log, havent to keep the post small.
This is what is thrown up when i tried to emerge pidgin-facebookchat
- Code: Select all
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: in `/var/tmp/portage/dev-libs/json-glib-0.7.6/work/json-glib-0.7.6':
configure: error: C compiler cannot create executables
See `config.log' for more details.
!!! Please attach the following file when seeking support:
* ERROR: dev-libs/json-glib-0.7.6 failed:
* econf failed
* Call stack:
* ebuild.sh, line 49: Called src_configure
* environment, line 2902: Called gnome2_src_configure
* environment, line 2266: Called econf '--disable-gtk-doc'
* ebuild.sh, line 545: Called die
* The specific snippet of code:
* die "econf failed"
* If you need support, post the output of 'emerge --info =dev-libs/json-glib-0.7.6',
* the complete build log and the output of 'emerge -pqv =dev-libs/json-glib-0.7.6'.
* The complete build log is located at '/var/lib/entropy/logs/dev-libs:json-glib-0.7.6:20091028-112206.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/json-glib-0.7.6/temp/environment'.
* S: '/var/tmp/portage/dev-libs/json-glib-0.7.6/work/json-glib-0.7.6'
>>> Failed to emerge dev-libs/json-glib-0.7.6, Log file: