Front page | perl.perl5.porters |
Postings from October 2003
Help with Storable.pm
Thread Next
From:
Joe Alagna
Date:
October 8, 2003 03:33
Subject:
Help with Storable.pm
Message ID:
5.2.1.1.0.20031007191543.01ebe728@pop3.centralnic.net
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 Storable.pm 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 Storable.pm blib/lib/Storable.pm
AutoSplitting blib/lib/Storable.pm (blib/lib/auto/Storable)
/usr/bin/perl -I/usr/local/lib/perl5/5.6.1/i386-freebsd
-I/usr/local/lib/perl5/5.6.1
/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 Storable.bs
rm -f blib/arch/auto/Storable/Storable.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib Storable.o -o
blib/arch/auto/Storable/Storable.so
chmod 755 blib/arch/auto/Storable/Storable.so
cp Storable.bs blib/arch/auto/Storable/Storable.bs
chmod 644 blib/arch/auto/Storable/Storable.bs
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
/usr/local/lib/perl5/5.6.1/i386-freebsd/perllocal.pod
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
below...
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 Storable.bs Storable.pm pm_to_blib
person /home/storable#
Any help or advice is appreciated.
Joe Alagna
joe@personaweb.com
________/ Personaweb, Inc.
_______/ <http://www.personaweb.com>http://www.personaweb.com
______/ E-Mail: <mailto:Joe@personaweb.com>Joe@personaweb.com
_____/ 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
-
Help with Storable.pm
by Joe Alagna