LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-16-2010, 01:45 PM   #1
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Rep: Reputation: 30
apache+mod-perl+asp


I have a debian lenny machine that I am trying to add mod_perl to and use apache asp on. I have had a range of failures on it. Is ther a way I can build apache2 with mod_perl in it? Instead of seperate. apache2 is built with some modules built in by default, how can I make mod_perl one of them?
 
Old 09-17-2010, 01:11 AM   #2
dvdljns
Member
 
Registered: Sep 2003
Posts: 210

Original Poster
Rep: Reputation: 30
ok I ran this command.
Code:
cd /mod_perl-2.0.4/ && perl Makefile.PL APACHE_SRC=../apache_2.2.16/src DO_HTTPD=1 USE_APACI=1 \
EVERYTHING=1 ALL_HOOKS=1 APACI_ARGS='--prefix=/usr/local/httpd_perl' PERL_TRACE=1 \
Heres the error I get. Configuring Apache/2.2.16 mod_perl/2.0.4 Perl/v5.10.0
[ error] Can't find apr include/ directory,
[ error] use MP_APR_CONFIG=/path/to/apr-config

I changed it to this.
Code:
cd /mod_perl-2.0.4/ && perl Makefile.PL APACHE_SRC=../apache_2.2.16/src DO_HTTPD=1 USE_APACI=1 \
EVERYTHING=1 ALL_HOOKS=1 APACI_ARGS='--prefix=/usr/local/httpd_perl' PERL_TRACE=1 \
apr_include=/httpd-2.2.16/srclib/apr/include/ MP_APR_CONFIG=/httpd-2.2.16/srclib/apr/apr-config.in
I still get this.
Configuring Apache/2.2.16 mod_perl/2.0.4 Perl/v5.10.0
[ error] Can't find apr include/ directory,
[ error] use MP_APR_CONFIG=/path/to/apr-config

What is it looking for? what do I need to put here?
 
  


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
ASP and ASP .NET running on Apache? isra_mv Linux - Server 1 10-28-2007 05:39 PM
Apache 1.3.29 with mod perl & php built in upgrade jester_69 Linux - General 0 02-22-2004 12:26 AM
Apache, Perl, PHP and ASP SolidSnake Linux - Newbie 6 09-14-2003 06:07 AM
ASP mod perl.... Marble Programming 0 06-19-2003 01:45 AM
httpd - asp or apache - asp vcheah Linux - General 2 01-18-2002 04:05 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 05:09 PM.

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