Hi,
I am trying to compile mod_perl-1.28 without luck.
Here is my config:
SUSE 5.3 (I know it´s old)
gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1
Perl-5.8.0, Apache-1.3.28 & mod_perl-1.28 from source.
perl Makefile.PL APACHE_SRC=/develop/apache_1.3.28/src NO_HTTPD=1 \
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1
SSL_BASE=/usr \
./configure --prefix=/usr/local/apache \
--enable-module=rewrite --enable-shared=rewrite \
--enable-module=speling --enable-shared=speling \
--enable-module=expires --enable-shared=expires \
--enable-module=info--enable-shared=info \
--enable-module=log_agent --enable-shared=log_agent \
--enable-module=log_referer --enable-shared=log_referer \
--enable-module=usertrack --enable-shared=usertrack \
--enable-module=proxy --enable-shared=proxy \
--enable-module=userdir --enable-shared=userdir \
--enable-shared=ssl --enable-module=ssl \
--activate-module=src/modules/perl/libperl.a --enable-shared=perl \
--enable-module=so --enable-suexec \
--suexec-caller=www --suexec-docroot=/usr/local/apache\
--suexec-logfile=apache_suexec_log --sysconfdir=/etc/apache \
--localstatedir=/etc/apache --runtimedir=/etc/apache \
--logfiledir=/etc/apache
gives this:
+ mod_perl build type: DSO
+ id: mod_perl/1.28
+ id: Perl/v5.8.0 (linux) [perl]
+ setting up mod_perl build environment
+ adjusting Apache build environment
** Error: Cannot build mod_include with Perl support (USE_PERL_SSI) **
** when mod_perl is compiled as DSO because of cross-module calls. **
** Ignoring PERL_SSI flag now. **
With Apache-1.3.27 and mod_perl-1.27 I could compile using the same
Perl-installation.
Compiling mod_perl static into httpd gives errors when compiling. They
are described here:
http://thingy.kcilink.com/modperlguide/install/Undefined_reference_to_P
erl_new.html
I even tried a new Perl directory from source but got the same error.
With 1.27 it worked with DSO, what has changed?
Here are Perl infos from the newly compiled version for which I used
the same Policy.SH and config.sh:
perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 0)
configuration:
Platform:
osname=linux, osvers=2.0.35, archname=i686-linux
uname='linux bernd-vmware 2.0.35 #10 wed aug 19 12:01:26 mest 1998
i686 unknown '
config_args='-d'
hint=previous, useposix=true, d_sigaction=define
usethreads=undef use5005threads=undef useithreads=undef
usemultiplicity=undef
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64',
optimize='-O2',
cppflags='-I/usr/include -I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64 -I/usr/include -D_LARGEFILE_SOURCE -
D_FILE_OFFSET_BITS=64'
ccversion='', gccversion='2.7.2.1', gccosandvers=''
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=4
alignbytes=4, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-L/usr/lib -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lgdbm -ldbm -ldb -ldl -lm -lc -lpoll
perllibs=-ldl -lm -lc -lpoll
libc=/lib/libc.so.5.4.46, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-
rdynamic'
cccdlflags='-fpic', lddlflags='-shared -L/usr/lib -L/usr/local/lib'
Characteristics of this binary (from libperl):
Compile-time options: USE_LARGE_FILES
Built under linux
Compiled at Aug 27 2003 13:57:03
@INC:
/usr/local/perl/lib
/usr/local/perl/lib
/usr/local/perl/lib
/usr/local/perl/lib
.
For all programs I used the same compiler and as I stated with the
earlier versions compiling never was a problem.
Maybe I am missing something easy but I looked around for two days now,
read this newsgroup and used Google so any help is very appreciated.
Greetings, Bernd
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html