Hi,
I was trying to build Apache 1.3.27 + mod_perl 1.27 from
the mod_perl tree. Dir structure as follows:
/usr/local/apache2-19
/use/local/apache2-19/build
/use/local/apache2-19/build/apache_1.3.27
/use/local/apache2-19/build/mod_perl-1.27
So, following the suggestion from
http://perl.apache.org/docs/1.0/guide/install.html#APACI_ARGS
that one can pass *any* arguments to the Apache ./configure through the
APACI_ARGS directive, I placed the following lines into
/use/local/apache2-19/build/makepl_args.mod_perl
APACHE_SRC=../apache_1.3.27/src DO_HTTPD=1 USE_APACI=1 EVERYTHING=1 \
APACI_ARGS='--prefix=/usr/local/apache2-19, --enable-module=dir'
This generated some errors during the configure process
cd /use/local/apache2-19/build/mod_perl-1.27/
make clean
perl Makefile.pl
...
'--ENABLE-MODULE' is not a known MakeMaker parameter name.
...
I then discovered ADD_MODULE parameter and used that instead of using
the Apache's --enable-module parameter.
Correct me I am wrong, but I think the guide's section on using the
APACI_ARGS parameter should say something about not being able to
use '--enable-module' there, and have a pointer to the ADD_MODULE parameter.
I have attached the output of perl -V, though I don't think it makes a
difference in this case.
Thanks,
Arsh
P.S. I apologize if my post is too long, I don't post very often ...
so I guess I don't have a good feel for what can be left out.
$ perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
Platform:
osname=linux, osvers=2.4.7-10, archname=i686-linux
uname='linux ejp_linux1 2.4.7-10 #1 thu sep 6 17:27:27 edt 2001
i686 unknown
'
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=unde
f
useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
Compiler:
cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SO
URCE -D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccversion='', gccversion='2.96 20000731 (Red Hat Linux 7.1
2.96-98)', gccosa
ndvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
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 -ldb -ldl -lm -lc -lcrypt -lutil
perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil
libc=/lib/libc-2.2.4.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 May 30 2002 16:48:17
@INC:
/usr/lib/perl5/5.6.1/i686-linux
/usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i686-linux
/usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.6.0/i686-linux
usr/lib/perl5/site_perl/5.6.0/
.
$
- Re: Help with Apache 1.3.27 + mod_perl 1.27 installatio... Arshavir Grigorian
- Re: Help with Apache 1.3.27 + mod_perl 1.27 instal... Ged Haywood
- Re: Help with Apache 1.3.27 + mod_perl 1.27 in... Arshavir Grigorian
- Re: Help with Apache 1.3.27 + mod_perl 1.27 instal... Stas Bekman