mrprez

Well-Known Member
Jun 14, 2002
93
0
166
Anyone know how to compile PHP with the t1lib? Didn't see it in the buildapache.sea. I have the files installed on the box, just want to be able to have it compiled with PHP.
 

Michael-MS

Well-Known Member
Apr 16, 2003
144
0
166
We need to do the same thing. I'd like a quick and easy way to add this to the default easyapache option 5. Anyone know how to do this?

Thanks,
Michael
 

Sinewy

Well-Known Member
May 15, 2004
364
1
168
Sydney, Australia
cPanel Access Level
DataCenter Provider
still not available because i don't see it in bugzilla as an enhancement. i may be wrong. bugzilla is huge :)

meanwhile you can do the following:

cd /root
mkdir t1lib
cd t1lib
wget http://www.ibiblio.org/pub/linux/libs/graphics/t1lib-5.0.2.tar.gz
tar zxf t1lib-5.0.2.tar.gz
cd t1lib-5.0.2
./configure --prefix=/usr
make without_doc
make install

the above installs the t1lib.

then:

cd /home/cpapachebuild/buildapache
pico/nano buildscript

find the 4 PHP configure commands near the bottom of the script and place the following at the end of all 4:

--with-t1lib=/usr

ctrl x to exit. save it.

now do:

./buildscript

this will build your last easyapache config with the additional t1lib. if you need help: find my contact details in my profile.

NB: easyapache will clear this script each time it is executed.
 
Last edited: