i have a installation / configuration problem using mod_perl
apache is version 1.3.14
perl is 5.6.0
the apache was made by
./config \
--prefix=/usr/local/httpd \
--enable-modules=most \
--enable-shared=max
i have the modperl in /root/.cpan/build/mod_perl-1.2.24
and i made it via
perl Makefile.PL USE_APXS=1 WITH_APXS=/sbin/apxs EVERYTHING=1
(in order to get a loadable module)
now there are 2 problems:
1. the "make install" installs the library in /usr/lib/apache
and i dont know where i can do that in my
/usr/local/httpd/libexec,
where my other modules are located.
2. the "make install" tries to update the (wrong)
/etc/httpd/httpd.conf
whereas i wanted to do it in my
/usr/local/httpd/conf/httpd.conf
make test results in: Can't make test with APXS (yet)
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
Platform:
osname=linux, osvers=2.2.16, archname=i686-linux
uname='linux laphroaig 2.2.16 #1 wed aug 2 20:22:26 gmt 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='cc', optimize='-O2', gccversion=2.95.2 19991024 (release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags ='-fno-strict-aliasing -I/usr/local/include -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='cc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=, 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 Nov 2 2000 23:01:23
@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