Problem rebuilding RHEL4 PHP with Sablotron extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux