Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:10675 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41439 invoked by uid 1010); 21 Jun 2004 09:56:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41415 invoked from network); 21 Jun 2004 09:56:42 -0000 Received: from unknown (HELO wb2-a.mail.utexas.edu) (128.83.126.136) by pb1.pair.com with SMTP; 21 Jun 2004 09:56:42 -0000 Received: (qmail 60977 invoked from network); 21 Jun 2004 09:56:41 -0000 Received: from host113-1.discord.birch.net (HELO ?10.10.100.204?) (dr?mac@65.16.113.1) by wb2.mail.utexas.edu with SMTP; 21 Jun 2004 09:56:41 -0000 User-Agent: Microsoft-Entourage/10.1.4.030702.0 Date: Mon, 21 Jun 2004 04:56:53 -0500 To: Message-ID: Mime-version: 1.0 jackstopper: harryPotter Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Subject: Workarounds for PHP5 on Mac OS X From: dr_mac@mail.utexas.edu (Matthew Boehm) Hello, The mailing lists site said this was the list for those who want to help with development of PHP. I hope this is the right list. I am running Mac OS 10.3.2 (Client, not server) and tried to compile PHP5.0.0RC3. Here is my configure: ./configure --with-apxs \ --with-config-file-path=/etc/ \ --enable-safe-mode \ --with-openssl \ --with-zlib \ --with-cpdflib=/usr/local \ --with-jpeg-dir=/usr/local/lib \ --with-tiff-dir==/usr/local/ \ --enable-exif \ --with-gd \ --with-mysql=/usr/local/mysql \ --with-snmp \ --enable-soap \ --enable-sockets \ --with-sqlite=/usr/local My first problem was with libxml2: Configuring extensions checking whether to enable LIBXML support... yes checking libxml2 install dir... no configure: error: libxml2 version 2.5.10 or greater required. libxml2 comes with Mac 10.3.2 but its version is less than 2.5.10 (It's 2.5.4 in /usr/include/libxml2/libxml) I downloaded newest source from xmlsoft.org and it compiled perfectly with no modifications into /usr/local/lib/ Ran configure again, same args. New problem with cpdflib. It didn't come with 10.3.2. Downloaded 2.02r1 source. Used the Makefile.MacOSX. Compiled fine with no modifications and installed into /usr/local/lib and /usr/local/includes Ran configure again..same error. After many trials I come to realize that the cpdflib makefile created a library called "libcpdfm.a" instead of "libcpdf.a" Note the extra 'm' in the filename. Looking through all of the makefiles for other operating systems, this was apparently normal. I created a symlink from libcpdfm.a to libcpdf.a and then the configure ran perfectly. Compiled and installed fine as well with no further modifications. http://drmac.homeunix.net/phpinfo.php Hope this helps in some way so others don't have the same cpdflib problem I did. Cheers, Matthew -- ---------------------------------------------------------------------------- Matthew Boehm dr_mac@mail.utexas.edu The University of Texas at Austin, Department of Geography "Why did the prison use Windows2K as a guard? Because it always locks up!" ----------------------------------------------------------------------------