PHP 4.0.3 won´t go with zlib, dom (ans sab loton prbos)

From: Date: Thu, 12 Oct 2000 19:32:04 +0000
Subject: PHP 4.0.3 won´t go with zlib, dom (ans sab loton prbos)
Groups: php.install 
Request: Send a blank email to php-install+get-296@lists.php.net to get a copy of this message
Hello, i have PHP 4.0.2 running on my System configured with ./configure --with-config-file-path=/usr/local/www/ --with-apxs=/usr/local/www/bin/apxs --with-mysql=/usr/local/mysql --with-jpeg-dir=/usr --with-xpm-dir=/usr/X11R6 --enable-track-vars --enable-url-includes --enable-ftp --with-gd=shared --with-ttf --enable-xml --disable-debug --enable-magic-quotes --with-mhash --enable-wddx --enable-sysvsem --enable-sysvshm --with-zlib --with-dom --with-mcrypt and all works fine (also Mcrypt now - all is perfect) ! Today i wanted to upgrade to PHP 4.0.3 and build it the same way by just adding the Sabloton XSLT support. I installed Sabloton (with Sablo_Expat Dir) and Expat on my System. after i was finished, ldconfig -v tells me: /usr/local/lib: libexpat.so.0 -> libexpat.so.0.0.0 libsablot.so.0 -> libsablot.so.0.44.0 libxmlparse.so.1 -> libxmlparse.so.1.1.1 libxml.so.2 -> libxml.so.2.2.4 libxmltok.so.1 -> libxmltok.so.1.1.1 OK, now i tried to build PHP 4.0.3 using the same configuration as above with just adding --with-sablot ./configure stops with the following message: configure: error: Zlib module requires zlib >= 1.0.9. (without sabloton it does not stop at this point (zlib) !!!) ldconfig -v tells me: /usr/local/lib: libz.so.1 -> libz.so.1.1.3 i removed --with-zlib from ./configure so that i can test the new sabloton features but, it finished with the message that i should look in debug.log. debug.log tells me: gcc -o conftest -g -O2 -DEAPI -Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6 /lib -Wl,-rpath,/usr/local/mysql/lib/mysql -L/usr/local/mysql/lib/mysql conftest.c -lsablot -lmysqlclient -lmhash -lmcrypt -lltdl -lX11 -lXpm -ljpeg -lz -lpng -lxml -lresolv -lm -ldl -lcrypt -lnsl -lresolv -L/usr/lib -ljpeg - L/usr/X11R6/lib -lXpm -lX11 1>&5 /usr/local/lib/libsablot.so: undefined reference to `XML_ParserCreateNS' /usr/local/lib/libsablot.so: undefined reference to `XML_SetElementHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_ParserFree' /usr/local/lib/libsablot.so: undefined reference to `XML_SetExternalEntityRefHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_SetCharacterDataHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_ErrorString' /usr/local/lib/libsablot.so: undefined reference to `XML_ParseBuffer' /usr/local/lib/libsablot.so: undefined reference to `XML_ExternalEntityParserCreate' /usr/local/lib/libsablot.so: undefined reference to `XML_SetBase' /usr/local/lib/libsablot.so: undefined reference to `XML_SetUnknownEncodingHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_SetUserData' /usr/local/lib/libsablot.so: undefined reference to `XML_SetProcessingInstructionHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_GetErrorCode' /usr/local/lib/libsablot.so: undefined reference to `XML_GetBuffer' /usr/local/lib/libsablot.so: undefined reference to `XML_SetCommentHandler' /usr/local/lib/libsablot.so: undefined reference to `XML_GetCurrentLineNumber what have i done wrong ? (i istalled expat from http://sourceforge.net/project/showfiles.php?group_id=10127&release_id=12811 and Sabloton (with Sablo-Expat) from http://www.gingerall.cz/charlie-bin/get/webGA/act/download.act ) And why ./configure stops with the Zlib Error when i just add --with-sablot and goes through without ?! I hope anybody can help me on this issue, Holger

« previous php.install (#296) next »