Hello,

I cannot build mod_perl and Apache with mod_ssl on RedHat 7.0. I get errors 
during  creation of the mod_perl Makefile, and then am unable to make mod_perl.

The errors are:

[root@wm mod_perl-1.25]# perl Makefile.PL USE_APACI=1 EVERYTHING=1 
DO_HTTPD=1 
APACI_ARGS='--enable-module=ssl,--enable-module=expires,--enable-module=rewrite' 
SSL_BASE=/usr/share/ssl
[ ... ]
Error: Cannot find SSL binaries under /usr/share/ssl
[ ... ]

## or, without the SSL_BASE argument:

[root@wm mod_perl-1.25]# perl Makefile.PL USE_APACI=1 EVERYTHING=1 
DO_HTTPD=1 
APACI_ARGS='--enable-module=ssl,--enable-module=expires,--enable-module=rewrite' 

[ ... ]
Error: Cannot find SSL header files in any of the following dirs:
Error: . /usr/include /usr/include/ssl/ /usr/local/include 
/usr/local/include/ssl
[ ... ]

## and in either case:

[root@wm mod_perl-1.25]# make
(cd ../apache_1.3.17 && PERL5LIB=/tmp/mod_perl-1.25/lib make)
make[1]: Entering directory `/tmp/apache_1.3.17'
===> src
make[2]: Entering directory `/tmp/apache_1.3.17'
make[3]: Entering directory `/tmp/apache_1.3.17/src'
make[3]: *** No rule to make target `all'.  Stop.
make[3]: Leaving directory `/tmp/apache_1.3.17/src'
make[2]: *** [build-std] Error 2
make[2]: Leaving directory `/tmp/apache_1.3.17'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/tmp/apache_1.3.17'
make: *** [apaci_httpd] Error 2

---------

I was advised on the mod_perl list that the binary RPM Perl that comes with 
RH7.0 might be the problem, so I built a new Perl from source. Also that 
the gcc that comes with RH7 might be the problem so I downgraded to gcc v. 
2.95 -- neither trick helped or even made any difference, apparently.

I can make Apache by itself and I can perl Makefile ... and make 
mod_perl/Apache but if I add the mod_ssl component I get these problems. 
Please help!.

Thanks,

Nick

Some adittional info:

[root@wm mod_perl-1.25]# which openssl
/usr/bin/openssl

[root@wm mod_perl-1.25]# openssl version
OpenSSL 0.9.5a 1 Apr 2000

[root@wm mod_perl-1.25]# ls -la /usr/share/ssl
total 32
drwxr-xr-x    6 root     root         4096 Jan 30 12:41 .
drwxr-xr-x   23 root     root         4096 Jan 29 21:54 ..
drwxr-xr-x    2 root     root         4096 Jan 30 12:41 certs
drwxr-xr-x    2 root     root         4096 Aug 30 11:54 lib
drwxr-xr-x    2 root     root         4096 Jan 30 12:41 misc
-rw-r--r--    1 root     root         7173 Aug 30 11:54 openssl.cnf
drwxr-xr-x    2 root     root         4096 Aug 30 11:54 private

[root@wm mod_perl-1.25]# perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
   Platform:
     osname=linux, osvers=2.2.16-22, archname=i686-linux
     uname='linux wm 2.2.16-22 #1 tue aug 22 16:49:06 edt 2000 i686 unknown '
     config_args=''
     hint=recommended, useposix=true, d_sigaction=define
     usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
     useperlio=undef d_sfio=undef uselargefiles=define
     use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
   Compiler:
     cc='gcc', optimize='-O2', gccversion=2.96 20000731 (Red Hat Linux 7.0)
     cppflags='-fno-strict-aliasing'
     ccflags ='-fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64'
     stdchar='char', d_stdstdio=define, usevfork=false
     intsize=4, longsize=4, ptrsize=4, doublesize=8
     d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
     ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
     alignbytes=4, usemymalloc=n, prototype=define
   Linker and Libraries:
     ld='gcc', ldflags =' -L/usr/local/lib'
     libpth=/usr/local/lib /lib /usr/lib
     libs=-lnsl -lgdbm -ldl -lm -lc -lcrypt
     libc=/lib/libc-2.1.92.so, so=so, useshrplib=false, libperl=libperl.a
   Dynamic Linking:
     dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic'
     cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'


Characteristics of this binary (from libperl):
   Compile-time options: USE_LARGE_FILES
   Built under linux
   Compiled at Jan 30 2001 10:41:19
   @INC:
     /usr/local/lib/perl5/5.6.0/i686-linux
     /usr/local/lib/perl5/5.6.0
     /usr/local/lib/perl5/site_perl/5.6.0/i686-linux
     /usr/local/lib/perl5/site_perl/5.6.0
     /usr/local/lib/perl5/site_perl
     .
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to