Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configuration problem: C compiler cannot create executables
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Aug 02, 2003 6:24 pm    Post subject: configuration problem: C compiler cannot create executables Reply with quote

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
View user's profile Send private message
()
l33t
l33t


Joined: 25 Nov 2002
Posts: 610

PostPosted: Sat Aug 02, 2003 6:34 pm    Post subject: Reply with quote

Too aggressive CFLAGS?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Aug 02, 2003 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Aug 02, 2003 6:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Sat Aug 02, 2003 8:03 pm    Post subject: Reply with quote

Can you get other things to emerge?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Aug 02, 2003 8:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
patrickfo
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jun 2002
Posts: 79
Location: France

PostPosted: Sun Aug 03, 2003 12:00 pm    Post subject: same pb too but... Reply with quote

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
View user's profile Send private message
cerri
Bodhisattva
Bodhisattva


Joined: 05 Mar 2003
Posts: 2957
Location: # init S

PostPosted: Sun Aug 03, 2003 12:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum