ID: 9184
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Feedback
Status: Closed
Bug Type: Apache related
Assigned To: 
Comments:

No feedback. Considered fixed.

--Jani


Previous Comments:
---------------------------------------------------------------------------

[2001-02-15 12:52:01] [EMAIL PROTECTED]
Your snmp lib is compiled with SSL support so try adding
--with-openssl=/path/to/openssl

into your configure line (assuming you have openssl libraries installed
in your system already)

Another reason for this to happen is that your header files for ucd-snmp
don't match the installed library.

Also, remember to do 'rm config.cache' before reconfiguring PHP
and do 'make clean ; make depend; make ; make install' after configure.

--Jani


---------------------------------------------------------------------------

[2001-02-08 22:31:56] [EMAIL PROTECTED]
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!


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9184&edit=2


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