Hi,
there has been a couple of messages about problems compiling PHP with
Sablotron extension. Here is a reply from the extension author,
Sterling Hughes:
List: php-dev
Subject: [PHP-DEV] PHP 4.0 Bug #7255 Updated: --with-sablot fails
From: [EMAIL PROTECTED]
Date: 2000-10-16 23:26:22
[Download message RAW]
ID: 7255
Updated by: sterling
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Sablotron XSL
Assigned To:
Comments:
Sablotron needs to be linked with the external expat libraries in order to work with \
PHP.
alternately you can add -lxmlparse and -lxmltok and use Sablotron's built-in XML \
libraries.
Previous Comments:
---------------------------------------------------------------------------
[2000-10-16 14:31:25] [EMAIL PROTECTED]
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
--enable-track-vars
--disable-debug
--disable-magic-quotes
--enable-ftp
--with-gettext
--with-xml
--with-dom
--enable-wddx
--with-sablot
--with-curl
--with-imap
--with-pgsql
--with-zlib
--enable-versioning
--with-openssl
--with-snmp
--with-mcrypt
from config.log:
configure:41154: checking whether to include zlib support
configure:41343: checking for gzgets in -lz
configure:41362: gcc -o conftest -g -O2 -DXML_BYTE_ORDER=12 -L/usr/lib \
-Wl,-rpath,/usr/local/lib -L/usr/local/lib -Wl,-rpath,/usr/local/mysql/lib/mysql \
-L/usr/local/mysql/lib/mysql -Wl,-rpath,/usr/lib/pgsql -L/usr/lib/pgsql conftest.c \
-lz -lsnmp -lsablot -lpq -lmysqlclient -lmcrypt -lltdl -lgd -lxml -lz -lcurl \
-lresolv -lm -ldl -lcrypt -lnsl -lresolv 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' /usr/local/lib/libsablot.so: undefined reference to \
`XML_SetNamespaceDeclHandler' collect2: ld returned 1 exit status
configure: failed program was:
#line 41351 "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 gzgets();
int main() {
gzgets()
; return 0; }
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7255
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
Best regards,
Pavel mailto:[EMAIL PROTECTED]