Fw: Compile error

php.internals

Arjen Brouwer

23 years ago
----- Original Message ----- From: James Cox To: Arjen Brouwer Sent: Monday, April 14, 2003 11:21 PM Subject: RE: Compile error the list is now internals@lists.php.net... thanks -----Original Message----- From: Arjen Brouwer [mailto:arjenip@wanadoo.nl] Sent: 14 April 2003 22:16 To: php-dev@lists.php.net Subject: Compile error Hi, I am trying to configure php with Sablotron (sabcmd 0.97 (Dec 30, 2002)): ./configure --with-config-file-path=/etc --with-apxs=/usr/local/apache/bin/apxs --with-curl --with-openssl --with-zlib --enable-bz2 --enable-bcmath --enable-calender --with-dom --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-gd-native-ttf --with-mysql=/usr/local/mysql --enable-sockets --enable-wddx --with-expat --with-xmlrpc --enable-magic-quotes --enable-gmp --enable-dio --enable-mailparse --enable-trans-sid --enable-overload --with-srm=/usr/local/srm --with-mm --with-dom --with-dom-xslt --enable-xslt --with-xslt-sablot > configure.log configure.log: --- checking whether to enable xslt support... yes checking for XSLT Sablotron backend... yes checking for libexpat dir for Sablotron XSL support... yes checking for iconv dir for Sablotron XSL support... yes checking for JavaScript for Sablotron XSL support... yes checking for Sablotron libraries in the default path... found in /usr checking for sablot-config... not found checking for Sablotron version... >= 0.96 checking for iconv... (cached) yes checking for SablotSetEncoding in -lsablot... (cached) no checking for SablotGetOptions in -lsablot... (cached) no --- Configure returns no errors, but when i try to 'make' the source, it reports this error: --- ... main/internal_functions_cli.lo -lsablot -lexpat -lexpat -lsrm_client -lmm -lmysqlclient -lfreetype -lpng -lz -ljpeg -lxsltbreakpoint -lxml2 -lxslt -lz -lcurl -lz -lcrypt -lssl -lcrypto -lresolv -lm -ldl -lnsl -lcrypt -lcurl -lssl -lcrypto -ldl -lxml2 -lz -lm -o sapi/cli/php /usr/lib/libsablot.so: undefined reference to `JS_SetPrototype' /usr/lib/libsablot.so: undefined reference to `JS_PropertyStub' ... ... /usr/lib/libsablot.so: undefined reference to `JS_DeleteElement' /usr/lib/libsablot.so: undefined reference to `JS_Enumerate' collect2: ld returned 1 exit status make: *** [sapi/cli/php] Error 1 --- What goes wrong? Cheers, Arjen