segmentation fault; php 5.2.0; on pear part.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



i got this to work on a test solaris 10 machine, but
it won't work on my production solaris 9 machine.

i ran ldd on the php to make sure i had the right libs:
        librt.so.1 =>    /usr/lib/librt.so.1
        libresolv.so.2 =>        /usr/lib/libresolv.so.2
        libm.so.1 =>     /usr/lib/libm.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libz.so.0 =>     /opt/lib/libz.so.0
        libxml2.so.2 =>  /opt/depot/libxml2-2.6.26/lib/libxml2.so.2
        libdl.so.1 =>    /usr/lib/libdl.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmd5.so.1 =>   /usr/lib/libmd5.so.1
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libgcc_s.so.1 =>         /opt/lib/libgcc_s.so.1
        libthread.so.1 =>        /usr/lib/libthread.so.1
        /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1
        /usr/platform/SUNW,Ultra-4/lib/libmd5_psr.so.1

trying the command (below) gives me a segmentation fault.



here's the configure and so forth.
--------------------------------------------------------
./configure --prefix=/opt/depot/php-5.2.0     \
        --with-apxs=/opt/depot/apache-1.3.29/bin/apxs       \
        --with-libxml-dir=/opt/depot/libxml2-2.6.26     \
        --without-sybase --without-sybase-ct            \
        --without-mysql                                 \
        --without-pgsql

make

make install

returns this:
Installing PHP CLI binary:        /opt/depot/php-5.2.0/bin/
Installing PHP CLI man page:      /opt/depot/php-5.2.0/man/man1/
Installing build environment:     /opt/depot/php-5.2.0/lib/php/build/
Installing header files:          /opt/depot/php-5.2.0/include/php/
Installing helper programs:       /opt/depot/php-5.2.0/bin/
  program: phpize
  program: php-config
Installing man pages:             /opt/depot/php-5.2.0/man/man1/
  page: phpize.1
  page: php-config.1
Installing PEAR environment:      /opt/depot/php-5.2.0/lib/php/
*** Error code 139
The following command caused the error:
/VOLUMES/applications/workjgs/php-5.2.0/sapi/cli/php 
-n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL 
-dmemory_limit=-1 -ddetect_unicode=0 pear/install-pear-nozlib.phar 
-d "/opt/depot/php-5.2.0/lib/php" 
-b "/opt/depot/php-5.2.0/bin"

###	i put in some linebreaks to make the above easier to read.

make: Fatal error: Command failed for target `install-pear-installer'
Current working directory /VOLUMES/applications/workjgs/php-5.2.0
*** Error code 1
make: Fatal error: Command failed for target `install-pear'

-- 
Jay Scott		512-835-3553		gl@xxxxxxxxxxxxxxxx
Head of Sun Support, Sr. Operating Systems Specialist
Applied Research Labs, Computer Science Div.                   S224
University of Texas at Austin

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux