Salam,

Saya tidak bisa mengcompile php-4.0.4pl1 dan php-4.0.5 di Redhat 6.2.
karena deteksi zlib-nya salah. Ada yang punya pengalaman atau mungkin dari
ucd-snmp-nya? Maaf ya kerana emailnya yang besar dan rada oot.

perintah configure:
./configure  --with-apxs=/usr/sbin/apxs --with-config-file-path=/etc/httpd  
--with-gdbm --with-db2 --enable-debugger
--enable-magic-quotes --enable-track-vars --enable-sysvsem --enable-sysvshm 
--with-xml
--with-ftp --with-mysql --with-pgsql --with-ldap --enable-dba 
--enable-calendar
--with-gd --with-snmp --with-zlib=/usr

pesan kesalahannya adalah:

checking for gzgets in -lz... no
configure: error: Zlib module requires zlib >= 1.0.9.

dari config.log:
configure:1843: checking whether we are using GNU C
configure:1852: gcc -E conftest.c

conftest.c -lz  -lsnmp -lpq -lldap -llber -lttf -lgd -ldb -lgdbm -lresolv
-lm -l
dl -lcrypt -lnsl  -lresolv 1>&5
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/lib/libsnmp.so: undefined reference to `HMAC'
/usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
collect2: ld returned 1 exit status
configure: failed program was:
#line 48035 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char gzgets();

int main() {
gzgets()



Versi software yang dipakai:
RH 6.2 
gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
zlib dan zlib-devel-1.1.3
apache 1.3.12
automake 1.4
ucd-snmp-4.2.1-2



-- 
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3

Kirim email ke