******** PLEASE DO NOT DELETE BY SEEING THIS MUCH BIG MAIL.***************

Hi,

 

I am trying to support SSL for apache and I am using below packages with the configuration options.

 

Package Name: openssl-0.9.8.tar.gz

Configuration options: sh ./config --openssldir=<path_to_openssl_installation>/openssl

 

Package Name: httpd-2.0.55.tar.gz

Configuration options:

./configure --with-mpm=prefork --enable-rewrite \

 --prefix=<path_to_apache>/apache \

 --with-ssl=<path_to_openssl_installation>/openssl \

 --enable-ssl

 

Package Name: mod_perl-2.0-current.tar.gz

Configuration options:

<path to perl>/perl Makefile.PL \

MP_USE_STATIC=1 MP_INST_APACHE2=1 MP_COMPAT_1X=1 \

MP_AP_PREFIX=$INET_TOP/lib/$OPSYS/apache

Make

 

I am getting below error while compiling the mod_perl.

Running Mkbootstrap for APR ()

chmod 644 APR.bs

rm -f ../../../blib/arch/Apache2/auto/APR/APR.so

LD_RUN_PATH="/smp/inet_4.0.1/lib/Solaris2.9/apache/lib" /opt/SUNWspro/bin/cc  -G -xarch=v9 APR.o -xarch=v9 -o ../../../blib/arch/Apache2/auto/APR/APR.so   -L/smp/inet_4.0.1/lib/Solaris2.9/apache/lib -lapr-0 

ld: fatal: file /smp/inet_4.0.1/lib/Solaris2.9/apache/lib/libapr-0.so: wrong ELF class: ELFCLASS32

ld: fatal: File processing errors. No output written to ../../../blib/arch/Apache2/auto/APR/APR.so

*** Error code 1

make: Fatal error: Command failed for target `../../../blib/arch/Apache2/auto/APR/APR.so'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs/APR/APR

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs/APR

*** Error code 1

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs

*** Error code 1

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09

*** Error code 1

Running make install in mod_perl

================================

cd "src/modules/perl" && make -f Makefile.modperl

rm -f ../../../blib/arch/Apache2/auto/APR/APR.so

LD_RUN_PATH="/smp/inet_4.0.1/lib/Solaris2.9/apache/lib" /opt/SUNWspro/bin/cc  -G -xarch=v9 APR.o -xarch=v9 -o ../../../blib/arch/Apache2/auto/APR/APR.so   -L/smp/inet_4.0.1/lib/Solaris2.9/apache/lib -lapr-0 

ld: fatal: file /smp/inet_4.0.1/lib/Solaris2.9/apache/lib/libapr-0.so: wrong ELF class: ELFCLASS32

ld: fatal: File processing errors. No output written to ../../../blib/arch/Apache2/auto/APR/APR.so

*** Error code 1

make: Fatal error: Command failed for target `../../../blib/arch/Apache2/auto/APR/APR.so'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs/APR/APR

*** Error code 1

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs/APR

*** Error code 1

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09/xs

make: Fatal error: Command failed for target `subdirs'

Current working directory /smp/inet_4.0.1/lib/Solaris2.9/mod_perl-1.99_09

*** Error code 1

*** ERROR *** Unable to find ModPerl::Registry file

make: Fatal error: Command failed for target `MY_SCRIPT_TARGET'

Current working directory /smp/inet_4.0.1/src/mod_perl

*** Error code 1

make: Fatal error: Command failed for target `INSTALL'

Current working directory /smp/inet_4.0.1/src/mod_perl

*** Error code 1

make: Fatal error: Command failed for target `SUBDIRS_TARGET'

Current working directory /smp/inet_4.0.1/src

*** Error code 1

make: Fatal error: Command failed for target `INSTALL'

Current working directory /smp/inet_4.0.1/src

*** Error code 1

make: Fatal error: Command failed for target `SUBDIRS_TARGET'

Current working directory /smp/inet_4.0.1

*** Error code 1

make: Fatal error: Command failed for target `install'

Current working directory /smp/inet_4.0.1

*** Error code 1

 

I am seeking help in below points.

1) Primarily, Please let me know if the packages are compatible with each other?

2) Am I using correct configuration options?

3) Let me know the correct options, packages and how to eliminate the above errors?

 

Thanks in advance.

 

Regards,

Sunil.

 



Confidentiality Notice

The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to