#20410: php52: make a port for php 5.2.x -----------------------------+---------------------------------------------- Reporter: schalk@… | Owner: ryandesign@… Type: request | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: legacy Port: php52 | -----------------------------+---------------------------------------------- Comment(by josh@…): When trying to install php52 with the 1.8.0 version of MacPorts for Snow Leopard the following error occurs: {{{ port install php52 +apache2 +mysql5 +pear +sqlite +universal ---> Computing dependencies for php52 ---> Fetching php52 ---> Attempting to fetch php-5.2.10.tar.bz2 from http://www.php.net/distributions/ ---> Verifying checksum(s) for php52 ---> Extracting php52 ---> Applying patches to php52 ---> Configuring php52 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_lang_php52/work/php-5.2.10" && ./configure --prefix=/opt/local --disable-dependency-tracking --mandir=/opt/local/share/man --infodir=/opt/local/share/info --with- config-file-path=/opt/local/etc/php5 --with-config-file-scan- dir=/opt/local/var/db/php5 --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-libexpat-dir=/opt/local --with-xmlrpc --enable-soap --enable-bcmath --enable-mbstring --enable-dba --enable-zip --with-openssl=/opt/local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-mime-magic --with- xsl=/opt/local --with-curl=/opt/local --with-pcre-regex=/opt/local --with- gd --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- mysql=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_php52/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-sqlite --with-pdo- sqlite=/opt/local --enable-sqlite-utf8 --with-pear=/opt/local/lib/php " returned error 1 Command output: checking path to configuration file... /opt/local/etc/php5 checking where to scan for configuration files... /opt/local/var/db/php5 checking whether to enable safe mode by default... no checking for safe mode exec dir... /usr/local/php/bin checking whether to enable PHP's own SIGCHLD handler... no checking whether to enable magic quotes by default... no checking whether to explicitly link against libgcc... no checking whether to enable short tags by default... yes checking whether to enable dmalloc... no checking whether to enable IPv6 support... yes checking how big to make fd sets... using system default Configuring extensions checking size of long... (cached) 8 checking size of int... (cached) 4 checking for int32_t... yes checking for uint32_t... yes checking for sys/types.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking for strtoll... yes checking for atoll... yes checking for strftime... (cached) yes checking whether to enable LIBXML support... yes checking libxml2 install dir... /opt/local checking for xml2-config path... /opt/local/bin/xml2-config checking whether libxml build works... no configure: error: build test failed. Please check the config.log for details. Error: Status 1 encountered during processing. }}} My installed ports (all freshly installed on a new installation) {{{ port installed The following ports are currently installed: apache2 @2.2.13_2+darwin+preforkmpm (active) apr @1.3.8_0 (active) apr-util @1.3.9_0 (active) autoconf @2.64_2 (active) autoconf213 @2.13_1 (active) automake @1.11_0 (active) bzip2 @1.0.5_2+darwin (active) curl @7.19.6_0 (active) db46 @4.6.21_5 (active) expat @2.0.1_0 (active) freetype @2.3.9_0+macosx (active) gawk @3.1.7_0 (active) gettext @0.17_4 (active) gperf @3.0.4_0 (active) grep @2.5.4_0 (active) gsed @4.2.1_0 (active) help2man @1.36.4_1 (active) jpeg @6b_3 (active) libiconv @1.13_0 (active) libmcrypt @2.5.8_1 (active) libpng @1.2.38_0 (active) libtool @2.2.6a_0 (active) libxml @1.8.17_0+darwin (active) libxml2 @2.7.3_0 (active) libxslt @1.1.24_2 (active) m4 @1.4.13_0 (active) mhash @0.9.9.9_0 (active) mysql5 @5.0.85_0 (active) mysql5-server @5.0.85_0 (active) ncurses @5.7_0+darwin_10 (active) ncursesw @5.7_0+darwin_10 (active) openssl @0.9.8k_0+darwin (active) p5-locale-gettext @1.05_0 (active) pcre @7.9_0 (active) perl5 @5.8.9_0 (active) perl5.8 @5.8.9_3 (active) pkgconfig @0.23_1 (active) readline @6.0.000_1+darwin (active) sqlite3 @3.6.17_0+darwin_10 (active) tiff @3.8.2_3+macosx (active) zlib @1.2.3_2 (active) }}} Any advice on how to proceed? I had tried to previously install the php5 port but as previously noted it wouldn't compile on Snow Leopard. Thanks. -- Ticket URL: <http://trac.macports.org/ticket/20410#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS