Perl Forum for Beginners

Install CPAN module in shared hosting

Mar 28, 2008 3:23 pm
Anthony Brooke

Hello,

I like to install CPAN modulike like AI::Prolog, I have the Cpanel that have CPAN module installer, but my shared hosting does not allow some modules to be installed like this AI::Prolog, what can I do ? Should I install it in my computer first and then copy the PM files to my web host directory and use the "use lib" to include my cpan module. Is there a better way ? Thanks.


Send instant messages to your online friends http://uk.messenger.yahoo.com

Mar 28, 2008 3:31 pm
Rob Coops
Re: Install CPAN module in shared hosting

------=_Part_13248_21673432.1206718307790
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Most likely this module will need a C/C++ compiler which for obvious reasons
will not be present on your hosting providers machine.

The best option is to ask your provider for assistance with installing this.
Most of the time the hosting provider will not give you any trouble and will
simply install it for you.

One point of caution though, threads and module that rely on that are
usually not liked by hosting providers for the simple reason that they could
very easily cause a huge load on the machine and thus cause harm to other
clients. I have no idea if this module needs threads to be available but if
so be prepared for your provider to refuse installing it.

Regards,

Rob Coops

On Fri, Mar 28, 2008 at 4:23 PM, anthony brooke <esia168@yahoo.com> wrote:

> Hello,
>
> I like to install CPAN modulike like AI::Prolog, I have the Cpanel that
> have CPAN module installer, but my shared hosting does not allow some
> modules to be installed like this AI::Prolog, what can I do ? Should I
> install it in my computer first and then copy the PM files to my web host
> directory and use the "use lib" to include my cpan module. Is there a better
> way ? Thanks.
>
>
> Send instant messages to your online friends http://uk.messenger.yahoo.com
>
> --
> To unsubscribe, e-mail: beginners-unsubscribe@perl.org
> For additional commands, e-mail: beginners-help@perl.org
> http://learn.perl.org/
>
>
>

------=_Part_13248_21673432.1206718307790--




Previous Thread: Geting the Host from URL in cgi script
Next Thread: Diff says memory exhausted need help with perl

Related Forum Topics
Trying to install a cpan module
--001636c5baf9aa293804961729cc
Content-Type: text/plain; charset=ISO-8859-1

Hi all,

I'm new to programming, and only recently did I start playing around with
command prompts, etc, so it's probably no surpise that I'm having some
difficulty trying to install a module using cpan. The...
CPAN install module problem
Hi,

Why sometimes I can use a command to install Perl module, e.g.

perl -MCPAN -e "install Digest::MD5"

But sometimes can't?

e.g.

perl -MCPAN -e "install Archive::Zip"
>> Can't locate object method "install" via package "Archive::Zip" at -e line 1.


Are there any...
Unable to install module from CPAN
Hi ,

I tried to install ExtUtils-CBuilder from CPAN however I get this error :-

CPAN.pm: Going to build D/DA/DAGOLDEN/ExtUtils-CBuilder-0.280202.tar.gz

ExtUtils::MakeMaker version 6.31 required--this is only version 6.30 at Makefile.PL line 7.
BEGIN failed--compilation aborted at...
Is there one CPAN module to do install/uninstall/locallist etc.?
--e89a8f83a6057bd60c04d7cc4d0d
Content-Type: text/plain; charset=UTF-8

Hi all!
I found some modules like App::CPANMinus, App::pmodinfo,
App::pmuninstall and so on. But why there aren't one CPAN module to do
these together?
I'm writing a puppet provider for cpan, but now I found I...
How to use module when not installed by web-hosting company
------=_NextPart_000_002A_01C95904.FA5C6430
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable

Hi,
My website is hosted in 110mb.com and they do not have this module =
installed Algorithm::Numerical::Shuffle qw /shuffle/; =20
So what can I do to use...
CPAN won't install YAML and others
Greetings;

YAML is not installed on my Lenny system and when I try to
install it (with perl -MCPAN -e shell) I get the following
errors after the source has been unpacked. Any ideas?

Thanks for any help!
Dennis

BTW :
> cardinal:~# ls -l...
Install modules from CPAN
--e89a8f23524166ec9b04bb41a539
Content-Type: text/plain; charset=ISO-8859-1

Hi there,
i have perl 5.6 on my laptop
am i want to download some modules from CPAN but all attempts i have made
have failed giving me such errors,
some help.

C:\>perl -MCPAN -e shell
cpan shell -- CPAN...
Cannot install Tk from CPAN using Strawberry Perl 5.16
I am running Win7Pro-64bit and using Strawberry Perl 64 bit version
5.16. When I attempt to use "install Tk" from Strawberry Perl's
"cpan>" prompt I get two instances of "perl.exe not responding". After
responding OK to the first, activity resumes, but after the second
time I get the...
CPAN cannot install modules locally
--------------030906090903000905040702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi

I am trying to install MediaWiki::Bot module locally on my server (I am
not the admin).
I am trying to use cpan command line interface for this.

I...
Can only install cpan modules as sudo
--B_3407311651_792059
Content-type: text/plain;
charset="US-ASCII"
Content-transfer-encoding: 7bit

Hi all,

I can only install cpan modules as sudo. I installed ActiveState Perl
v.5.14.2 and cpanm without a problem.

$ cpanm Net::SMTP
-bash: /usr/local/bin/cpanm: /usr/bin/perl: bad...