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!"
<?PHP echo "PHP kicks ASP!"; ?
on 21/6/04 10:56, Matthew Boehm at dr_mac@mail.utexas.edu wrote:
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/
Just FYI, libxml2 2.6.7-2 is the release currently supported in fink, so you
can also install it by just going 'fink install libxml2'
Marcus
Marcus Bointon
Synchromedia Limited: Putting you in the picture
marcus@synchromedia.co.uk | http://www.synchromedia.co.uk