Re: Merging with Sablotron

From: Date: Fri, 09 May 2003 13:09:27 +0000
Subject: Re: Merging with Sablotron
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-10856@lists.php.net to get a copy of this message
On Fri, May 09, 2003 at 01:02:46PM +0200, Stanislaw Findeisen wrote: > > Hello, > > I am having PHP 4.2.2 installed (running on RedHat 8.0), and I'd like to > somehow merge it with Sablotron (xslt extension). The question is: do I > have to download PHP sources and recompile, or can I modify some > configuration files (which ones?) and put it to work? I did yesterday on Red Hat 9. I believe the procedure is the same for Red Hat 8. Ensure you have php and php-devel installed. This is what I did: First install Sablotron from source. ./configure && make && make install Then $ tar zxf php-4.2.2.tar.gz $ cd ext/xslt $ vi config.m4 Remove the check for ICONV. That is remove, the thre lines: PHP_SETUP_ICONV(XSLT_SHARED_LIBADD, [], [ AC_MSG_ERROR([iconv not found, in order to build sablotron you need the iconv library]) ]) $ phpize $ ./configure --enable-xslt --with-xslt-sablot=/usr/local $ make $ su # make # make install # echo 'extension=xslt.so' >/etc/php.d/xslt.ini # /etc/init.d/httpd stop # /etc/init.d/httpd start -- Adam > Thank you. > > > -- Stanislaw Findeisen > http://rainbow.mimuw.edu.pl/~sf > > Like Hardship, Risk & Challenge? -- Follow Jesus!! > Christianity: get Real. get the eXtreme. > > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Dickmeiss mailto:adam@indexdata.dk http://www.indexdata.dk Index Data T: +45 33410100 Mob.: 212 212 66

« previous php.install (#10856) next »