php5 5.2.5 -> 5.2.6 upgrade fails ?

Ryan Schmidt ryandesign at macports.org
Sun Jul 6 19:13:07 PDT 2008


On Jul 6, 2008, at 20:22, Bill Hernandez wrote:

> $ sudo port outdated
> The following installed ports are outdated:
> apache2                        2.2.8_0 < 2.2.9_1
> apr                            1.2.12_1 < 1.3.2_0
> apr-util                       1.2.12_0 < 1.3.2_0
> bzip2                          1.0.5_0 < 1.0.5_1
> curl                           7.18.1_2 < 7.18.2_0
> fontconfig                     2.5.0_0 < 2.6.0_0
> freetype                       2.3.5_1 < 2.3.7_1
> libpng                         1.2.26_0 < 1.2.29_0
> libxml2                        2.6.31_0 < 2.6.32_1
> libxslt                        1.1.22_0 < 1.1.23_0
> m4                             1.4.10_1 < 1.4.11_0
> openssl                        0.9.8g_0 < 0.9.8h_0
> ossp-uuid                      1.6.0_2 < 1.6.1_0
> pcre                           7.6_0 < 7.7_0
> perl5.8                        5.8.8_2 < 5.8.8_3
> postgresql83                   8.3.1_0 < 8.3.3_0
> postgresql83-doc               8.3.1_0 < 8.3.3_0
> postgresql83-server            8.3.1_0 < 8.3.3_0
> readline                       5.2.007_0 < 5.2.012_1
> sqlite3                        3.5.8_0 < 3.5.9_0
> tiff                           3.8.2_1 < 3.8.2_2
>
> $ sudo port -d uninstall php5 +apache2 +fastcgi +tidy +mysql5
> +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets
>
> $ sudo port clean --work php5
>
> $ sudo port -v install php5 +apache2 +fastcgi +tidy +mysql5
> +postgresql83 +sqlite +ipc +pcntl +pear +readline +sockets
>
> Password:
> --->  Configuring php5
> loading cache ./config.cache
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for egrep... grep -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking host system type... i686-apple-darwin9.3.0
> checking target system type... i686-apple-darwin9.3.0
> shtool:echo:Warning: unable to determine terminal sequence for bold  
> mode
> shtool:echo:Warning: unable to determine terminal sequence for bold  
> mode
> checking for gcc... /usr/bin/gcc-4.0
> checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/
> lib) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.
> 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_www_php5/work/php-5.2.6" && ./configure --
> prefix=/opt/local --mandir=/opt/local/share/man --infodir=/opt/local/
> share/info --with-config-file-path=/opt/local/etc --enable-calendar --
> with-iconv=/opt/local --enable-exif --enable-ftp --enable-wddx --with-
> zlib=/opt/local --with-bz2=/opt/local --with-libxml-dir=/opt/local --
> with-gettext=/opt/local --with-xml --with-expat-dir=/opt/local --with-
> xmlrpc --enable-soap --enable-filepro --enable-bcmath --enable-trans-
> sid --enable-mbstring --enable-dbx --enable-dba --enable-zip --with-
> openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local --
> with-xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/
> local --with-gd=/opt/local --with-jpeg-dir=/opt/local --with-png-dir=/
> opt/local --enable-gd-native-ttf --with-freetype-dir=/opt/local -- 
> with-
> ldap=/usr --with-kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/
> local/apache2/bin/apxs --with-tidy=/opt/local --with-mysql=/opt/local/
> var/macports/build/
> _opt_local_var_macports_sources_rsync
> .macports.org_release_ports_www_php5/work/mysql5 --with-pdo-mysql=/ 
> opt/
> local/bin/mysql_config5 --with-mysql-sock=/opt/local/var/run/mysql5/
> mysqld.sock --with-mysqli=/opt/local/bin/mysql_config5 --with-pgsql=/
> opt/local/lib/postgresql83/bin --with-pdo-pgsql=/opt/local/lib/
> postgresql83/bin --with-sqlite --with-pdo-sqlite=/opt/local --enable-
> sqlite-utf8 --enable-shmop --enable-sysvsem --enable-sysvshm --enable-
> sysvmsg --enable-pcntl --with-pear=/opt/local/lib/php --with- 
> readline=/
> opt/local --enable-sockets " returned error 1
> Command output: loading cache ./config.cache
> checking for Cygwin environment... no
> checking for mingw32 environment... no
> checking for egrep... grep -E
> checking for a sed that does not truncate output... /usr/bin/sed
> checking host system type... i686-apple-darwin9.3.0
> checking target system type... i686-apple-darwin9.3.0
> shtool:echo:Warning: unable to determine terminal sequence for bold  
> mode
> shtool:echo:Warning: unable to determine terminal sequence for bold  
> mode
> checking for gcc... /usr/bin/gcc-4.0
> checking whether the C compiler (/usr/bin/gcc-4.0 -O2 -L/opt/local/
> lib) works... no
> configure: error: installation or configuration problem: C compiler
> cannot create executables.

Is the C compiler installed -- e.g., is Xcode installed? Try  
reinstalling the latest version.
Or send us the config.log. Maybe it contains more information.




More information about the macports-users mailing list