Re: apache 1.3.12 make failure with mod_perl 1.2.2

2000-04-14 Thread Matt Sergeant

On Fri, 14 Apr 2000, Michael Moen wrote:

> Hi Folks- I tried searching the archives and the only thing I found close to
> this was re-building perl dynamically, I (think) I got this done, although I
> could be wrong.

Perhaps you should read your error messages more closely. Looks like
you're mixing builds somewhere: The apache build says mod_perl version
1.21. You've probably compiled in the same directory with your earlier
perl version.

-- 


Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org




apache 1.3.12 make failure with mod_perl 1.2.2

2000-04-14 Thread Michael Moen

Hi Folks- I tried searching the archives and the only thing I found close to
this was re-building perl dynamically, I (think) I got this done, although I
could be wrong.

I will include any output I think might be relevant. Any suggestions would
be greatly appreciated.

Thanks- Michael

mod_perl builds fine, when I try to build apache 1.3.12
with --activate-module=src/modules/perl/libperl.a the make fails. with this
error.

apache_1.3.12/make


===> modules/perl
cc -O2 -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE
_OFFSET_BITS=64 -I/usr/local/lib/perl5/5.6.0/i686-linux-multi/CORE  -DMOD_PE
RL_VERSION=\"1.21\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.21\" -I../..  -I/
usr/local/lib/perl5/5.6.0/i686-linux-multi/CORE  -I../../os/unix -I../../inc
lude   -DLINUX=2 -DMOD_PERL -DUSE_PERL_SSI -fno-strict-aliasing -I/usr/local
/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DUSE_EXPA
T -I../../lib/expat-lite -DNO_DL_NEEDED -DMOD_PERL -c mod_perl.c
mod_perl.c:1049: macro `hv_exists' used with only 2 args
mod_perl.c:1050: macro `hv_fetch' used with only 3 args
mod_perl.c:1056: macro `hv_store' used with only 4 args
make[3]: *** [mod_perl.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/src/apache_1.3.12/src'
make: *** [apache_httpd] Error 2

#

Her is the output from perl

perl -v

This is perl, v5.6.0 built for i686-linux-multi

Copyright 1987-2000, Larry Wall

Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5.0 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'.  If you have access to the
Internet, point your browser at http://www.perl.com/, the Perl Home Page.

#

perl -V
Summary of my perl5 (revision 5.0 version 6 subversion 0) configuration:
  Platform:
osname=linux, osvers=2.2.14-5.0, archname=i686-linux-multi i
config_args=''
hint=recommended, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=define
useperlio=undef d_sfio=undef uselargefiles=define
use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=undef
  Compiler:
cc='cc', optimize='-O2', gccversion=egcs-2.91.66 19990314/Linux
(egcs-1.1.2 release)
cppflags='-fno-strict-aliasing -I/usr/local/include'
ccflags
='-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFS
ET_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 =''
libpth=/usr/lib /lib
libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lc -lposix -lcrypt
libc=/lib/libc-2.1.2.so, so=so, useshrplib=true, libperl=libperl.so
  Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef,
ccdlflags='-rdynamic -Wl,-rpath,/usr/local/lib/perl5/5.6.0/i686-linux-multi/
CORE'
cccdlflags='-fpic', lddlflags='-shared'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
  Built under linux
  Compiled at Apr 13 2000 19:39:52
  @INC:
/usr/local/lib/perl5/5.6.0/i686-linux-multi
/usr/local/lib/perl5/5.6.0
/usr/local/lib/perl5/site_perl/5.6.0/i686-linux-multi
/usr/local/lib/perl5/site_perl/5.6.0
/usr/local/lib/perl5/site_perl