i can't compile/install php-5.2.0.
dismayed# uname -a
SunOS dismayed.arlut.utexas.edu 5.10 Generic_118833-17 sun4u sparc
SUNW,UltraAX-i2
dismayed# gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with:
/gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure
--prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as
--with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-languages=c,c++
--enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
libxml2 compiled with this compiler on this machine.
libxml2-2.6.26
php-5.2.0
below, it's saying it can't find
xmlParserInputBufferCreateFilenameDefault
i checked on that, and turned off sybase. it's still doing it.
./configure --prefix=$ODEPOT/$GPACK \
--with-apxs=/opt/bin/apxs \
--with-libxml-dir=/opt/depot/libxml2-2.6.26 \
--without-sybase --without-sybase-ct
configure output sent to file "progress".
dismayed# grep -i sybase progress
checking for Sybase support... no
checking for Sybase-CT support... no
here's the whole output.
according to what i see (newbie) it's a problem with pear.
what is pear? i assume i want it. i'm installing php, i'm not
the end user. (FWIW)
--------------------------------------------------------------------------------
Installing PHP SAPI module: apache
[activating module `php5' in /opt/depot/apache-1.3.29/conf/httpd.conf]
cp libs/libphp5.so /opt/depot/apache-1.3.29/libexec/libphp5.so
chmod 755 /opt/depot/apache-1.3.29/libexec/libphp5.so
cp /opt/depot/apache-1.3.29/conf/httpd.conf
/opt/depot/apache-1.3.29/conf/httpd.conf.bak
cp /opt/depot/apache-1.3.29/conf/httpd.conf.new
/opt/depot/apache-1.3.29/conf/httpd.conf
rm /opt/depot/apache-1.3.29/conf/httpd.conf.new
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/
ld.so.1: php: fatal: relocation error: file
/VOLUMES/gizmonics/work/php-5.2.0/sapi/cli/php: symbol
xmlParserInputBufferCreateFilenameDefault: referenced symbol not found
*** Error code 137
The following command caused the error:
/VOLUMES/gizmonics/work/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"
make: Fatal error: Command failed for target `install-pear-installer'
Current working directory /VOLUMES/gizmonics/work/php-5.2.0
*** Error code 1
The following command caused the error:
if test -f pear/install-pear-nozlib.phar &&
/VOLUMES/gizmonics/work/php-5.2.0/build/shtool mkdir -p
/opt/depot/php-5.2.0/lib/php; then \
make -s install-pear-installer; \
else \
cat /VOLUMES/gizmonics/work/php-5.2.0/pear/install-pear.txt; \
fi
make: Fatal error: Command failed for target `install-pear'
--------------------------------------------------------------------------------
j.