You can also create/install modules without having telnet access, but it's
like working on a black box.  If something goes wrong, it's kludgey to get
it to work.  I hacked together this quick little script - after copying the
module package folder over to the server via FTP, then I just call this
script from my web browser to have the server do the perl Makefile.PL, etc.

You will also have to modify any scripts that you write that need these
modules & modify their lib path by saying:

use lib "/path/to/perl/lib";

-----

#!/usr/local/bin/perl

use CGI;

$query = new CGI;
$|++;

print $query->header();

chdir "/u200/figsnet/cgi-bin/test";

print "About to perl Makefile<BR>\n";
system "perl Makefile.PL PREFIX=/u200/figsnet/perl >>
/u200/figsnet/logs/make_log";
print "Done ... 'make'<BR>\n";
system "make >> /u200/figsnet/logs/make_log";
print "Done ... 'make test'<BR>\n";
system "make test >> /u200/figsnet/logs/make_log";
print "Done ... 'make install'<BR>\n";
system "make install >> /u200/figsnet/logs/make_log";
print "Done ... check out the make_log<BR>\n";

Jason

----- Original Message -----
From: "fliptop" <[EMAIL PROTECTED]>
To: "Ryan Davis/Pamela Karr" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 1:38 PM
Subject: Re: Still having problems sending mail...


> Ryan Davis/Pamela Karr wrote:
> >
> > The problem with using other modules is that I'm not in control of the
> > server.  Is there a way to use a module without having access to the
perl
> > lib. directories?  I just have an account, one of those
http://blah.edu/~me/
> > kinda things.
>
> hmm.  although i've never had this problem, i believe you can install
> your own modules if you have telnet access to the box.
>
> i think it's done like this:
>
> perl Makefile.pl prefix=/path/to/your/lib/dir
> make
> make test
> make install
>
> but i could be wrong.
>
> then, you just have to point to your lib directory with 'use lib' in
> your script.
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to