Mailinglisten-Archive |
Mahlzeit!
Wenn ich PHP 4.3.3RC4 auf HP-UX 11.00 mit "make install" installieren
möchte, erhalte ich folgende Fehlermeldung:
#############################################################################################################
Installing PHP CLI binary: /opt/php/bin/
Installing PHP CLI man page: /opt/php/man/man1/
Installing PHP SAPI module: apache2handler
/opt/apache2/build/instdso.sh SH_LIBTOOL='/opt/apache2/build/libtool' libphp4.la /opt/apache2/modules
/opt/apache2/build/libtool --mode=install cp libphp4.la /opt/apache2/modules/
cp .libs/libphp4.lai /opt/apache2/modules/libphp4.la
cp .libs/libphp4.a /opt/apache2/modules/libphp4.a
ranlib /opt/apache2/modules/libphp4.a
chmod 644 /opt/apache2/modules/libphp4.a
libtool: install: warning: remember to run `libtool --finish /root/admin/src/php-4.3.3RC4/libs'
Warning! dlname not found in /opt/apache2/modules/libphp4.la.
Assuming installing a .so rather than a libtool archive.
chmod 755 /opt/apache2/modules/libphp4.so
chmod: can't access /opt/apache2/modules/libphp4.so
apxs:Error: Command failed with rc=65536
.
*** Error exit code 1
Stop.
#############################################################################################################
Die kompletten Ausgaben von "make" könnt ihr unter
http://email-server.info/~askwar/stuff/PHP_MakeLog.txt einsehen.
In /opt/apache2 ist Apache 2.0.47 installiert.
root_s08nfs:/root/admin/depots/ > ls -la /opt/apache2/modules/
total 7074
drwxr-xr-x 2 root sys 96 Aug 21 12:32 .
drwxr-xr-x 15 root sys 1024 Aug 21 07:21 ..
-rw-rw-r-- 1 vz6tml pcei 8131 Aug 21 07:21 httpd.exp
-rw-r--r-- 1 root sys 3609588 Aug 21 12:32 libphp4.a
-rw-rw-r-- 1 root sys 2097 Aug 21 12:32 libphp4.la
Was ich nicht so ganz verstehe - warum sucht "make install" (bzw.
anscheinend apxs) nach libphp4.so? Unter HP-UX haben Shared Libraries die
Endung .sl. Was mich auch noch wundert - warum wurde keine Shared Library
erzeugt? Ich möchte mit gcc 3.2 kompilieren.
Hier mein configure Aufrufsscript:
#############################################################################################################
#!/bin/sh
INST_DIR=/opt/php
CC=/usr/local/bin/gcc
CFLAGS=-O6
CPPFLAGS="$CFLAGS -I/opt/gmp/include"
LDFLAGS=-L/opt/gmp/lib
export CC CFLAGS CPPFLAGS LDFLAGS
PATH=/usr/local/bin:$PATH
export PATH
apache2=/opt/apache2
./configure \
--prefix=$INST_DIR \
\
--with-apxs2filter=${apache2}/bin/apxs \
--with-apxs2=${apache2}/bin/apxs \
\
--with-openssl \
\
--with-zlib \
--enable-bcmath \
--with-bz2 \
--enable-calendar \
--with-curl \
\
--enable-dba \
--with-gdbm \
--with-inifile \
--with-flatfile \
\
--enable-dbase \
--enable-dbx \
--enable-exif \
--enable-ftp \
\
--with-gd=/opt/gd2 \
--with-ttf \
--enable-gd-native-ttf \
--enable-gd-jis-conv\
\
--with-gettext \
--with-gmp=/opt/gmp \
--with-iconv \
--with-java=/opt/java1.4 \
--with-mhash \
--with-mime-magic \
--with-mysql \
--with-recode \
--enable-shmop \
--enable-sockets \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-yp \
\
--enable-memory-limit
#############################################################################################################
Danke,
Alexander Skwar
--
Bei den Vegetariern heißt der Beischlaf "Bestäubung".
php::bar PHP Wiki - Listenarchive