Re: Installing a CPAN Module online



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.

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl
.



Relevant Pages

  • Re: computer getting slow for not the usual reasons
    ... I kno it worked last install because I used it and I had no issues. ... I left after uploading had reached 7% under safe mode. ... going slower then usually, but that may have been my cable isp. ...
    (microsoft.public.windowsxp.general)
  • Re: Cant Open Project Plan from SharePoint
    ... I uploaded the Project Plan with 2007 Professional without a problem. ... not have any problems opening it prior to uploading nor do I now. ... SharePoint without any problems. ... to open the 2007 version MPP file, probably user can install the ...
    (microsoft.public.project)
  • SerialPort error
    ... I have a perl script that complains about not being able to find ... install Device::SerialPort ... Are permissions correct? ... Failed 1/21 tests, 95.24% okay ...
    (comp.lang.perl.modules)
  • Re: Help regarding Perl modules in .pl and .in extension.
    ... > I am having problems when referencing to modules that have the extension .pl ... are a Perl script and a template ... If the module you want doesn't come pre-packaged for windows, ... be hard to install. ...
    (comp.lang.perl.misc)
  • Re: Cant Open Project Plan from SharePoint
    ... not have any problems opening it prior to uploading nor do I now. ... SharePoint without any problems. ... to open the 2007 version MPP file, probably user can install the ... both Project pro 2003 and Project pro ...
    (microsoft.public.project)