Hi everybody!

I just tried out to compile PHP beta 2 the way I do it with PHP4 too:

---snip---

./configure \
--prefix=/usr/local/php/5.0.0b2 \
--enable-inline-optimization \
--enable-debug=no \
--enable-safe-mode=no \
\
--enable-force-cgi-redirect \
--enable-discard-path=no \
--enable-fastcgi \
\
--with-config-file-path=/h/paw/config \
--with-pear=/usr/local/php/pear \
--enable-sigchild \
--enable-magic-quotes \
--enable-libgcc \
--with-openssl=/usr/local/openssl/current \
\
--with-zlib \
--with-zlib-dir=/usr/lib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
\
--with-jpeg-dir=/usr/lib \
--with-tiff-dir=/usr/lib \
\
--enable-dba \
--with-gdbm \
--with-ndbm \
--with-db4 \
--with-dbm \
--with-cdb \
--with-flatfile \
\
--enable-dbase \
--enable-dbx \
--enable-dio \
\
--with-dom \
--with-dom-xslt \
--with-xml \
--with-xslt-sablot \
--with-dom-exslt \
\
--enable-exif \
--enable-ftp \
\
--with-gd \
--with-png-dir=/usr/lib \
--with-xpm-dir=/usr/lib \
--with-ttf=/usr/lib \
--with-freetype-dir=/usr/include/freetype2 \
--with-t1lib \
--enable-gd-native-ttf \
\
--with-gettext \
--with-gmp \
--with-iconv \
--with-imap \
--with-imap-ssl \
--enable-mbstring \
--enable-mbstr-enc-trans \
--enable-mbregex \
--with-regex=system \
--with-mcal=/usr \
--with-mcrypt \
--with-mhash \
--with-mime-magic \
\
--with-mysql=/usr/local/mysql/current \
--with-mysql-sock \
\
--with-unixODBC \
\
--with-tiff-dir=/usr/lib \
\
--with-aspell \
--with-mm \
--enable-wddx \
\
--enable-memory-limit \
--enable-zend-multibyte \
--with-tsrm-pth \
--with-tsrm-st \
--with-tsrm-pthreads \
--enable-shmop \
--enable-track-vars \
--enable-trans-sid=no \
\
--enable-xml \
--without-oci8

---snap---

It always worked fine with PHP4 but now with PHP5 I get this failure while
configure is running:

---snip---
checking for T1_StrError in -lt1... no
configure: error: Problem with libt1.(a|so). Please check config.log for
more information.
---snap---

In config.log I found this:

---snip---
configure:31599: checking for T1_StrError in -lt1
configure:31618: gcc -o conftest -g -O2  -L/usr/lib -ldb-4.0
-Wl,-rpath,/usr/lib/gcc-lib/i486-suse-linux/3.3
-L/usr/lib/gcc-lib/i486-suse-linux/3.3
-Wl,-rpath,/usr/local/openssl/current/lib -L/usr/local/openssl/current/lib
-Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib conftest.c -lt1  -lfreetype -lX11
-lXpm -lpng -lz -ljpeg -ldb-4.0 -lndbm -lgdbm -lbz2 -lz -lssl -lcrypto
-lresolv -lm -ldl -lnsl  -lgcc -lxml2 -lz -lm 1>&5
/tmp/ccl7vbkk.o(.text+0xa): In function `main':
/usr/local/src/php-5.0.0b2/configure:31614: undefined reference to
`T1_StrError'
collect2: ld returned 1 exit status
configure: failed program was:
#line 31607 "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; }
---snap---

Unfortunately I don't know what to do with this information to solve
configure's problem ;-(

Can anybody help me please?


Regards from Munich

Julian

Reply via email to