Upgrade to Mac OS 10.4.8 and Upgrade to PHP5
After updating to Mac OS X 10.4.8 and then doing an update to my PHP5, I now get the following error: ---> ... ---> Configuring php5 Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/ _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp orts_www_php5/work/php-5.1.6" && CFLAGS=-I/opt/local/include/c-client CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 CC=/usr/ bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 ./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-libxml-dir=/opt/local --with-gettext=/opt/ local --with-libxml-dir=/opt/local --with-xml --with-expat-dir=/opt/ local --with-xmlrpc --enable-filepro --enable-bcmath --enable-trans- sid --enable-mbstring --enable-dbx --enable-dba --with-openssl=/opt/ local --with-mhash=/opt/local --with-mcrypt=/opt/local --with-tidy=/ opt/local --with-xsl=/opt/local --with-imap=/opt/local --with-imap- ssl=/opt/local --with-curl=/opt/local --with-gd --with-jpeg-dir=/opt/ local --with-png-dir=/opt/local --enable-gd-native-ttf --with- freetype-dir=/opt/local --enable-sqlite-utf8 --with-ldap=/usr --with- kerberos=/usr --with-iodbc=/usr --with-apxs2=/opt/local/apache2/bin/ apxs --with-mysql=/opt/local --with-pdo-mysql=/opt/local --enable- sqlite-utf8 --with-ldap=/usr --with-kerberos=/usr --with-iodbc=/usr -- with-apxs2=/opt/local/apache2/bin/apxs --with-mysql=/opt/local --with- pdo-mysql=/opt/local" returned error 1 Command output: checking how big to make fd sets... using system default checking whether to enable versioning... no Configuring extensions 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... yes checking for OpenSSL support... yes checking for Kerberos support... /usr checking for krb5-config... /usr/bin/krb5-config checking for pkg-config... no checking for OpenSSL version... >= 0.9.6 checking for CRYPTO_free in -lcrypto... yes checking for SSL_CTX_set_ssl_version in -lssl... yes checking for PCRE support... yes checking for ZLIB support... yes checking if the location of ZLIB install directory is defined... no checking for gzgets in -lz... yes checking whether to enable bc style precision math functions... yes checking for BZip2 support... no checking whether to enable calendar conversion support... yes checking whether to enable ctype functions... yes checking for CURL support... yes checking if we should use CURL for url streams... no checking for cURL 7.10.5 or greater... dyld: Library not loaded: /opt/ local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found ./configure: line 24966: test: : integer expression expected configure: error: cURL version 7.10.5 or later is required to compile php with cURL support Also, now I cannot access my local PHP applications through my web server because Apache can't use PHP any more; it keeps complaining about not being able to locate libintl.3.dylib. Anybody know what's going on with the libintl.3.dylib file or PHP5? Thank you. - Rob
On Oct 3, 2006, at 22:03, Rob wrote:
After updating to Mac OS X 10.4.8 and then doing an update to my PHP5, I now get the following error: [snip] checking for CURL support... yes checking if we should use CURL for url streams... no checking for cURL 7.10.5 or greater... dyld: Library not loaded: / opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found ./configure: line 24966: test: : integer expression expected configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
Also, now I cannot access my local PHP applications through my web server because Apache can't use PHP any more; it keeps complaining about not being able to locate libintl.3.dylib.
Anybody know what's going on with the libintl.3.dylib file or PHP5?
That sounds like the gettext 0.15.0 problem about which there has been much discussion on this list of late. In this case, it sounds like you upgraded to gettext 0.15.0, but didn't rebuild either gawk or curl (I'm not sure) which require gettext. Rebuild those, and any other ports you have that use gettext. I just did this for a dozen or so ports I have installed. I used "sudo port -nfcu upgrade foo" on each, after having worked out the correct order in which to do them by examining the dependencies.
Thanks, Ryan. That did the trick. I had to run: sudo port -nf <package> for the following packages: gettext curl gawk wget clearsilver php5 subversion Things appear to be running smoothly again. (Although Subversion and curl didn't show up when I "force upgraded" gettext, I got similar errors from Apache when trying to load up mod_dav_svn.so, and I added curl to the mix just to be sure.) On Oct 3, 2006, at 11:33 PM, Ryan Schmidt wrote:
On Oct 3, 2006, at 22:03, Rob wrote:
After updating to Mac OS X 10.4.8 and then doing an update to my PHP5, I now get the following error: [snip] checking for CURL support... yes checking if we should use CURL for url streams... no checking for cURL 7.10.5 or greater... dyld: Library not loaded: / opt/local/lib/libintl.3.dylib Referenced from: /opt/local/bin/gawk Reason: image not found ./configure: line 24966: test: : integer expression expected configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
Also, now I cannot access my local PHP applications through my web server because Apache can't use PHP any more; it keeps complaining about not being able to locate libintl.3.dylib.
Anybody know what's going on with the libintl.3.dylib file or PHP5?
That sounds like the gettext 0.15.0 problem about which there has been much discussion on this list of late.
In this case, it sounds like you upgraded to gettext 0.15.0, but didn't rebuild either gawk or curl (I'm not sure) which require gettext. Rebuild those, and any other ports you have that use gettext. I just did this for a dozen or so ports I have installed. I used "sudo port -nfcu upgrade foo" on each, after having worked out the correct order in which to do them by examining the dependencies.
participants (2)
-
Rob
-
Ryan Schmidt