[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Upgrading php - Raq4r



I know this has been beaten a few times but please suffer me a couple of questions:

I thought I would give mambo a try and it requires a newer version of php.

I've tried going through http://www.nuonce.net/cobalt-php.php and
http://www.communityforum.me.uk/showthread.php?t=18&page=1&pp=10
instructions.

Nuonce suggests linking
*ln -s /usr/lib/libjpeg.so.62 /usr/lib/libjpeg.so
ln -s /usr/lib/libpng.so.3.1.2.1 /usr/lib/libpng.so

*I don't have libjpeg.so.62 or the libpng.so.3 ..etc. I do have libjpeg.so in /usr/jrel.2/i386/, but no ..62. On the community forums they suggested installing jpegsrc.v6b.tar.gz which I did but no effect.

So I took out of the ./configure statement the *--with-jpeg-dir=/usr --with-png-dir=/usr *and when I tried configuring it errored with this:

checking for PDFlib support... yes, shared
checking for the location of libtiff... no
configure: warning: If configure fails, try --with-jpeg-dir=<DIR>
configure: warning: If configure fails, try --with-png-dir=<DIR>
configure: warning: If configure fails, try --with-tiff-dir=<DIR>
checking for the location of zlib... /usr
checking for PDF_show_boxed in -lpdf... no
configure: error:
PDFlib extension requires at least pdflib 3.x. You may also need libtiff, libjpeg, libpng and libz.
Use the options --with-tiff-dir=<DIR>, --with-jpeg-dir=<DIR>, --with-png-dir=<DIR> and --with-zlib-dir=<DIR>
See config.log for more information.

Long story short, anyone offer suggestions to get me over the hump? I don't know if I need png and jpeg support in php.. what does it do? Seems like something a fellow would want if available... <grin>.


thanks, Jim