Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 I get

no conflicting prior mod_perl version found - good. ************* WARNING ************* Your Perl is configured to link against libgdbm, but was not found. You could just symlink it to /usr/lib/ ************* 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

Replies are listed 'Best First'.
Re: Problem in Installing Mod Perl in ubuntu 10.10
by Plankton (Vicar) 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 '' (-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?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://936324]
Approved by ww
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2017-06-27 18:03 GMT
Find Nodes?
    Voting Booth?
    How many monitors do you use while coding?

    Results (611 votes). Check out past polls.