[WBEL-users] PHP5
Neil Jolly
neil@jollycom.ca
Wed, 21 Jul 2004 12:05:46 -0600
On Wed, 2004-07-21 at 11:31, Rex Dieter wrote:
> On Wed, 21 Jul 2004, Neil Jolly wrote:
>
> > Has anyone successfully built php5 for whitebox. I keep getting compile
> > errors right at the end of the build related to files or directories not
> > found.
>
> Perhaps if you posted more details about the build errors, we could help.
>
Here's what I've deemed relevant from the build attempt:
+ rm -rf /var/tmp/php5-5.0.0-buildroot
+ mkdir -p /var/tmp/php5-5.0.0-buildroot/usr/lib/apache
+ install -m 0755 .libs/libphp5.so
/var/tmp/php5-5.0.0-buildroot/usr/lib/apache
+ mkdir -p /var/tmp/php5-5.0.0-buildroot/usr/bin
+ install -m 0755 sapi/cli/php /var/tmp/php5-5.0.0-buildroot/usr/bin
+ install -m 0755 sapi/cgi/php
/var/tmp/php5-5.0.0-buildroot/usr/bin/php_cgi
+ mkdir -p /var/tmp/php5-5.0.0-buildroot/usr/share/man/man1
+ install -m 0755 sapi/cli/php.1
/var/tmp/php5-5.0.0-buildroot/usr/share/man/man1
+ mkdir -p /var/tmp/php5-5.0.0-buildroot/etc
+ install -m 0755 php.ini-recommended
/var/tmp/php5-5.0.0-buildroot/etc/php.ini
+ mkdir -p /var/tmp/php5-5.0.0-buildroot/usr/lib/php/extensions
+ install -m 0755 'modules/*.so'
/var/tmp/php5-5.0.0-buildroot/usr/lib/php/extensions
install: cannot stat `modules/*.so': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.51612 (%install)
Here's the configure options for the standalone portion of the build:
./configure --prefix=/usr \
--with-config-file-path=%{_sysconfdir} \
--disable-cli \
--without-pear \
--enable-force-cgi-redirect \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--with-mysql \
--with-zlib \
--enable-xml \
--enable-wddx \
--with-gd \
--enable-shared \
Here's the build options for the apache module:
./configure --prefix=/usr \
--with-apxs2=/usr/sbin/apxs \
--enable-cli \
--with-config-file-path=%{_sysconfdir} \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--with-mysql \
--with-zlib \
--enable-xml \
--enable-wddx \
--with-gd \
--enable-shared \
--
Neil Jolly
(with Yoda-like voice)
"Confrontation leads to anger... Anger leads to fear... Fear leads
to using Windows NT in mission-critical combat systems... And this is
how the ancients fell...