Re: Installing a CPAN Module online



Thanks for your help. I did manage to install the module without using Make. I was also able to get some advice as to how I might use a shell script to execute Make in the future.

Richard L. Trethewey

Gunnar Hjalmarsson wrote:
Richard L. Trethewey wrote:

I'm trying to install a CPAN module into my website's local cgi-bin directory and I just can't seem to translate the common documentation into something I can use online. I have unzipped the module files, and executed the accompanying Makefile.pl, and it looks to me like I got the correct PREFIX setting in the resulting "Makefile". But that's where I'm stuck. I need to simulate the common CPAN command-line commands:

% make
% make test
% make install

remotely. I think I should be able to write a Perl script to execute these commands, right? Host is running FreeBSD/Apache.


It sounds as if you have an account without shell access, and that you are thinking of writing and uploading a CGI script that would install the module for you. Even if that may be possible, under certain conditions, the first thing you should do is finding out if it's a plain Perl module, or a module that needs to be precompiled.

If the former is true, it may be sufficient to simply upload the *.pm file(s). The docs for http://search.cpan.org/perldoc?CGI%3A%3AContactForm include some guidance that is applicable in that case.


.



Relevant Pages

  • Cross-platform install - searching for a method (without java)
    ... Can interact with the system - that is, execute native ... Essentially, I had the idea of using Perl, sans-modules, ... Put the minimum I need to run a perl script into the ... it and kick off the real install script. ...
    (comp.programming)
  • Re: sms installer- automate installing local printer
    ... I also still think while your script works you should repackage the ... It is much simpler to just repackage the install. ... So basically ask your self (or use SMSI to tell you) what happens to the ... So you could keep this script then do another execute at the end or I ...
    (microsoft.public.sms.installer)
  • Re: Basics - Installing Applications
    ... I am a newbie using Linux ... then I tried AMSN and still have not be able to install it, ... > some other script that will install it automatically. ... > type the filename in to execute. ...
    (comp.os.linux.setup)
  • Re: SNMP Service Installation
    ... I tested the solution but, when I execute the script, it asks for the new ... >> I need to install the SNMP service on about 500 Pcs already configured. ... >> Is there anybody who can give me any suggestion with SMS or other ...
    (microsoft.public.sms.swdist)
  • Connected clients
    ... can you guide me to install or this script ... is uploading it in some cgi-bin folder or like this? ...
    (microsoft.public.windowsmedia.server)