Hi, I have a SUN Ultra 2/170 with Solaris 2.8, GNU gcc 3.2 I trying to set up Apache-1.3.29, with PHP 4.3.4 and JServ-112
For PHP I want to include XSLT support. Therefore one needs Sablotron from Gingerall. That needs 'James' Clark expat XML parser'. I downloaded the latest versions of the expat library (1.95.7) and Sablotron (1.0.1) and installed it in our /usr/local software tree (with is in my PATH) Then downloaded latest PHP 4.3.4. Did, as requested by PHP install doc, first in our apache-1.3.29 (=latest version of Apache) a # ./configure --prefix=/home/apache_1329 --disable-rule=EXPAT (--disable-rule=EXPAT needed for not using Apaches built-in expat-lite lib) 1. Then tried to configure PHP-4.3.4: # ./configure --with-apache=/home/wins/builds/src/other/apache_1.3.29 \ --with-gd \ --with-jpeg-dir=/usr/local \ --with-png-dir=/usr/local \ --with-zlib-dir=/usr/local \ --with-informix=/home/informix2000 \ --with-ldap=/usr/local \ --enable-yp \ --enable-xslt \ --with-xslt-sablot this ends with ... checking whether to enable XML support... yes checking external libexpat install dir... no checking for XMLRPC-EPI support... no checking libexpat dir for XMLRPC-EPI... yes checking iconv dir for XMLRPC-EPI... yes checking whether to enable xslt support... yes checking for XSLT Sablotron backend... yes checking for libexpat dir for Sablotron XSL support... no checking for iconv dir for Sablotron XSL support... no checking for JavaScript for Sablotron XSL support... no checking for Sablotron libraries in the default path... found in /usr/local checking for sablot-config... found checking for Sablotron version... >= 0.96 checking for iconv... yes checking for SablotSetEncoding in -lsablot... no checking for SablotGetOptions in -lsablot... no checking for YAZ support... no checking whether to include YP support... yes checking for yp_match in -lnsl... no checking for yp_match in -lc... no configure: error: Unable to find required yp/nis library This, I don't understand: I have many times before built Apache versions with PHP with YP support (but without XSLT (sablotron,expat) support at that time) and I never had problems with the --enable-yp switch not finding its required yp/nis library ... 2. I have tried several other ./configure's with changing the order of the last three lines (but I think order should not matter), all give the same result... 3. Leaving out the xslt switches, makes configure to finish successfully. 4. Then, since the configure without xslt finished, and the test results are in the cache.config, I did the configure with the xslt switches again. Since this time configure does not perform a check on yp, since from its cache, it understands it is OK, configure finishes. Worth a try to continue? 5. Tried the make of PHP This ends with: ... /usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__si _class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)' /usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0' /usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)' /usr/local/lib/libsablot.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info' /usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `sapi/cli/php' HELP ! Can someone tell me the EXACT switches to use with PHP 4.3.4 to get XSLT (sablotron, expat) working with YP support ??? Thanks for any help or hint Pieter _______________ / Pieter Donche \____________________________________________ | ITC Manager e-mail [EMAIL PROTECTED] \ | Dept. Mathem. & Computer Science, University of Antwerp | | (UA) Middelheimlaan 1, B 2020 Antwerpen, BELGIUM (EU) | | room G1.16, tel +32 03.265.3870, fax +32 03.265.3777 | |____________________________________________________________|