develooper Front page | perl.perl5.porters | Postings from October 2003

Re: Help with

Thread Previous | Thread Next
October 8, 2003 14:40
Re: Help with
Message ID:
On Tue, Oct 07, 2003 at 07:25:54PM -0700, Joe Alagna wrote:
> This is the most basic of questions.  I hope you don't mind me asking.  I'm 
> just starting to learn to use putty to install things.
> I need Storable in my /usr/bin directory.  I've been able to upload it to 
> my server and even install it, but I'm not sure if I have installed it to 
> the proper directory and in the proper form.

Wanting to put Storable into /usr/bin is something of a bizarre request.
Its sort of like asking "How do I steer my fan belt?"

Storable is a Perl library you use when writing Perl programs, not a program 
you run directly.  Most of what is on CPAN are libraries.  In general they 
should not go into /usr/bin/.  /usr/bin/ is for programs.

Some instructions on its installation can be found here:
(the same README file is in your /home/storable directory)
Or you can run the command "perldoc Storable" to get the same information.

> person /home/storable# ls
> ChangeLog       Makefile.PL     t
> MANIFEST        README          Storable.xs

Handy Unix tip, its quite bizarre to create a directory in /home to
contain the source of a library.  /home is typically reserved for user's
directory.  Normally you'd put this into /usr/local/src

> person /home/storable# perl Makefile.PL /usr/bin

Passing a directory to Makefile.PL doesn't do anything.  I'm curious where
you got information that said the above would work.

You can't do what you want because, again, Storable is not a program and
should not go into /usr/bin.  Its a thing you write programs with.

Your copy of Storable is installed with all your other Perl programs.  If
you want to know where that is run "perldoc -l Storable".  In fact, Storable
comes with Perl.  You already had a copy installed.  But its *not* a program.

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About