It is known problem to be fixed in the next release.
1. You need to force PHP extehsion to be linked with libxmlparse and
libxmltok ...
2. ...or a) install sablotron (make install)
b) delete expat from the sablotron source tree
c) rm config.*
d) configure and make sablotron again
It sounds strange, but it'd help you.
HTH
Pavel
asddsdf asdsdf wrote:
> I am trying to install php4.0.3p11 with apache1.3.12 with sablot(for xml
> & xsl)
>
> i am geting following error while i am finaly compiling apache
> below is how i instaled sablot
>
> tar -xzf Sablot-0.44.tar.gz
> tar -xzf Sablot-Expat-1.1.2.tar.gz
> mv Expat Sablot-0.44/
> cd Sablot-0.44/
> ./configure
> make
> make install
>
> vi /etc/profile
> ####### appended /usr/local/bin /usr/local/include to PATH
> variable#####
> source /etc/profile ######## ran this command ############
> vi /etc/ld.so.conf
> ######### added following line /usr/local/lib###########
> ldconfig ##### run this command ########
>
>
>
> below is how i compiled php
> ./configure --prefix=/usr/local/php --with-apache=/usr/local/apache/
> --with-mysql=/usr/local/mysql/current --with-ftp --enable-versioning
> --enable-track-vars --enable-url-includes --enable-trans-sid
> --enable-discard-path --with-pgsql=/usr/include/ --with-xml --with-ldap
> --with-sablot=/usr/local
>
> below is how i compiled apache
> ./configure --prefix=/usr/local/apache
> --activate-module=src/modules/php4/libphp4.a --enable-module=so
>
>
> i am geting following error while i am finaly compiling apache
> as above commands
> I would be glad if you can correct this error
>
>
>
> /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_GetCurrentLineNumbe
>
> with regards
> shiva
>
>
> ----------------------------------------
> http://mail.indiainfo.com
> First you had 10MB of free mail space.
> Now you can send mails in your own language !!!
--
Pavel Hlavnicka
Ginger Alliance Ltd.
Prague; Czech Republic