Hi there,

I'm trying to compile snmp (ucd_snmp 4.2.1 installed in /usr/local/snmp)
into PHP 4.0.6 all works fine ( ./configure --with-mysql
--with-apache=../apache_1.3.20/ --enable-track-vars
--with-snmp=/usr/local/snmp/ --enable-ucd-snmp-hack). Then I try to
configure apache 1.3.20 but that doesn't work.

[root@hello apache_1.3.20]# ./configure --prefix=/usr/local/apache/
--activate-module=src/modules/php4/libphp4.a 
Configuring for Apache, Version 1.3.20
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
[root@hello apache_1.3.20]# ./configure --prefix=/usr/local/apache/
--activate-module=src/modules/php4/libphp4.a 
Configuring for Apache, Version 1.3.20
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
cd ..; gcc  -DLINUX=22 -I/tmp/php-4.0.6 -I/tmp/php-4.0.6/main
-I/tmp/php-4.0.6/main -I/tmp/php-4.0.6/Zend -I/tmp/php-4.0.6/Zend
-I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6/TSRM -I/tmp/php-4.0.6 -DUSE_EXPAT
-I./lib/expat-lite -DNO_DL_NEEDED `./apaci`     -o helpers/dummy
helpers/dummy.c   -Wl,-rpath,/usr/local/snmp//lib  -rdynamic
-L/usr/local/snmp//lib -Lmodules/php4 -L../modules/php4
-L../../modules/php4 -lmodphp4  -lpam  -ldl -lsnmp -lcrypt -lresolv -lm
-ldl -lnsl  -lresolv   -lm -lcrypt
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`EVP_DigestFinal'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`des_cbc_encrypt'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`EVP_DigestUpdate'
/usr/local/snmp//lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/snmp//lib/libsnmp.so: undefined reference to
`des_ncbc_encrypt'
collect2: ld returned 1 exit status
make: *** [dummy] Error 1
Creating Makefile in src
 + configured for Linux platform
 + setting C compiler to gcc
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o php4_module uses ConfigStart/End
 + checking sizeof various data types
 + doing sanity check on compiler and options
** A test compilation with your Makefile configuration
** failed.  The below error output from the compilation
** test will give you an idea what is failing. Note that
** Apache requires an ANSI C Compiler, such as gcc. 

======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!
[root@hello apache_1.3.20]#

any Idea what goes wrong?

Regards,

Jac
-- 
Jac Kloots
SURFnet bv
The Netherlands

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to