note 24580 deleted from ref.xslt by betz

From: Date: Tue, 04 Oct 2005 15:59:24 +0000
Subject: note 24580 deleted from ref.xslt by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-96360@lists.php.net to get a copy of this message
Note Submitter: gherson at DatainFormation com ---- Compiling xslt into cgi version of PHP4.2.2 on linux 2.4.7: Lots of work was needed. I had to download Mozilla's js-1.5rc4-2.i386.rpm and js-devel-1.5rc4-2.i386.rpm and the Sablotron library tarball, all from http://www.gingerall.com/charlie/ga/xml/d_related.xml. Applying patch http://download-2.gingerall.cz/download/sablot/Sablot-0.95-PHP.patch was nec (found by searching google with "SXPF_DISPOSE_VALUES", which make blamed for failing, claiming it had a duplicate value). Export CPLUS_INCLUDE_PATH="/usr/include/js/" was nec to get past a Sablotron make or configure error "required file jsapi.h not found". Then ./configure --enable-javascript; make; make install worked w/o errors. Then, for PHP 4.2.2 compilation: $ ./configure --with-pgsql=/usr/local/pgsql --enable-force-cgi-redirect --enable-xslt --with-xslt-sablot --with-sablot-js followed by $ make and # make install. No errors. /usr/local/bin/php is the new cgi executable. $ php -v confirmed the version, and function phpinfo() confirmed xslt enabled. (Along the way I had tried the rpm version of Sablotron and compiling the CVS version of PHP when i got stuck, to no avail.)

« previous php.notes (#96360) next »