Hi,

I have 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 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 library)

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 ...

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...

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  |
 |____________________________________________________________|

Reply via email to