Hi there, i'm having awful trouble getting PHP 4.3.0 to compile on RedHat
8.0 . The main reason i'm trying to achieve this is to get sablotron working
for XSLT. I have Sablotron compiled and installed.

error:
[root@asbestos php-4.3.0]# make
/bin/sh libtool --silent --mode=link
gcc -DPHP_ATOM_INC -I/home/xo/src/php-4.3.0/include -I/home/xo/src/php-4.3.0
/main -I/home/xo/src/php-4.3.0 -I/usr/include/httpd -I/home/xo/src/php-4.3.0
/Zend -I/usr/include/libxml2 -I/usr/include/freetype2 -I/usr/include/imap -I
/usr/include/mysql -I/usr/include/pspell -I/home/xo/src/php-4.3.0/ext/xml/ex
pat -I/usr/local/include  -I/home/xo/src/php-4.3.0/TSRM  -g -O2   -o
ext/snmp/snmp.la -export-dynamic -avoid-version -prefer-pic -module -rpath
/home/xo/src/php-4.3.0/modules -export-symbols
/home/xo/src/php-4.3.0/sapi/apache2filter/php.sym -avoid-version -module -L/
usr/lib/gcc-lib/i386-redhat-linux/3.2 -L/usr/local/lib
ext/snmp/snmp.lo -lnetsnmp -lcrypto -lelf -lm
/usr/bin/ld: cannot find -lelf
collect2: ld returned 1 exit status
make: *** [ext/snmp/snmp.la] Error 1

Anyone come across this error before? I tried to websearch on that
particular error but most of the advice was inappropriate (and for other
software, things like "then, reinstall (some piece of software i'm not
trying to make work)".

configure:
./configure \
--build=i686-pc-linux-gnu \
--disable-debug \
--disable-rpath \
--enable-bcmath \
--enable-calendar \
--enable-dbx \
--enable-dio \
--enable-discard-path \
--enable-exif \
--enable-force-cgi-redirect \
--enable-ftp \
--enable-gd-native-ttf \
--enable-inline-optimization \
--enable-libgcc \
--enable-magic-quotes \
--enable-mcal \
--enable-memory-limit \
--enable-pic \
--enable-safe-mode \
--enable-shmop \
--enable-sockets \
--enable-sysvsem \
--enable-sysvshm \
--enable-track-vars \
--enable-trans-sid \
--enable-ucd-snmp-hack \
--enable-versioning \
--enable-wddx \
--enable-xslt \
--host=i686-pc-linux-gnu \
--target=i686-redhat-linux-gnu \
--with-apxs2=/usr/sbin/apxs \
--with-bz2 \
--with-curl \
--with-db3 \
--with-dom=/usr \
--with-freetype-dir=/usr \
--with-gd \
--with-gdbm \
--with-gettext \
--with-gmp \
--with-gnu-ld \
--with-iconv \
--with-imap=shared \
--with-imap-ssl \
--with-jpeg-dir=/usr \
--with-kerberos=/usr/kerberos \
--with-ldap=shared \
--with-mysql=shared,/usr \
--with-ncurses=shared \
--with-openssl=shared \
--without-oci8 \
--with-pear \
--with-pear=/usr/share/pear \
--with-pgsql=shared \
--with-png \
--with-png-dir=/usr \
--with-pspell \
--with-snmp=shared,/usr \
--with-ttf  \
--with-unixODBC=shared \
--with-xslt-sablot=shared \
--with-zlib=shared





-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to