Rebuild php error libjpeg

DhoTjai

Verified User
Joined
Apr 23, 2006
Messages
80
Location
Netherlands
Hi all,

I'm trying to configure php with domxml, and need me to rebuild php.

I added this to configure.php
--with-dom=/usr/lib \
--with-dom-exslt=/usr/lib \
--with-dom-xslt=/usr/lib

After adding:
./build clean
./build php n

An error shows!:
configure: error: Please reinstall the libxslt >= 1.0.3 distribution

I installed libxslt:
yum install libxslt-devel

The next error after ./build php n (clean before)
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

I installed libjpeg:
yum install libjpeg-devel

I tried to rebuild php and it still gives me:
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.


Does anyone know a solution?

Thanks in advance!

Regards,

DhoTjai
 
Find:
Code:
--with-jpeg-dir=/usr/local/lib \

Replace with:
Code:
--with-jpeg-dir=/usr/lib \
 
I'M Having the same problem. And the changing of the directory as advised above didn't help.

Any other ideas?:confused:
 
I'm getting this:
configure:33639: checking for jpeg_read_header in -ljpeg
configure:33658: gcc -o conftest -g -O2 -Wl,-rpath,/opt/lib -L/opt/lib -Wl,-rpath,/usr/kerberos/lib -L/usr/kerberos/lib -Wl,-rpath,/usr/kerberos/lib64 -L/u$
/usr/bin/ld: cannot find -lxml
collect2: ld returned 1 exit status
configure: failed program was:
#line 33647 "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 jpeg_read_header();

int main() {
jpeg_read_header()
; return 0; }
 
Back
Top