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

Help with

Thread Next
Joe Alagna
October 8, 2003 03:33
Help with
Message ID:
Dear Sirs,

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.

First I uploaded it to a directory on my server.  Then I went through the 
following set of commands and responses.  When it was all done, I still 
didn't see storable in my usr/bin/ directory, but I did see changes in the 
original directory that I performed the command in. See below for what I did...

person /home/storable# ls
ChangeLog       Makefile.PL     t
MANIFEST        README          Storable.xs
person /home/storable# perl Makefile.PL /usr/bin
Checking if your kit is complete...
Looks good
Writing Makefile for Storable
person /home/storable# make
cp blib/lib/
AutoSplitting blib/lib/ (blib/lib/auto/Storable)
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386-freebsd 
/usr/local/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.6.1/ExtUtils/typemap Storable.xs > Storable.xsc && 
mv Storable.xsc Storable.c
cc -c  -fno-strict-aliasing -I/usr/local/include 
-O    -DVERSION=\"2.08\"  -DXS_VERSION=\"2.08\" -DPIC -fpic 
-I/usr/local/lib/perl5/5.6.1/i386-freebsd/CORE  Storable.c
Running Mkbootstrap for Storable ()
chmod 644
rm -f blib/arch/auto/Storable/
LD_RUN_PATH="" cc  -shared  -L/usr/local/lib Storable.o  -o 
chmod 755 blib/arch/auto/Storable/
cp blib/arch/auto/Storable/
chmod 644 blib/arch/auto/Storable/
person /home/storable# make install
Files found in blib/arch: installing files in blib/lib into architecture 
dependent library tree
Writing /usr/local/lib/perl5/5.6.1/i386-freebsd/auto/Storable/.packlist
Appending installation info to 
person /home/storable# cd /usr/bin

When I look in the directory that I originally uploaded the file to, it 
seems to have changed, but this is not where I keep my Perl files.  See 

person /usr/bin# cd ..
person /usr# cd ..
person /# cd home
person /home# ls
bluepayapi      mainaccount     person
dshp321         ngweb           storable
person /home# cd storable
person /home/storable# ls
ChangeLog       Makefile.PL     Storable.c      Storable.xs     t
MANIFEST        README          Storable.o      blib
Makefile     pm_to_blib
person /home/storable#

Any help or advice is appreciated.

Joe Alagna

________/ Personaweb, Inc.
_______/ <>
______/ E-Mail: <>
_____/ Phone 1-909-606-9175
____/ Fax: 1-909-606-9275
___/ Toll Free 1-800-484-0925 ext.1235 (sec. code)
__/15942 Los Serranos CC Drive, D230
_/Chino Hills, CA 91709

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