[MacPorts] #18288: config.log

MacPorts noreply at macports.org
Fri Jan 30 16:58:22 PST 2009


#18288: config.log
---------------------------------+------------------------------------------
 Reporter:  yzonemail@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  Port Bugs                            
Component:  ports                |     Version:  1.7.0                                
 Keywords:  php                  |        Port:                                       
---------------------------------+------------------------------------------
Changes (by macsforever2000@…):

  * priority:  High => Normal
  * milestone:  MacPorts 1.7.1 => Port Bugs


Old description:

> 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$

New description:

 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$
 }}}

--

Comment:

 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.

-- 
Ticket URL: <http://trac.macports.org/ticket/18288#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list