You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Brenda Washington <bw...@pnc.edu> on 2005/09/27 20:58:03 UTC

Installing Modperl problem

I have been working on installing Apache-2.0.54, Mod_perl-2.0.1 with
perl-5.6.1 for a week now with little or no success. Is there anyone who
can give me any help with the problem I'm experiencing? When I run perl
Makefile.PL command, I get the following error messages. How can I resolve
these errors?


$ perl Makefile.PL
Undefined subroutine &Cwd::abs_path called at /opt/perl5/lib/5.6.1/Cwd.pm 
line 128.
BEGIN failed--compilation aborted at /opt/perl5/lib/5.6.1/FindBin.pm line 
166.
Compilation failed in require at Apache-Test/lib/Apache/TestSmoke.pm line 
29.
BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestSmoke.pm
line 29.
Compilation failed in require at Apache-Test/lib/Apache/TestSmokePerl.pm
line 20.
BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestSmokePerl.pm line 20.
Compilation failed in require at Makefile.PL line 37.
BEGIN failed--compilation aborted at Makefile.PL line 37.




Brenda Washington
Unix System Specialist
1401 W. Hwy 421
Westville, Ind. 46360
(219) 785- 5417
bwashington@pnc.edu


Re: Installing Modperl problem

Posted by Maruthi Vara Prasad Chirravuri <ma...@gmail.com>.
HI All,

This is Maruthi Vara Prasad. I have newly joined in the modperl group.
I hope this could help you in solving the problem.

Plz Make Sure that first Apache is to be Installed, Next Perl and then
Modperl. Also make sure that the Installation tree of mod_perl and
apache are different and not as a subdirectory of the other.

Regards,

Ch. Maruthi Vara Prasad.

On 9/28/05, Brenda Washington <bw...@pnc.edu> wrote:
> I have been working on installing Apache-2.0.54, Mod_perl-2.0.1 with
> perl-5.6.1 for a week now with little or no success. Is there anyone who
> can give me any help with the problem I'm experiencing? When I run perl
> Makefile.PL command, I get the following error messages. How can I resolve
> these errors?
>
>
> $ perl Makefile.PL
> Undefined subroutine &Cwd::abs_path called at /opt/perl5/lib/5.6.1/Cwd.pm
> line 128.
> BEGIN failed--compilation aborted at /opt/perl5/lib/5.6.1/FindBin.pm line
> 166.
> Compilation failed in require at Apache-Test/lib/Apache/TestSmoke.pm line
> 29.
> BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestSmoke.pm
> line 29.
> Compilation failed in require at Apache-Test/lib/Apache/TestSmokePerl.pm
> line 20.
> BEGIN failed--compilation aborted at Apache-Test/lib/Apache/TestSmokePerl.pm line 20.
> Compilation failed in require at Makefile.PL line 37.
> BEGIN failed--compilation aborted at Makefile.PL line 37.
>
>
>
>
> Brenda Washington
> Unix System Specialist
> 1401 W. Hwy 421
> Westville, Ind. 46360
> (219) 785- 5417
> bwashington@pnc.edu
>
>

Re: Installing Modperl problem

Posted by "Philip M. Gollucci" <pg...@p6m7g8.com>.
Brenda Washington wrote:
> Undefined subroutine &Cwd::abs_path called at /opt/perl5/lib/5.6.1/Cwd.pm 
Do you have Cwd installed ?

if not,
perl -MCPAN -e 'install("Cwd")'

Cwd 2.04 comes with 5.6.2
You need 2.06 or higher.


FYI, this doesn't happen to me with Cwd upgraded to be new enough.

~/perl/5.6.2/bin/perl Makefile.PL
no conflicting prior mod_perl version found - good.

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):


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com