Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Problem rebuilding RHEL4 PHP with Sablotron extensions

Problem rebuilding RHEL4 PHP with Sablotron extensions

2005-02-23       - By Matthew Saltzman

 Back
I need to have a PHP that includes the Sablotron XSLT parser. In RHEL3, I
used a vendor-supplied PHP SRPM, but that version is now out of date. I
tried rebuilding php-4.3.9-3.2 with the extensions, but I have not yet
succeeded.

First I built js-1.5rc5a-1, js-devel-1.5rc5a-1, sablotron-1.0.2, and
sablotron-devel-1.0.2 RPMs (the latter by updating the sablotron-1.0.1
SRPM at sablotron.com).

In the php.spec file, I appended the following options to the %configure
macro:

   --enable-xslt \
   --with-xslt-sablot \
   --with-sablot-js

First problem: When I attempted to "rpmbuild -bb ", the configure script
failed to detect the yp libraries. That 's OK for now, as I 'm not using
NIS. So I removed the --enable-yp option.

Second problem: The install phase of the build terminates with the
following messages:

Installing helper programs:
/home/mjs/src/rpmbuild/tmp/php-root/usr/bin/
program: phpize
program: php-config
program: phpextdist
+ popd
~/src/rpmbuild/BUILD/php-4.3.9
+ pushd build-apache
~/src/rpmbuild/BUILD/php-4.3.9/build-apache
~/src/rpmbuild/BUILD/php-4.3.9
+ make install-sapi INSTALL_ROOT=/home/mjs/src/rpmbuild/tmp/php-root
Installing PHP SAPI module: cgi
Installing PHP CGI into: /home/mjs/src/rpmbuild/tmp/php-root/usr/bin/
+ popd
~/src/rpmbuild/BUILD/php-4.3.9
+ install -m 755 -d /home/mjs/src/rpmbuild/tmp/php-root/etc/
+ install -m 644 php.ini-recommended /home/mjs/src/rpmbuild/tmp/php-root/etc/php.ini
+ install -m 755 -d /home/mjs/src/rpmbuild/tmp/php-root/var/www/icons
+ install -m 644 php.gif /home/mjs/src/rpmbuild/tmp/php-root/var/www/icons/
+ install -m 755 -d /home/mjs/src/rpmbuild/tmp/php-root/usr/lib/httpd/modules
+ install -m 755 build-apache/libs/libphp4.so /home/mjs/src/rpmbuild/tmp/php-root/usr/lib/httpd/modules
install: cannot stat `build-apache/libs/libphp4.so ': No such file or directory
error: Bad exit status from /home/mjs/src/rpmbuild/tmp/rpm-tmp.59466 (%install)

And indeed, there is no build-apache/libs/libphp4.so in the BUILD
directory. Rebuilding with the original php.spec does not produce
these errors.

Any ideas what 's wrong or at least what to look for?

TIA.
--
      Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list