note 24580 added to ref.xslt

From: Date: Thu, 22 Aug 2002 00:56:06 +0000
Subject: note 24580 added to ref.xslt
Groups: php.notes 
Request: Send a blank email to php-notes+get-35343@lists.php.net to get a copy of this message
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.) -- http://www.php.net/manual/en/ref.xslt.php http://master.php.net/manage/user-notes.php?action=edit+24580 http://master.php.net/manage/user-notes.php?action=delete+24580 http://master.php.net/manage/user-notes.php?action=reject+24580

« previous php.notes (#35343) next »