From:             [EMAIL PROTECTED]
Operating system: FreeBSD 4.2
PHP version:      4.0.4pl1
PHP Bug Type:     Apache related
Bug description:  compile failure w/ apache/ snmp

php config:

./configure --with-mysql --with-apache=../apache_1.3.14 --with-imap=../imap-2000a 
--enable-track-vars --with-snmp --with-ucd-snmp-hack

php compiles and installs but i get the following attempting to compile apache:

./configure --prefix=/home/www --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.14
 + using installation path layout: Apache (config.layout)
 + activated php4 module (modules/php4/libphp4.a)
Creating Makefile
Creating Configuration.apaci in src
Creating Makefile in src
 + configured for FreeBSD 4.2 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.

cd ..; gcc  -funsigned-char -I/usr/home/software/php-4.0.4pl1 
-I/usr/home/software/php-4.0.4pl1/main -I/usr/home/software/php-4.0.4pl1/main 
-I/usr/home/software/php-4.0.4pl1/Zend -I/usr/home/software/php-4.0.4pl1/Zend 
-I/usr/home/software/php-4.0.4pl1/TSRM -I/usr/home/software/php-4.0.4pl1/TSRM 
-I/usr/home/software/php-4.0.4pl1 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED 
`./apaci`     -o helpers/dummy helpers/dummy.c   
-R/usr/home/software/imap-2000a/c-client -R/usr/local/lib  -rdynamic 
-L/usr/home/software/imap-2000a/c-client -L/usr/local/lib -Lmodules/php4 
-L../modules/php4 -L../../modules/php4 -lmodphp4  -lpam -lc-client  -lsnmp -lm -lcrypt 
   -lcrypt
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_md5'
/usr/local/lib/libsnmp.so: undefined reference to `HMAC'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_sha1'
/usr/local/lib/libsnmp.so: undefined reference to `des_cbc_encrypt'
/usr/local/lib/libsnmp.so: undefined reference to `des_key_sched'
/usr/local/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
/usr/local/lib/libsnmp.so: undefined reference to `RAND_bytes'
/usr/local/lib/libsnmp.so: undefined reference to `des_ncbc_encrypt'
*** Error code 1

Stop in /usr/home/software/apache_1.3.14/src/helpers.
======== Error Output for sanity check ========
============= End of Error Report =============

 Aborting!



-- 
Edit Bug report at: http://bugs.php.net/?id=9184&edit=1



-- 
PHP Development 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