DOM problem - php problem. Please help :)

xeryph

Verified User
Joined
Dec 27, 2004
Messages
73
Hello,
I have got big problem, I want to install DOM for php.

My configure.php file:

./configure \
--with-jpeg-dir=/usr/local \
--with-dom=/usr \
--with-dom-exslt=/usr \
--with-dom-xslt=/usr \
--with-xslt-sablot=shared \
--with-apxs \
--with-curl \
--with-curl-dir=/usr/local \
--with-gd \
--with-gd-dir=/usr/local \
--with-gettext \
--with-kerberos \
--with-mcrypt \
--with-mhash \
--with-mysql=/usr \
--with-pear \
--with-png-dir=/usr/local \
--with-xml \
--with-zlib \
--with-zlib-dir=/usr/local \
--with-zip \
--with-iconv \
--with-openssl \
--enable-bcmath \
--enable-calendar \
--enable-ftp \
--enable-magic-quotes \
--enable-sockets \
--enable-track-vars \
--enable-mbstring \
--enable-memory-limit \
--with-ttf \
--with-xslt \
--with-freetype-dir \
--with-expat \
--with-pare-regex \
--enable-gd-native-ttf \
--with-xmlrpc=shared

There is error:

checking for jpeg_read_header in -ljpeg... no
configure: error: Problem with libjpeg.(a|so). Please check config.log for more information.

*** There was an error while trying to configure php. Check the configure.php file


Everything is working fine, when I remove:

--with-dom=/usr \
--with-dom-exslt=/usr \
--with-dom-xslt=/usr \

There is no errors then and php works fine.

What should I do to compile php with that extras?

I use Apache 1.3.34 and php 4.4.2. System Centos 4 64bit.

Thanks a lot.

Regards,
Xeryph
 
Back
Top