Hi everyone (long time no see)

I am working on a client's machine with RedHat Linux. I'm trying to build 
Apache/mod_perl/mod_ssl from the sources, but become stuck when trying to 
make in the mod_perl directory.

The error is:
[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

The configuration had gone according to expectations except for:

[root@wm mod_perl-1.25]# perl Makefile.PL USE_APACI=1 EVERYTHING=1 
DO_HTTPD=1 APACHE_PREFIX=/usr/local/apachessl 
APACHE_SRC=../apache_1.3.17/src SSL_BASE=SYSTEM 
APACI_ARGS='--enable-module=ssl,--enable-module=expires,--enable-module=rewrite'
[ ... ]
Configuring for Apache, Version 1.3.17
  + using installation path layout: Apache (config.layout)
  + activated perl module (modules/perl/libperl.a)
Creating Makefile
Creating Configuration.apaci in src
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
[ ... ]
  + adding selected modules
     o rewrite_module uses ConfigStart/End
       disabling DBM support for mod_rewrite
       (perhaps you need to add -ldbm, -lndbm or -lgdbm to EXTRA_LIBS)
[ ... ]


I read in the INSTALL docs that the first error should not occur if openssl 
is already built and SSL_BASE is set to SYSTEM ... but there it is ... ?

And I read on this list's archives that the second error (about lgdbm) may 
be caused by using Linux' RPM Perl, so I just built a new Perl from source ...

I also read to see if Apache will make on it's own, and indeed it does.

But then I can't make in the mod_perl tree with the error given at the top.

Please help!

Thanks,

Nick

My Perl:

[root@wm lib]# 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


Reply via email to