View previous topic :: View next topic |
Author |
Message |
xlyz Veteran
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sat Aug 02, 2003 6:24 pm Post subject: configuration problem: C compiler cannot create executables |
|
|
I cannot emerge rox
it aborts while configuring
Code: | checking that pkg-config runs... yes
checking that gtk+-2.0 (version >= 2.0.1) is installed... yes
checking that glib-2.0 (version >= 2.0.3) is installed... yes
checking that libxml-2.0 (version >= 2.0.0) is installed... yes
checking if pango (version >= 1.1.2) is installed... yes; enabling better wrapping
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -march=pentium4 -O3 -pipe -Wall -Wmissing-prototypes -I/usr/X11R6/include -D_FILE_OFFSET_BITS=64 `pkg-config --cflags gtk+-2.0 libxml-2.0` ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** [config.status] Error 1
Compile failed
Press Return...
|
any suggestion? |
|
Back to top |
|
|
() l33t
Joined: 25 Nov 2002 Posts: 610
|
Posted: Sat Aug 02, 2003 6:34 pm Post subject: |
|
|
Too aggressive CFLAGS? |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Aug 02, 2003 6:37 pm Post subject: |
|
|
what is the output of
Code: |
pkg-config --cflags gtk+-2.0 libxml-2.0
|
? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
xlyz Veteran
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sat Aug 02, 2003 6:45 pm Post subject: |
|
|
Bloody Bastard wrote: | what is the output of
Code: |
pkg-config --cflags gtk+-2.0 libxml-2.0
|
? |
Code: | -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 |
btw I tried also with lower CFLAGS, but result has been the same |
|
Back to top |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Sat Aug 02, 2003 8:03 pm Post subject: |
|
|
Can you get other things to emerge? _________________ "I'm just very selective about the reality I choose to accept." -- Calvin |
|
Back to top |
|
|
xlyz Veteran
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sat Aug 02, 2003 8:19 pm Post subject: |
|
|
I energed gaim, mozillafirebird, beaver
btw if I go in /var/tmp/portage/rox-2.0.0/image/usr/share/ROX-Filer
and run AppRun --compile the configuration complete with no error |
|
Back to top |
|
|
patrickfo Tux's lil' helper
Joined: 30 Jun 2002 Posts: 79 Location: France
|
Posted: Sun Aug 03, 2003 12:00 pm Post subject: same pb too but... |
|
|
i don't know if this may help you but i use distcc and for some ( i don't remind which... ) i need to disable distcc to avoid this pb...
good luck anyway |
|
Back to top |
|
|
cerri Bodhisattva
Joined: 05 Mar 2003 Posts: 2957 Location: # init S
|
Posted: Sun Aug 03, 2003 12:59 pm Post subject: |
|
|
Must not use " ' " because that test was called by:
Code: | configure:ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
and pkg-config " ' " breaks configure ones. _________________ Enjoy your freedom.
Sex is like hacking. You get in, you get out, and you hope you didnt leave something behind that can be traced back to you.
<----------------------->
Andrea Cerrito |
|
Back to top |
|
|
|