Hi,

I'm having a helluva time trying to compile PHP 4.0.4pl1 with t1lib!

The main problem initially is that I can't 'make install' t1lib as it needs 
to run on my ISPs machine which I can't control.

I have 'configure'd it and compiled it (t1lib) successfully and I believe I 
have all the necessary library files, but PHP won't find them!  Here is my 
debug.log:

CONFIGURE:   './configure' '--without-apache' '--with-gd' '--with-mysql' 
'--with-t1lib=/home/shivers/temp/T1-1.1.0/lib/.libs/'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/include 
-I/home/shivers/temp/php-4.0.4pl1/ext/mysql/libmysql
LDFLAGS:     -Wl,-rpath,/lib -L/lib
LIBS:       -lt1 -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 
-L/lib -lt1
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /lib
uname -a:   Linux shivers.raa 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 
unknown
 
gcc -o conftest -g -O2   -Wl,-rpath,/lib -L/lib conftest.c -lt1 -lz -lpng 
-lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv -L/lib -lt1 1>&5
/usr/bin/ld: cannot find -lt1
collect2: ld returned 1 exit status

(I have tried variations on the t1lib path - including anc excluding the lib/ 
and .libs/ portions - but all with no luck)

I have also tried it on my home machine, where I was able to 'make install' 
t1lib - but it died with another error:

CONFIGURE:   './configure' '--without-apache' '--with-gd' '--with-mysql' 
'--with-t1lib=/usr/local/lib/'
CC:         gcc
CFLAGS:     -g -O2
CPPFLAGS:
CXX:
CXXFLAGS:
INCLUDES:      -I$(top_builddir)/Zend -I/include 
-I/home/shivers/temp/php-4.0.4pl1/ext/mysql/libmysql
LDFLAGS:     -Wl,-rpath,/lib -L/lib
LIBS:       -lt1 -lz -lpng -lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv 
-L/lib -lt1
DLIBS:
SAPI:       cgi
PHP_RPATHS:  /lib
uname -a:   Linux shivers.raa 2.2.16-22 #1 Tue Aug 22 16:49:06 EDT 2000 i686 
unknown

gcc -o conftest -g -O2   -Wl,-rpath,/lib -L/lib conftest.c -lt1 -lz -lpng 
-lgd -lresolv -lm -ldl -lcrypt -lnsl  -lresolv -L/lib -lt1 1>&5
./conftest: error while loading shared libraries: libt1.so.1: cannot load 
shared object file: No such file or directory


(ok, so they're the same machine at the moment - but I can't make install on 
the ISP's one so I need to be able to get it working that way whatever the 
machine)

I have also tried it with both v1.0.1 and v1.1.0 of t1lib.

Anyone got any ideas on how to sort this?   Any help appreciated.

Regards

Shane

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to