hey guys.
I am trying to compile php from source. First time i have attempted to do so. I am running mac osx 10.5 and i want to set up my own dev machine. So far I have got mySQL and apache running fine however i am having an issue with php. Here is how i set the configuration of my install.
./configure \
--with-apxs2=/usr/local/am4p/bin/apxs \
--prefix=/usr/local/am4p \
--with-mysql=/usr/local/am4p \
--with-tidy=/usr \
--with-curl=/usr/bin \
--with-curlwrappers \
--with-openssl-dir=/usr/bin \
--with-gd \
--with-jpeg-dir=/usr/local/lib \
--with-png-dir=/usr/X11R6 \
--with-zlib-dir=/usr \
--with-freetype-dir=/usr/X11R6 \
--enable-mbstring \
--with-xpm-dir=/usr/X11R6 \
--with-pdo-mysql=/usr/local/am4p \
--with-xsl=/usr/bin \
--with-ldap \
--with-xmlrpc \
--with-iconv-dir=/usr \
--with-snmp=/usr -enable-exif \
--enable-calendar \
--with-bz2=/usr \
--enable-debug \
Here is the error I am getting
Undefined symbols:
"__zval_ptr_dtor_wrapper", referenced from:
__zval_ptr_dtor_wrapper$non_lazy_ptr in php_xsl.o
__zval_ptr_dtor_wrapper$non_lazy_ptr in xsltprocessor.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [libs/libphp5.bundle] Error 1
I can run the configure command fine. I Get the above error when i run make. Any suggestions?
I am running with php-5.2.6
Thanks in advance for any help