HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free and registered users see less advertising! If you just want to browse through the existing questions, just select the forum that you want to visit from the selection below. Otherwise, click here to register!. We highly recommend that you print a copy of our Guide for New Members. Enjoy!

Installing Apache::ASP for Fedora Core-4

Hello!

I am trying to configure apache:asp.I am working on Fedora Core-4 and have mod_perl module already present with apache.Now, at its site i read that:

Linux DSO Distributions

If you have a linux distribution, like a RedHat Linux server, with an RPM style Apache + mod_perl, seriously consider building a static version of the httpd server yourself, not DSO. DSO is marked as experimental for mod_perl, and often does not work, resulting in "no request object" error messages, and other oddities, and are terrible to debug, because of the strange kinds of things that can go wrong.

Instead of building static version i've installed updated version of mod_perl and then i followed the following steps to install apache:asp:

and then i placed the site at the document root.Now, when i open to site, it shows me the homepage for it, but when i try to access the examples page i get the error.

In log i have the following error:

Code:

[Wed Nov 15 15:27:14 2006] [error] [client 127.0.0.1] Can't locate object method "get" via package "APR::Table" at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016.\n at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 2016\n\tApache::ASP::get_dir_config('APR::Table=HASH(0x95d0de4)', 'Global') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 275\n\tApache::ASP::new('Apache::ASP', 'Apache2::RequestRec=SCALAR(0x95d0dc0)', '/var/www/html/asp/eg/index.html') called at /usr/lib/perl5/site_perl/5.8.6/Apache/ASP.pm line 183\n\tApache::ASP::handler('Apache2::RequestRec=SCALAR(0x95d0dc0)') called at -e line 0\n\teval {...} called at -e line 0\n, referer: http://localhost/

Now, this tells me that i have to create static version of httpd.Is there any other alternative for it?

One of the problems with using this method to install PERL modules is that, like RPM and DEB files, they often have pre-requisite packages that need to be installed. These are often called "dependencies". The "make" method often doesn't check for the dependencies, and warn you if they are not present.

The easiest way to install the module you want, plus its dependencies, is to use the Linux CPAN command line. Here is a link on how to do it. You will require Internet access to do this.