Re: PLEASE HELP - ERROR Linking Apache with mod_perl
Asghar, I've answered this question a few days ago - look at the archives! (hint: perl.apache.org) search for PL_perl_destruct_level (it'll show up in the next guide's release) > I hope somebody could respond to this problem. > > > I get the following link error when I try to make apache_1.3.9 with > mod_perl-1.21. Am I missing a library module? > > Thanks, > > -Asghar > > > This is how I built it: > cd mod_perl-1.21 > perl Makefile.PL PREP_HTTPD=1 > make > make test > make install > > cd ../apache_1.3.9 > ./configure --with-layout=RedHat --target=perlhttpd > --activate-module=src/modules/perl/libperl.a > > > > > > > gcc -c -I./os/unix -I./include -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX > -DUSE_EXPAT -I./lib/expat-lite `./apaci` buildmark.c > gcc -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX -DUSE_EXPAT > -I./lib/expat-lite `./apaci`\ > -o perlhttpd buildmark.o modules.o modules/perl/libperl.a > modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a > regex/libregex.a lib/expat-lite/libexpat.a -lm -lcrypt > modules/perl/libperl.a(mod_perl.o): In function `perl_shutdown': > mod_perl.o(.text+0xf8): undefined reference to `PL_perl_destruct_level' > mod_perl.o(.text+0x102): undefined reference to `PL_perl_destruct_level' > mod_perl.o(.text+0x10c): undefined reference to `PL_perl_destruct_level' > mod_perl.o(.text+0x13b): undefined reference to `Perl_av_undef' > > MORE ERROR > > ___ Stas Bekmanmailto:[EMAIL PROTECTED] http://www.stason.org/stas Perl,CGI,Apache,Linux,Web,Java,PC http://www.stason.org/stas/TULARC perl.apache.orgmodperl.sourcegarden.org perlmonth.comperl.org single o-> + single o-+ = singlesheavenhttp://www.singlesheaven.com
Re: PLEASE HELP - ERROR Linking Apache with mod_perl
Hi there, On Thu, 20 Jan 2000, Asghar Nafarieh wrote: > cd mod_perl-1.21 > perl Makefile.PL PREP_HTTPD=1 I took this from the Guide: % cd /usr/src % lwp-download http://www.apache.org/dist/apache_x.x.x.tar.gz % lwp-download http://perl.apache.org/dist/mod_perl-x.xx.tar.gz % tar zvxf apache_x.x.x.tar.gz % tar zvxf mod_perl-x.xx.tar.gz % cd mod_perl-x.xx % perl Makefile.PL APACHE_SRC=../apache_x.x.x/src \ DO_HTTPD=1 USE_APACI=1 PERL_MARK_WHERE=1 EVERYTHING=1 % make && make test && make install % cd ../apache_x.x.x % make install What happens if you try it this way?
PLEASE HELP - ERROR Linking Apache with mod_perl
I hope somebody could respond to this problem. I get the following link error when I try to make apache_1.3.9 with mod_perl-1.21. Am I missing a library module? Thanks, -Asghar This is how I built it: cd mod_perl-1.21 perl Makefile.PL PREP_HTTPD=1 make make test make install cd ../apache_1.3.9 ./configure --with-layout=RedHat --target=perlhttpd --activate-module=src/modules/perl/libperl.a gcc -c -I./os/unix -I./include -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci` buildmark.c gcc -DLINUX=2 -DTARGET=\"perlhttpd\" -DUSE_HSREGEX -DUSE_EXPAT -I./lib/expat-lite `./apaci`\ -o perlhttpd buildmark.o modules.o modules/perl/libperl.a modules/standard/libstandard.a main/libmain.a ./os/unix/libos.a ap/libap.a regex/libregex.a lib/expat-lite/libexpat.a -lm -lcrypt modules/perl/libperl.a(mod_perl.o): In function `perl_shutdown': mod_perl.o(.text+0xf8): undefined reference to `PL_perl_destruct_level' mod_perl.o(.text+0x102): undefined reference to `PL_perl_destruct_level' mod_perl.o(.text+0x10c): undefined reference to `PL_perl_destruct_level' mod_perl.o(.text+0x13b): undefined reference to `Perl_av_undef' MORE ERROR