Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php compiling under 1.3b
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
Brian Ågren
n00b
n00b


Joined: 11 Jun 2002
Posts: 11
Location: Odense, Denmark

PostPosted: Sat Jul 06, 2002 10:13 pm    Post subject: php compiling under 1.3b Reply with quote

help .. when compiling php get the following

Code:
Calculating dependencies 
>>> Unpacking source...
>>> Unpacking php-4.2.1.tar.gz
>>> Source unpacked.
pam
ssl
gdbm
berkdb
mysql
odbc
pdflib
xml2
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking host system type... i686-pc-linux-gnu
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
Updated php_version.h
checking how to run the C preprocessor... cc -E
checking for AIX... no
checking for gcc... gcc
checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 162, Exitcode 1
!!! bad ./configure

!!! emerge aborting on  /usr/portage/dev-lang/php/php-4.2.1-r1.ebuild .


i've tried to emerge php-4.2.0.ebuild php-4.2.1.ebuild and php-4.2.1-r1.ebuild (even tried 4.1.2-r9.ebuild ) and got the same result each time ...
Back to top
View user's profile Send private message
therobot
Apprentice
Apprentice


Joined: 07 Jun 2002
Posts: 256
Location: Canada

PostPosted: Sat Jul 06, 2002 11:42 pm    Post subject: Reply with quote

Code:
checking whether the C compiler (gcc -march=i686 -O3 -pipe ) works... no

maybe this has something to do with it?
Back to top
View user's profile Send private message
DArtagnan
l33t
l33t


Joined: 30 Apr 2002
Posts: 942
Location: Israel, Jerusalem

PostPosted: Sun Jul 07, 2002 5:26 am    Post subject: Reply with quote

oops, php can't be compile with these flags?
_________________
All for one and one for All
--

MACPRO machine...
Back to top
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Sun Jul 07, 2002 5:31 am    Post subject: Reply with quote

Look for the file 'config.log' in the php ebuild work directory under /var/tmp/portage/. It should give you more detailed information about what is wrong with your gcc.
_________________
For every higher wall, there is a taller ladder
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