Associate
- Joined
- 19 Jun 2003
- Posts
- 1,680
- Location
- West Yorks, UK
Hi all,
I've been compiling PHP5.2.2 on a Fedora Core 3 Web Server. I've got as far as doing a make install, but i'm now getting an error. The error is as follows:
For your info, my ./configure looks like this:
Any ideas as to why it is erroring? I'm executing this as root, so permissions shouldn't be an issue I think.
Cheers,
Matt
I've been compiling PHP5.2.2 on a Fedora Core 3 Web Server. I've got as far as doing a make install, but i'm now getting an error. The error is as follows:
Code:
# make install
Installing PHP SAPI module: apache2handler
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/bin/sh /usr/lib/apr/build/libtool' libphp5.la /usr/lib/httpd/modules
/bin/sh /usr/lib/apr/build/libtool --mode=install cp libphp5.la /usr/lib/httpd/modules/
cp .libs/libphp5.lai /usr/lib/httpd/modules/libphp5.la
cp .libs/libphp5.a /usr/lib/httpd/modules/libphp5.a
ranlib /usr/lib/httpd/modules/libphp5.a
chmod 644 /usr/lib/httpd/modules/libphp5.a
libtool: install: warning: remember to run `libtool --finish /usr/src/php-5.2.2/libs'
Warning! dlname not found in /usr/lib/httpd/modules/libphp5.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /usr/lib/httpd/modules/libphp5.so
chmod: cannot access `/usr/lib/httpd/modules/libphp5.so': No such file or directory
apxs:Error: Command failed with rc=65536
.
make: *** [install-sapi] Error 1
For your info, my ./configure looks like this:
Code:
./configure \
--with-apxs2=/usr/sbin/apxs \
--enable-shared \
--with-mysql \
--with-zlib \
--with-pdo=shared,/usr \
--with-pdo-mysql=shared,/usr \
--enable-calendar \
--with-curl \
--with-xml \
--prefix=/usr \
--exec-prefix=/usr \
--enable-ftp \
--enable-exif \
--with-pear=/usr/share/pear \
--with-openssl \
--with-gd \
--enable-sockets \
--enable-soap \
--with-config-file-path=/etc \
--enable-memory-limit \
--with-pic \
--enable-bcmath \
--with-bz2 \
--enable-ctype \
--with-iconv \
--with-gettext \
--enable-mbstring \
--without-pgsql \
--with-imap-ssl \
--with-mysqli \
--enable-zip \
Any ideas as to why it is erroring? I'm executing this as root, so permissions shouldn't be an issue I think.
Cheers,
Matt