You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ad...@mac.com on 2004/01/23 19:16:16 UTC
Trying to install Apache::Request - a Linux n00b try #2
Running RH9, I have apache 1.3 (latest version that's not 2) and
mod_perl 1.29 installed, both successfully, as far as I can tell
I'm trying to install Apache::Request for Bricolage, I couldn't find it
on the perl website, so I did a search for it. Which turned up the
libapreq package, that includes Apache::Request. But when I try to perl
Makefile.PL, it says I don't have mod_perl installed, on the basis that
it can't locate mod_perl.pm. A file (as far as locate mod_perl.pm's
concerned) that's only located in the original source folders for
mod_perl.
I've successfully installed other perl modules.
Adam, Linux n00b
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: Trying to install Apache::Request - a Linux n00b try #2
Posted by Perrin Harkins <pe...@elem.com>.
On Fri, 2004-01-23 at 13:54, AdmanB@mac.com wrote:
> I only have one version of mod_perl installed, I uninstalled the
> version that came with it.
Yes, but I'm thinking that maybe you didn't successfully install
mod_perl. Have you tested it? And could there be more than one perl on
your system?
- Perrin
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: Trying to install Apache::Request - a Linux n00b try #2
Posted by Perrin Harkins <pe...@elem.com>.
On Fri, 2004-01-23 at 13:54, AdmanB@mac.com wrote:
> I only have one version of mod_perl installed, I uninstalled the
> version that came with it.
To follow up a little more, did you by any chance install another Perl,
from source or RPM, at any time on your system? I recently got the
error you are getting when trying to install libapreq on a system where
/usr/bin/perl and /usr/local/bin/perl were not the same thing, so one of
them couldn't find the mod_perl libs.
By the way, the Bricolage installer is not going to work anyway. It
will fail when it tries to install libapreq even if you do have mod_perl
installed correctly because it will try to run Apache::Test as root,
which doesn't work. What I suggest is that you:
1) Verify that you have a working mod_perl installed. You should see
mod_perl.pm in your @INC path, which you can test with this:
perl -Mmod_perl -e '1'
2) Install Apache::Test by hand. You can't use CPAN.pm for this at the
moment because of the root issue.
3) Install libapreq by hand, for the same reason.
4) Run the Bricolage installer again.
I totally sympathize with having problems with the Bricolage installer.
I have lost hours to it today, and it tries to build and install
Cache::Cache every single time I run it, despite the fact that it is
installed already. I don't know if everyone has this much trouble with
it, or if it's something about my system.
- Perrin
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: Trying to install Apache::Request - a Linux n00b try #2
Posted by Ad...@mac.com.
> Sorry to say it, but if you don't have mod_perl.pm in your Perl lib
> path, you have not really installed mod_perl. Maybe you missed a step
> somewhere, or maybe you are accidentally using a different perl to run
> the libapreq install than you did when you compiled mod_perl.
>
> - Perrin
I only have one version of mod_perl installed, I uninstalled the
version that came with it.
Adam
"There once was a tiger-striped cat. This cat lived a million lives,
died a million deaths, and was revived a million times, he was owned by
many different people he didn't really care for. This cat wasn't afraid
to die. Then, one day this cat became a stray cat, and he met a white,
female cat, they fell in love and the two of them spent their days
together happily. Well, years passed, and the white cat grew weak and
died of old age. The tiger-striped cat cried a million times, then he
died, except this time, he didn't come back to life." - Spike Spiegel.
"Open mouth, insert foot." - Jet.
Both from Cowboy Bebop.
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: Trying to install Apache::Request - a Linux n00b try #2
Posted by Perrin Harkins <pe...@elem.com>.
On Fri, 2004-01-23 at 13:16, AdmanB@mac.com wrote:
> But when I try to perl
> Makefile.PL, it says I don't have mod_perl installed, on the basis that
> it can't locate mod_perl.pm.
Sorry to say it, but if you don't have mod_perl.pm in your Perl lib
path, you have not really installed mod_perl. Maybe you missed a step
somewhere, or maybe you are accidentally using a different perl to run
the libapreq install than you did when you compiled mod_perl.
- Perrin
--
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html