Gossamer Forum
Home : General : Perl Programming :

perl module installation trouble

(Page 2 of 2)
> >
Quote Reply
Re: [davidziel] perl module installation trouble In reply to
Let me know how you get on. I'd be interested to see whether you can get them to work locally.
Quote Reply
Re: [RedRum] perl module installation trouble In reply to
I installed LWP::Simple localy on a virtual server, the only difference was specifying a path to where I wanted the module installed.

Heres the commands I used on CPAN`s tar.gz file.

gzip -dc module.tar.gz | tar -xof-
"gives me the tar file"

"where the unpacked files are"
perl Makefile.PL PREFIX=/my/perlmodule
make
make test
make install
"watch the screen go mad for a while and your done"

All the makefile and install stuff was as normal just this one PREFIX=/my/perlmodule difference, which should be where you want them according to your local root.

Hope that helps.

chmod

Last edited by:

chmod: Mar 3, 2002, 9:20 AM
Quote Reply
Re: [chmod] perl module installation trouble In reply to
>>
gzip -dc module.tar.gz | tar -xof-
"gives me the tar file"

tar -xof module.tar
"unpacks the tar file"
<<


tar -zxvf module.tar.gz ......would unpack it all in one go.

Last edited by:

RedRum: Mar 3, 2002, 9:12 AM
Quote Reply
Re: [RedRum] perl module installation trouble In reply to
Actually
gzip -dc module.tar.gz | tar -xof-
decomps and unpacks.

I should have left out the
tar -xof module.tar
as its already been done, oops.

(I have corrected my first post)

chmod

Last edited by:

chmod: Mar 3, 2002, 9:21 AM
Quote Reply
Re: [chmod] perl module installation trouble In reply to
tar -zxvf module.tar.gz will do it too Angelic.

timtowtdi

Last edited by:

RedRum: Mar 3, 2002, 9:28 AM
> >