sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #95621
Problem med installation af PHP 5.2.6 med PEAR
På en nyligt installeret Debian Etch på en Sun UltraSparc 1 har jeg
valgt at installere Apache, MySQL og PHP manuelt fra kildekode i hhv.
/usr/local/apache, /usr/local/mysql og /usr/local/php for at kunne
konfigurere dem helt efter eget ønske med henblik på at kunne
eksperimentere.
Lige indtil installationen af PHP er alt gået fint. Når jeg installere
PHP 5.2.6, får jeg følgende output fra "make install":
----- START OUTPUT -----
Installing PHP SAPI module: apache2handler
/usr/local/apache/build/instdso.sh
SH_LIBTOOL='/usr/local/apache/build/libtool' libphp5.la
/usr/local/apache/modules
/usr/local/apache/build/libtool --mode=install cp libphp5.la
/usr/local/apache/modules/
cp .libs/libphp5.so /usr/local/apache/modules/libphp5.so
cp .libs/libphp5.lai /usr/local/apache/modules/libphp5.la
libtool: install: warning: remember to run `libtool --finish
/home/david/packages/php-5.2.6/libs'
chmod 755 /usr/local/apache/modules/libphp5.so
[activating module `php5' in /usr/local/apache/conf/httpd.conf]
Installing PHP CLI binary: /usr/local/php/bin/
Installing PHP CLI man page: /usr/local/php/man/man1/
Installing build environment: /usr/local/php/lib/php/build/
Installing header files: /usr/local/php/include/php/
Installing helper programs: /usr/local/php/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/php/man/man1/
page: phpize.1
page: php-config.1
Installing PEAR environment: /usr/local/php/lib/php/
make[1]: *** [install-pear-installer] Lagersegmentfejl
make: *** [install-pear] Fejl 2
----- OUTPUT SLUT -----
Bruger jeg configure option "--without-pear" får jeg ingen fejl, og PHP
kan køre. Jeg ønsker imidlertid at bruge PEAR moduler, så installationen
af PEAR er essentiel.
Ydermere får jeg, hvis jeg udsteder "make test" mellem "make" og "make
install" denne fejl:
----- START OUTPUT -----
/bin/sh: line 18: 17809 Lagersegmentfejl
TEST_PHP_EXECUTABLE=/home/david/packages/php-5.2.6/sapi/cli/php
TEST_PHP_SRCDIR=/home/davi
d/packages/php-5.2.6 CC="gcc"
/home/david/packages/php-5.2.6/sapi/cli/php -d 'open_basedir=' -d
'output_buffering=0' -d 'memory_limit=-1'
/home/david/packages/php-5.2.6/run-tests.php -c
/home/david/packages/php-5.2.6/tmp-php.ini -U -d
extension_dir=/home/david/packages/php-5.
2.6/modules/ ` if test "x" != "x"; then for i in ""; do . $i;
/home/david/packages/php-5.2.6/build/shtool echo -n -- " -d extension=$dlnam
e"; done; fi`
make: [test] Fejl 139 (ignoreret)
----- OUTPUT SLUT -----
Kan nogen gennemskue hvad jeg skal kigge efter?
Med venlig hilsen
David List