Link to home
Start Free TrialLog in
Avatar of kenitech
kenitech

asked on

trying to compile php with pfpro

trying to compile php with pfpro.  This is my configure line:
 
./configure --with-mysql=/usr/local/mysql --with-apxs2=/usr/sbin/apxs --with-gd --with-jpeg-dir=/usr/lib --with-zlib-dir=/usr/lib --enable-gd-native-ttf --with-png --with-ttf --with-freetype-dir=/usr/lib --with-curl=/usr/local --with-config-file-path=/usr/local/lib --with-mcrypt=/usr/lib --with-mhash=/usr/local/lib --with-openssl --with-pfpro=/usr/local/paypal/payflowpro/linuxrh9/lib

 
this configures fine, make is fine, but on make install I get this:
 
Installing PHP SAPI module:       apache2handler
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/bin/libtool' libphp4.la /usr/lib/httpd/modules
/usr/bin/libtool --mode=install cp libphp4.la /usr/lib/httpd/modules/
cp .libs/libphp4.so /usr/lib/httpd/modules/libphp4.so
cp .libs/libphp4.lai /usr/lib/httpd/modules/libphp4.la
libtool: install: warning: remember to run `libtool --finish /usr/local/php-4.3.11/libs'
chmod 755 /usr/lib/httpd/modules/libphp4.so
[activating module `php4' in /etc/httpd/conf/httpd.conf]
Installing PHP CLI binary:        /usr/local/bin/
Installing PHP CLI man page:      /usr/local/man/man1/
Installing PEAR environment:      /usr/local/lib/php/
[PEAR] Archive_Tar    - already installed: 1.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] PEAR           - already installed: 1.3.5
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
make[1]: *** [install-pear-packages] Segmentation fault
make: *** [install-pear] Error 2
Avatar of hernst42
hernst42
Flag of Germany image

Sees there is a problem with your php and the used libraries. In /usr/local/bin the php cli should exists.
Does a
/usr/local/bin/php -v
also segfaults?
ASKER CERTIFIED SOLUTION
Avatar of kenitech
kenitech

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial