Has anyone successfuly compiled mod_perl 1.29 from source on Debian Woody? I have the mod_perl source in /usr/local/src/mod_perl-1.29 and apache 1.3.29 source in /usr/local/src/apache_1.3.29. I run the following to start the process:
perl Makefile.PL APACHE_SRC=../apache_1.3.29/src APACHE_PREFIX=/usr/local/apache DO_HTTPD=1 USE_APACI=1 EVERYTHING=1
That finishes up just fine. The problem is during make. An onslaught of errors come back starting with these:
modules/standard/libstandard.a(mod_include.o): In function `handle_perl': mod_include.o(.text+0x1e78): undefined reference to `Perl_newAV' mod_include.o(.text+0x1f4c): undefined reference to `Perl_newSVpv' mod_include.o(.text+0x1fb3): undefined reference to `Perl_newSVpv' mod_include.o(.text+0x1fc5): undefined reference to `Perl_av_push'
... many more snipped ...
can you post the whole thing? including the output of gcc
The problem most likely coming during the linking phase. On my machine:
cc -DLINUX=22 -I/usr/include/db1 -DMOD_PERL -DUSE_PERL_SSI -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_HSREGEX -DNO_DL_NEEDED -DDEBUGGING -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -DPERL_DESTRUCT_LEVEL=2 `./apaci` \
-o httpd buildmark.o modules.o modules/standard/libstandard.a modules/proxy/libproxy.a modules/perl/libperl.a main/libmain.a ./os/unix/libos.a ap/libap.a
regex/libregex.a -lm -lcrypt -ldb1 -rdynamic -Wl,-rpath,/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -L/usr/local/lib /home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/auto/DynaLoader/DynaLoader.a -L/home/stas/perl/5.6.1/lib/5.6.1/i686-linux-perlio/CORE -lperl -lnsl -ldl -lm -lc -lcrypt -lutil
modules/standard/libstandard.a is the archive including mod_include.a so it should link with -lperl just fine. Unless it finds a wrong perl library.
is it possible that you have other (older?) perls installed on the same system and it finds them before your 5.6.1's libperl.so?
Show us the output of:
% locate libperl.so
(there may be libperl.so from mod_perl 1 too if you have ever built mod_perl 1 as DSO, which is misleading called the same as the perl library).
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html