PHP5 Mac OS X t1lib configure error
| From: | Chris Cowan | Date: | Wed, 14 Jul 2004 15:46:21 +0000 |
| Subject: | PHP5 Mac OS X t1lib configure error | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-13870@lists.php.net to get a copy of this message | ||
I'm having some trouble installing PHP 5.0.0 on Mac OS X 10.3. The configure script keeps stopping at T1_StrError. I'm trying to compile against t1lib 5.0.2. It also fails against t1lib 1.3. If I remove --with-t1lib=/usr/local it compiles fine. Here is what getting when it fails:
checking for T1_StrError in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for more information.
also here is the output in my config.log that pertains to T1_StrError:
ld: Undefined symbols:
_T1_StrError
configure: failed program was:
#line 31749 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char T1_StrError();
int main() {
T1_StrError()
; return 0; }
/T1_St
And finally here is my configure settings:
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/lib --with-apxs --with-openssl=/usr --with-zlib=/usr --with-pgsql=/usr/local/pgsql-7.4.3 --with-dom=/sw --with-dom-xslt=/sw --with-dom-exslt=/sw --with-xslt-sablot=/sw --with-expat-dir=/sw --enable-cgi --enable-xslt --with-ldap --with-xmlrpc --with-xml --with-iodbc --enable-sockets --enable-dbx --enable-dbase --enable-trans-sid --enable-exif --enable-wddx --enable-ftp --enable-mbstring --with-curl=/usr/local --with-gd --with-png-dir=/usr/local --with-freetype-dir=/usr/local --with-jpeg-dir=/sw --with-tiff-dir=/usr/local --with-t1lib=/usr/local --with-gettext=/usr/local --with-iconv=/usr/local --with-mcrypt=/sw --with-mhash=/sw --with-xpm-dir=/usr
Any help would be greatly appreciated.
Thanks
Chris