Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18288 closed defect (invalid)

config.log

Reported by: yzonemail@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: apr

Description (last modified by mf2k (Frank Schima))

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$ 

Change History (4)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Milestone: MacPorts 1.7.1Port Bugs
Priority: HighNormal

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.

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Keywords: php removed
Port: apr added

darwin9.6.0 is OS X 10.5.6. There is a FAQ entry for this error message.

comment:3 Changed 16 years ago by raimue (Rainer Müller)

Resolution: invalid
Status: newclosed

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.