Full_Name: Arthur Luimes
Version: 2.6.6
OS: HP-UX 11.00
Submission from: (NULL) (193.67.25.4)


I am a newbie to Apache and SSL and am getting desperate: need some help with a
problem during the make.

I trying to install Apache 1.3.12 with mod_ssl 2.6.6 for Open SSL 0.9.5a. The
operating system is HP-UX 11.00. During the make I get the following error:

"..................
ld -L/home/tss/install/ap_src_ssl/openssl-0.9.5a -b -o libssl.so mod_ssl.lo
ssl_engine_config.lo ssl
_engine_compat.lo ssl_engine_ds.lo ssl_engine_dh.lo ssl_engine_init.lo
ssl_engine_kernel.lo ssl_engi
ne_rand.lo ssl_engine_io.lo ssl_engine_log.lo ssl_engine_mutex.lo
ssl_engine_pphrase.lo ssl_engine_s
cache.lo ssl_engine_vars.lo ssl_engine_ext.lo ssl_expr.lo ssl_expr_scan.lo
ssl_expr_parse.lo ssl_exp
r_eval.lo ssl_util.lo ssl_util_ssl.lo ssl_util_sdbm.lo ssl_util_table.lo  -ldbm
-lssl -lcrypto -L/us
r/cygnus/hppa-000310/H-hppa1.1-hp-hpux11.00/lib/gcc-lib/hppa1.1-hp-hpux11.00/2.9-hppa-000310
-lgcc
ld: DP relative code in file
/home/tss/install/ap_src_ssl/openssl-0.9.5a/libssl.a(s2_srvr.o) - share
d library must be position
    independent.  Use +z or +Z to recompile.
make[4]: *** [libssl.so] Error 1
make[3]: *** [all] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/home/tss/install/ap_src_ssl/apache-1.3.12/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/home/tss/install/ap_src_ssl/apache-1.3.12'
make: *** [build] Error 2"
It looks like the linker thinks that libssl.a is or should contain postition
independent code. I tried to compile mod_ssl statically! What is wrong?
                                          
My configure statement had the following output:
"# ./configure \
> --with-apache=../apache-1.3.12 \
> --with-ssl=../openssl-0.9.5a \
> --prefix=/usr/local/apache
Configuring mod_ssl/2.6.6 for Apache/1.3.12
 + Apache location: ../apache-1.3.12 (Version 1.3.12)
 + OpenSSL location: ../openssl-0.9.5a
 + 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.

Configuring for Apache, Version 1.3.12
 + using installation path layout: Apache (config.layout)
Creating Makefile
Creating Configuration.apaci in src
 + enabling mod_so for DSO support
Creating Makefile in src
 + configured for HP-UX 11 platform
 + setting C pre-processor to gcc -E
 + checking for system header files
 + adding selected modules
    o rewrite_module uses ConfigStart/End
      enabling DBM support for mod_rewrite
    o dbm_auth_module uses ConfigStart/End
    o ssl_module uses ConfigStart/End
      + SSL interface: mod_ssl/2.6.6
      + SSL interface build type: DSO
      + SSL interface compatibility: enabled
      + SSL interface experimental code: disabled
      + SSL interface conservative code: disabled
      + SSL interface vendor extensions: disabled
      + SSL interface plugin: Configured DBM (-ldbm)
      + SSL library path: /home/tss/install/ap_src_ssl/openssl-0.9.5a
      + SSL library version: OpenSSL 0.9.5a 1 Apr 2000
      + SSL library type: source tree only (stand-alone)
      + SSL library plugin mode: none
 + enabling Extended API (EAPI)
 + checking sizeof various data types
 + doing sanity check on compiler and options
Creating Makefile in src/support
Creating Makefile in src/regex
Creating Makefile in src/os/unix
Creating Makefile in src/ap
Creating Makefile in src/main
Creating Makefile in src/lib/expat-lite
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/extra
Creating Makefile in src/modules/proxy
Creating Makefile in src/modules/ssl

Now proceed with the following commands:
 $ cd ../apache-1.3.12
 $ make
 $ make certificate
 $ make install"


Thanks a lot for your help.



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to