Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Can't get CGI::Lite

by Dr.Bot (Initiate)
on Jul 23, 2011 at 00:35 UTC ( [id://916238]=perlquestion: print w/replies, xml ) Need Help??

Dr.Bot has asked for the wisdom of the Perl Monks concerning the following question:

I am trying to get the CGI lite module installed. CPAN tells me CGI and CGI::Lite are installed - I see them in the perl @INC path. When I try to run a program - it says CGI Lite not found. when I try to install Apache::src or Bundle::CGI::Builder::Complete it barfs after it asks me for the apache/src path Please tell me where I can find your apache src ../apache_x.x/src /usr/local/src/httpd-2.2.19/include Configure mod_perl with /usr/local/src/httpd-2.2.19/include ? y ************* WARNING ************* Apache Version 1.3.0 required, aborting... ----- What gives? I dir a make to get the src code - I am using apache2 does CGI lite only work on apache 1.3? PS this is a new debian Linux lauritzen 2.6.35.4-rscloud #8 SMP Mon Sep 20 15:54:33 UTC 2010 x86_64 GNU/Linux

Replies are listed 'Best First'.
Re: Can't get CGI::Lite
by davido (Cardinal) on Jul 23, 2011 at 01:27 UTC

    Is it possible that there are more than one Perl installation on your system, and that you're installing CGI::Lite to the wrong one?

    For example: I use perlbrew to install a local Perl. But my system Perl still exists in its original location too. It would be within the realm of possibility for me to configure Apache to use the old system Perl, while everything else I do is utilizing the perlbrew Perl. One result would be that if I install a module that is available to the perlbrew Perl, it wouldn't normally be available to the system Perl.


    Dave

Re: Can't get CGI::Lite
by Khen1950fx (Canon) on Jul 23, 2011 at 02:13 UTC
    First, I would install the bundle without Apache2::CGI::Builder.
    #!/usr/bin/perl use strict; use warnings; use CPAN; CPAN::Shell->force(qw( install Digest::MD5 HTML::TableTiler HTML::TableTiler HTML::FillInForm Class::constr Class::props Class::groups Object::groups Object::props IO::Util File::Spec CGI::Builder CGI::Builder::CgiAppAPI CGI::Builder::Auth Template::Magic CGI::Builder::Magic Data::FormValidator CGI::Builder::DFVCheck HTML::Template CGI::Builder::HTMLtmpl CGI::Session CGI::Builder::Session CGI::Lite));
    Then manually download, install, and configure Apache2::CGI::Builder.

    Note: I used "force install" because it failed tests on 5.8.8, 5.10.1, 5.12.1, and 5.14.1.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 16:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found