Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Problem in Installing Mod Perl in ubuntu 10.10

by romy_mathew (Beadle)
on Nov 06, 2011 at 19:12 UTC ( #936324=perlquestion: print w/ replies, xml ) Need Help??
romy_mathew has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to install mod perl 2.0.5. I cant find the apxs location of my apache2

when I run perl Makefile.pl I get

no conflicting prior mod_perl version found - good. ************* WARNING ************* Your Perl is configured to link against libgdbm, but libgdbm.so was not found. You could just symlink it to /usr/lib/libgdbm.so.3.0.0 ************* WARNING ************* Next we need to know where the 'apxs' script is located. This script provides a lot of information about the Apache installation, and makes it easier to find things on your system. Normally it's located in the same directory as the 'httpd' executable. If you don't yet have Apache installed you can build Apache against the Apache source code, but you won't be able to run the test suite (a very important step). Therefore you may want to install Apache before proceeding. Please provide a full path to 'apxs' executable (press Enter if you don't have it installed): ^C

Comment on Problem in Installing Mod Perl in ubuntu 10.10
Download Code
Re: Problem in Installing Mod Perl in ubuntu 10.10
by Plankton (Priest) on Nov 06, 2011 at 20:25 UTC
    You need to install apache2-threaded-dev like so:
    $ sudo apt-get install apache2-threaded-dev ... installs lots of deps ... $ dpkg --listfiles apache2-threaded-dev | grep apxs /usr/bin/apxs2 /usr/share/man/man8/apxs2.8.gz
      Hi this amrut, Iam getting same issue and when i go for "sudo apt-get install apache2-threaded-dev" which is not installed. Error message is "Something wicked happened resolving 'in.archive.ubuntu.com:http' (-5 - No address associated with hostname)"
Re: Problem in Installing Mod Perl in ubuntu 10.10
by Anonymous Monk on Nov 07, 2011 at 07:07 UTC

    Why don't you install the debian/ubuntu package? The package is named libapache2-mod-perl2.

    (The package for that version of ubuntu seems to be version 2.0.4. If you want a newer one, you can download the source package and build it with the Debian tools)

Re: Problem in Installing Mod Perl in ubuntu 10.10
by Anonymous Monk on Nov 07, 2011 at 07:08 UTC
    Forget mod_perl it sucks... use PSGI/Plack

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://936324]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-09-22 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (179 votes), past polls