Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Are there ways to resize pic without using CPAN modules

by b10m (Vicar)
on Jun 17, 2005 at 13:32 UTC ( #467708=note: print w/replies, xml ) Need Help??


in reply to Re: Are there ways to resize pic without using CPAN modules
in thread Are there ways to resize pic without using CPAN modules

GD is a little trickier to install than a Pure Perl module with no dependancies. First of all, GD depends on Math::Trig, so you would have to install that first. That is probably the smallest problem. The chances are that user 'nobody' or whatever user is used by the webserver, does not have privileges to use a c compiler. And then there is stuff like: $PREFIX = prompt('Where is libgd installed?','/usr/lib'); to catch.

So yes, pure perl modules can easilly be installed. Modules that require compilers are a little trickier. The easiest way for sure is to ask the admin to just install it for you.

--
b10m

All code is usually tested, but rarely trusted.

Replies are listed 'Best First'.
Re^2: Are there ways to resize pic without using CPAN modules
by Tanktalus (Canon) on Jun 17, 2005 at 15:25 UTC

    export PERL_MM_USE_DEFAULT=1 gets around most Makefile.PL prompting.

Re^2: Are there ways to resize pic without using CPAN modules
by sgifford (Prior) on Jun 17, 2005 at 13:39 UTC
    I agree that if you can convince your hosting company to install the module, that's the easiest (though not necessarily the fastest) way. If that's not possible for some reason, though, installing it yourself is a workable alternative.

    With hosting companies I've used, I have never had a problem with the Web server user not having access to a compiler.

    I'm surprised that GC has manual prompts like you describe with no documented way to override them. If that's the case, you can probably work around it by sending answers to it on STDIN. I agree this is tricky, and I also find it annoying.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (2)
As of 2023-01-29 04:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?