LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-03-2004, 05:13 PM   #1
jpan
Member
 
Registered: Aug 2004
Distribution: Debian Libranet
Posts: 69

Rep: Reputation: 15
installing mod_perl 1.29


Hi, i want to install apache 1.3.27 and mod_perl on my debian linux.

When manually building mod_perl using the shared library:

cd mod_perl-1.xx
perl Makefile.PL PREP_HTTPD=1
make
make test
make install

cd ../apache_1.3.xx
./configure --with-layout=RedHat --target=perlhttpd
--activate-module=src/modules/perl/libperl.a

I got the following error messages:

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 errors snipped]

The official website says this happens when you have Perl built statically linked, with no shared libperl.a, and they suggest that building a dynamically linked Perl (with libperl.a) and the problem will disappear.....

I wonder anyone knows how to
"build a dynamically linked Perl with libperl.a" ???

thanks a lot!!

Jimmy
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache mod_perl raypen Slackware 8 10-09-2006 10:03 AM
mod_perl config flaxius Linux - Newbie 0 03-16-2004 02:52 AM
Installing a different version of Apache/mod_perl, how? admanb Linux - Newbie 3 01-19-2004 02:44 PM
mod_perl? ziggie216 Linux - Software 0 12-15-2003 06:17 PM
mod_perl trouble perlguy Programming 1 07-19-2002 01:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration