I did download the Module::Build package and try to run the perl Build.PL.
But there is this error :
""
Can't locate the perl binary used to run this script in (/usr/bin /usr/bin
/usr/bin /opt/java/bin /sbin /bin /usr/sbin /usr/bin /usr/local/sbin )
""
My perl binary script is in /usr/bin/perl:
$ which perl
/usr/bin/perl
$ perl -v
""
This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
Copyright 1987-2002, Larry Wall
Perl may be copied only under the terms of either the Artistic License or
the
GNU General Public License, which may be found in the Perl 5 source kit.
Complete documentation for Perl, including FAQ lists, should be found on
this system using `man perl' or `perldoc perl'. If you have access to the
Internet, point your browser at
http://www.perl.com/, the Perl Home Page
""
I don't know how come it said that it couldn't find my perl binary ? Can
anybody help me with this?
Thanks,
-----Original Message-----
From: Apu islam [mailto:
apu_islam@...]
Sent: Thursday, April 24, 2008 9:50 PM
To: smulyono;
mason-users@...
Subject: Re: [Mason] Mason Install Problem
try:
cpan install Module::Build
then retry with the Build
Make sure all the prerequisites are all installed first (if any). If you see
something like -- Can't locate xxxxx.pm --- it means it needs that module as
a prerequisite. Module::Build is a newer type of packaging tool similar to
Make makers commonly used. Your cpan default should ask you to follow
prerequisite unless you have told it otherwise during initial setup of cpan
shell.
------------------------------
Apu Islam
( E Pluribus Unum)
----- Original Message ----
From: smulyono <
s4nnym@...>
To: Apu islam <
apu_islam@...>;
mason-users@...
Sent: Thursday, April 24, 2008 7:09:34 PM
Subject: Re: [Mason] Mason Install Problem
I did download the most current one locally and try to do perl Makefile.PL,
but the error will come up again.
My version is v5.8.0
It always stop in #running Build.PL, if I run the Build.PL then this is the
error message shown:
"""
Can't locate Module/Build.pm in @INC (@INC contains: inc
/usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
inc/Mason/Build.pm line 6.
BEGIN failed--compilation aborted at inc/Mason/Build.pm line 6.
Compilation failed in require at Build.PL line 7.
BEGIN failed--compilation aborted at Build.PL line 7.
"""
Anybody could tell me what is the problem?
Thanks,
-----Original Message-----
From:
mason-users-bounces@...
[mailto:
mason-users-bounces@...] On Behalf Of Apu islam
Sent: Thursday, April 24, 2008 2:33 PM
To:
mason-users@...
Subject: Re: [Mason] Mason Install Problem
Did you try downloading the package itself locally and try
perl Makefile.PL
Build
Build test
Build install
It wouldn't hurt checking the perl -v and perl -V outputs to make sure your
perl binary is the correct one that you have installed.
------------------------------
Apu Islam
( E Pluribus Unum)
----- Original Message ----
From: vester_s <
s4nnym@...>
To:
mason-users@...
Sent: Thursday, April 24, 2008 4:11:02 PM
Subject: [Mason] Mason Install Problem
Hi,
I am using apache 2 and have mod_perl installed (version 2.0.4). When i try
to install HTML:Mason 1.39, it always fail on the Makefile.pl script. And
the error shows:
""
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Tue, 30 May 2006 17:27:36 GMT
Running install for module Module::Build::Compat
Running make for K/KW/KWILLIAMS/Module-Build-0.2801.tar.gz
CPAN: Digest::MD5 loaded ok
CPAN: Compress::Zlib loaded ok
Checksum for
/root/.cpan/sources/authors/id/K/KW/KWILLIAMS/Module-Build-0.2801.tar.gz ok
Scanning cache /root/.cpan/build for sizes
Deleting from cache: /root/.cpan/build/Module-Build-0.2801 (10.3>10.0 MB)
Module-Build-0.2801/
Module-Build-0.2801/Build.PL
Module-Build-0.2801/Changes
Module-Build-0.2801/INSTALL
Module-Build-0.2801/lib/
...
# running Build.PL
Can't locate the perl binary used to run this script in (/usr/bin /usr/bin
/usr/bin /opt/java/bin /sbin /bin /usr/sbin /usr/bin /usr/local/sbin
/usr/local/bin /usr/X11R6/bin /opt/apache-ant-1.6.5/bin /usr/bin/perl
/root/.cpan/build/Module-Build-0.2801/lib/Module /usr/lib /usr/lib/perl5)
""
I have perl 5.8.0 installed already and i did delete the /root/.cpan and try
it again. But it still has no luck
Can anybody help me on this issue?
thanks,
--
View this message in context:
http://www.nabble.com/Mason-Install-Problem-tp16852862p16852862.htmlSent from the Perl Mason - Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
Mason-users@...
https://lists.sourceforge.net/lists/listinfo/mason-users-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
Mason-users@...
https://lists.sourceforge.net/lists/listinfo/mason-users-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Mason-users mailing list
Mason-users@...
https://lists.sourceforge.net/lists/listinfo/mason-users-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
Mason-users mailing list
Mason-users@...
https://lists.sourceforge.net/lists/listinfo/mason-users