Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge apache fails to version apache-2.0.59-r5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
semen
n00b
n00b


Joined: 02 Jan 2005
Posts: 29

PostPosted: Sun Sep 02, 2007 5:07 pm    Post subject: [solved] emerge apache fails to version apache-2.0.59-r5 Reply with quote

did get emerge errors on trying to update apche2

Code:


Configuring Apache Portable Runtime Utility library...

checking for APR-util... yes
  adding "-L/usr/lib" to LDFLAGS
checking for i586-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.

!!! ERROR: www-servers/apache-2.0.59-r5 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  apache-2.0.59-r5.ebuild, line 179:   Called die



# emerge -pv apache

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild U ] www-servers/apache-2.0.59-r5 [2.0.58-r2] USE="apache2 mpm-prefork ssl -debug -doc -ldap* -mpm-itk -mpm-leader -mpm-peruser -mpm-threadpool -mpm-worker (-selinux) -static-modules -threads (-no-suexec%)" 0 kB


what is wrong please help

:)


Last edited by semen on Tue Sep 04, 2007 7:42 am; edited 1 time in total
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Sep 02, 2007 5:14 pm    Post subject: Reply with quote

Code:
checking for i586-pc-linux-gnu-gcc... i386-pc-linux-gnu-gcc
8O Looks like your toolchain is confused. Did you change your chost setting recently? Do other packages emerge ok?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
semen
n00b
n00b


Joined: 02 Jan 2005
Posts: 29

PostPosted: Sun Sep 02, 2007 6:20 pm    Post subject: Reply with quote

Yes, I did changed the chost to i586-pc-linux-gnu but it was a year ago.

Other emerge updates worked fine.

How could I fix this chost problem?
Back to top
View user's profile Send private message
semen
n00b
n00b


Joined: 02 Jan 2005
Posts: 29

PostPosted: Tue Sep 04, 2007 7:40 am    Post subject: Solved could emerge apache Reply with quote

Did and change again the entrys of chost and cfalg in /etc/make.conf according to this site:
http://fr.gentoo-wiki.com/HOWTO_CFLAGS

than did complie alle pachages wich use flag was changed doing:
emerge -vuD --newuse world

that works the apache2 was emerge with no problem.

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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