[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modssl
Subject: Troubles with getting Apache 1.3.22/ModPHP4.0.6/ModSSL2.8.2 to configure
From: ulairi () ulairi ! csun ! edu
Date: 2001-11-23 7:13:40
[Download RAW message or body]
Environment: Solaris 2.7, ForteDeveloper C/C++ v6.0.
Using gcc produces similar types of problems (text differs, same errors,
though)
If commandline is:
./configure --prefix=/usr2/apache_1.3.22 --activate-
module=/src/modules/php4/libphp4.a,
the configure run succeeds and make/make install works.
After that, went to my modssl dir, ran:
[607]# ./configure --with-apache=/usr2/sources/Apache/Apache_1.3.22
Configuring mod_ssl/2.8.5 for Apache/1.3.22
+ Apache location: /usr2/sources/Apache/Apache_1.3.22 (Version 1.3.22)
+ Auxiliary patch tool: ./etc/patch/patch (local)
+ Applying packages to Apache source tree:
o Extended API (EAPI)
o Distribution Documents
o SSL Module Source
o SSL Support
o SSL Configuration Additions
o SSL Module Documentation
o Addons
Done: source extension and patches successfully applied.
Now proceed with the following commands (Bourne-Shell syntax):
$ cd /usr2/sources/Apache/Apache_1.3.22
$ SSL_BASE=/path/to/openssl ./configure ... --enable-module=ssl
$ make
$ make certificate
$ make install
Now, trying to get Apache configured for the PHP4.0.6 and ModSSl 2.8.5 build:
[523]# ./configure --prefix=/usr2/apache_1.3.22 --activate-
module=src/modules/php4/libphp4.a --enable-module=ssl
Configuring for Apache, Version 1.3.22
+ 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 Solaris 270 platform
+ setting C pre-processor to cc -E
+ checking for system header files
+ adding selected modules
o ssl_module uses ConfigStart/End
+ SSL interface: mod_ssl/2.8.5
+ SSL interface build type: OBJ
+ SSL interface compatibility: enabled
+ SSL interface experimental code: disabled
+ SSL interface conservative code: disabled
+ SSL interface vendor extensions: disabled
+ SSL interface plugin: Vendor DBM (libc)
+ SSL library path: /usr2/OpenSSL
+ SSL library version: OpenSSL 0.9.6b 9 Jul 2001
+ SSL library type: installed package (stand-alone)
o php4_module uses ConfigStart/End
+ enabling Extended API (EAPI)
using MM library for EAPI: (system-wide)
+ using builtin Expat
+ 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 ..; cc -DSOLARIS2=270 -DMOD_SSL=208105 -I/usr2/sources/PHP/PHP4/php-4.0.6 -
I/usr2/sources/PHP/PHP4/php-4.0.6/main -I/usr2/sources/PHP/PHP4/php-4.0.6/main -
I/usr2/sources/PHP/PHP4/php-4.0.6/Zend -I/usr2/sources/PHP/PHP4/php-4.0.6/Zend -
I/usr2/sources/PHP/PHP4/php-4.0.6/TSRM -I/usr2/sources/PHP/PHP4/php-4.0.6/TSRM -
I/usr2/sources/PHP/PHP4/php-4.0.6 -DEAPI -DEAPI_MM -DUSE_EXPAT -I./lib/expat-
lite -DNO_DL_NEEDED -I/opt/ForteDeveloper/SUNWspro/include -I/usr2/include -
I/usr/openwin/share/include -I/usr/openwin/include -I/usr/dt/share/include -
I/usr/dt/include -I/usr/java1.1/include -I/usr/local/include `./apaci` -
I/usr/local/include -L/usr2/OpenSSL/lib -L/usr/local/lib -L/usr2/lib -
L/usr/local/lib -L/usr/lib -L/usr/openwin/lib -L/usr/ucblib -
L/usr/ucblib/sparcv9 -o helpers/dummy helpers/dummy.c -lpthread -lposix4 -
lsocket -lnsl -ldb -R/usr/ucblib -R/usr2/lib -R/usr2/lib/mysql -L/usr/ucblib -
L/usr2/lib -L/usr2/lib/mysql -Lmodules/php4 -L../modules/php4 -
L../../modules/php4 -lmodphp4 -lpam -lc-client -ldl -lmysqlclient -lldap -
llber -lpam -lintl -ldb-3 -lcrypt -lresolv -lresolv -lm -ldl -lsocket -
lpthread -lposix4 -lsocket -lnsl -ldb -lsocket -lsocket -lnsl -lssl -
lcrypto -lmm
Undefined first referenced
symbol in file
ber_pvt_sb_buf_init /usr2/lib/libldap.so
ber_pvt_sb_copy_out /usr2/lib/libldap.so
ber_sockbuf_io_readahead /usr2/lib/libldap.so
ber_pvt_sb_grow_buffer /usr2/lib/libldap.so
ber_pvt_sb_do_write /usr2/lib/libldap.so
ber_log_dump /usr2/lib/libldap.so
ber_pvt_sb_buf_destroy /usr2/lib/libldap.so
ber_sockbuf_alloc /usr2/lib/libldap.so
ber_pvt_log_printf /usr2/lib/libldap.so
ber_sockbuf_io_tcp /usr2/lib/libldap.so
ber_memrealloc /usr2/lib/libldap.so
ber_sockbuf_io_fd /usr2/lib/libldap.so
ber_flatten /usr2/lib/libldap.so
ber_pvt_socket_set_nonblock /usr2/lib/libldap.so
ber_memfree /usr2/lib/libldap.so
ber_memcalloc /usr2/lib/libldap.so
ber_set_option /usr2/lib/libldap.so
ber_memvfree /usr2/lib/libldap.so
ber_sockbuf_io_debug /usr2/lib/libldap.so
ber_sockbuf_ctrl /usr2/lib/libldap.so
ber_memalloc /usr2/lib/libldap.so
ber_strdup /usr2/lib/libldap.so
ber_sockbuf_free /usr2/lib/libldap.so
ber_pvt_log_print /usr2/lib/libldap.so
ber_sockbuf_add_io /usr2/lib/libldap.so
ld: fatal: Symbol referencing errors. No output written to helpers/dummy
*** Error code 1
make: Fatal error: Command failed for target `dummy'
======== Error Output for sanity check ========
============= End of Error Report =============
there is -llber in the compile line and there is /usr2/lib/liblber.so, but
after the configure run from ModSSL, that seems to not work.
Any hints, ideas, solutions?
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic