config.log
Reported by: |
yzonemail@… |
Owned by: |
macports-tickets@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.7.0
|
Keywords:
|
|
Cc:
|
|
Port:
|
apr
|
|
|
I was trying to install PHP in my Mac. But I always get the following message no matter I tried to install it will other components or not. I have no idea what I can do with this.
Mac:~ ying$ sudo port install php4
---> Configuring apr
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr/work/apr-1.3.3" && ./configure --prefix=/opt/local --with-installbuilddir=/opt/local/share/apr-1/build " returned error 77
Command output: checking build system type... i386-apple-darwin9.6.0
checking host system type... i386-apple-darwin9.6.0
checking target system type... i386-apple-darwin9.6.0
Configuring APR library
Platform: i386-apple-darwin9.6.0
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.
Error: The following dependencies failed to build: apache2 apr apr-util db46 expat libiconv gperf sqlite3 readline ncurses ncursesw openssl zlib pcre curl pkgconfig freetype gettext jpeg libmcrypt libpng libtool automake autoconf help2man p5-locale-gettext perl5 perl5.8 m4 libxml2 mhash tiff
Error: Status 1 encountered during processing.
Mac:~ ying$
What version of Mac OS X are you running? What version of Xcode? Make sure you have the latest version of Xcode for your OS installed.