make install will nicht
am 20.12.2004 21:32:36 von Christoph Becker
Hallo NG,
bei meinem Versuch PHP4.3.10 zu kompillieren, hänge ich an der folgender
Stelle fest:
# make install
Installing PHP SAPI module: apache2handler
/usr/share/apache2/build/instdso.sh
SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp4.la
/usr/lib/apache2-prefork
/usr/share/apache2/build/libtool --mode=install cp libphp4.la
/usr/lib/apache2-prefork/
cp .libs/libphp4.so /usr/lib/apache2-prefork/libphp4.so
cp .libs/libphp4.lai /usr/lib/apache2-prefork/libphp4.la
libtool: install: warning: remember to run `libtool --finish
/root/php-4.3.10/libs'
chmod 755 /usr/lib/apache2-prefork/libphp4.so
apxs:Error: Activation failed for custom
/etc/apache2/httpd2-prefork.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Error 1
Suse9.1
gcc (GCC) 3.3.1 (SuSE Linux)
apache2 installiert und läuft. (PHP 4.3.6 installiert, auch ok)
in /etc/apache2/httpd2-prefork.conf existiert genau ein Eintrag mit
LoadModule :)
Gruß
Christoph
Re: make install will nicht
am 21.12.2004 12:53:22 von dev-null-use-reply-adress
Christoph Becker schrieb:
> bei meinem Versuch PHP4.3.10 zu kompillieren, hänge ich an der folgender
> Stelle fest:
Hab' auch grad' erst gerstern eine SuSE Kiste mit selbst kompilieren
auf 4.3.10 upgedatet, allerdings mit Apache 1.3.
> # make install
> Installing PHP SAPI module: apache2handler
> /usr/share/apache2/build/instdso.sh
> SH_LIBTOOL='/usr/share/apache2/build/libtool' libphp4.la
[..]
Das verstehe ich alles nicht. ;-(
> apxs:Error: At least one `LoadModule' directive already has to exist..
> make: *** [install-sapi] Error 1
Sowas hatte ich schon sehr oft. apxs schreibt scheinbar gerne
zusätzliche LoadModule bzw. AddModule Zeilen. Einfach hinterher
nochmal per Hand bereinigen.
> Suse9.1
> gcc (GCC) 3.3.1 (SuSE Linux)
> apache2 installiert und läuft. (PHP 4.3.6 installiert, auch ok)
>
> in /etc/apache2/httpd2-prefork.conf existiert genau ein Eintrag mit
> LoadModule :)
Ja, SuSE will bestimmte Module immer gerne in extra Dateien laden.
Hat wohl irgendwas mit SuSEconfig zu tun.
BTW: Ich sichere vor make install immer noch die libphp4.so.
Kann ja mal vorkommen, daß das neue PHP-Modul nicht laufen will.
Gruß, JPM
--
http://www.textkritik.de/schriftundcharakter/sundc008tofu.ht m
http://www.kasper-online.de/goldmail/
Re: make install will nicht
am 21.12.2004 14:55:57 von Christoph Becker
Hallo Ulf,
>># make install ... geht nicht
>
>
> und wie sieht Deine ./configure Anweisung aus?
../configure --prefix=/usr/share --datadir=/usr/share/php
--bindir=/usr/bin --libdir=/usr/share --includedir=/usr/include
--sysconfdir=/etc --with-_lib=lib --with-config-file-path=/etc
--with-exec-dir=/usr/lib/php/bin --disable-debug --enable-bcmath
--enable-calendar --enable-ctype --enable-dbase --enable-discard-path
--enable-exif --enable-filepro --enable-force-cgi-redirect --enable-ftp
--enable-gd-imgstrttf --enable-gd-native-ttf
--enable-inline-optimization --enable-magic-quotes
--enable-mbstr-enc-trans --enable-mbstring --enable-mbregex
--enable-memory-limit --enable-safe-mode --enable-shmop
--enable-sigchild --enable-sysvsem --enable-sysvshm --enable-track-vars
--enable-trans-sid --enable-versioning --enable-wddx --enable-yp
--with-bz2 --with-dom=/usr/include/libxml2 --with-ftp --with-gdbm
--with-gettext --with-gmp --with-imap=yes --with-iodbc
--with-jpeg-dir=/usr --with-ldap=yes --with-mcal=/usr --with-mcrypt
--with-mhash --with-mysql=/usr --with-ndbm --with-png-dir=/usr
--with-readline --with-snmp --with-t1lib --with-tiff-dir=/usr --with-ttf
--with-freetype-dir=yes --with-xml --with-xpm-dir=/usr/X11R6
--with-zlib=yes --with-gd --with-openssl --with-curl --with-imap-ssl
--enable-xslt --with-xslt-sablot --with-iconv
--with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux
Christoph
(ist im prinzip die ./configure des alten builds)