CC: | gray [...] cpan.org, christian.kreibich [...] cl.cam.ac.uk |
Subject: | Successfuly installing Tree::Suffix in Home Directory |
Date: | Tue, 28 Mar 2006 16:31:47 +0800 |
To: | bug-Tree-Suffix [...] rt.cpan.org |
From: | Wijaya Edward <ewijaya [...] i2r.a-star.edu.sg> |
Dear Gray and Christian,
I have finally had Tree::Suffix installed in my home directory.
Thanks a lot to Christian for patiently aiding me to reach point 1-3 below.
Perhaps Gray might be interested, thus I'm emailing you guys here:
What I did is the following steps:
1. Add this line in my .bash_profile
LD_LIBRARY_PATH=/home/ewijaya/MyBioTool/libstree-0.4.2/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
export CFLAGS="-I $HOME/MyBioTool/libstree-0.4.2/include";
export LDFLAGS="-L $HOME/MyBioTool/libstree-0.4.2/lib";
2. Add this line in my .bashrc
export LIBRARY_PATH=$HOME/MyBioTool/libstree-0.4.2/lib
3. Add this line in my Makefile.PL
__BEGIN__
use strict;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Tree::Suffix',
VERSION_FROM => 'lib/Tree/Suffix.pm',
ABSTRACT_FROM => 'lib/Tree/Suffix.pm',
AUTHOR => 'gray <gray@cpan.org>',
PREREQ_PM => { 'Test::More' => 0 },
LIBS => [ '-L/home/ewijaya/MyBioTool/libstree-0.4.2/lib -lstree' ],
INC => '-I/home/ewijaya/MyBioTool/libstree-0.4.2/include' ,
clean => { FILES => 'Tree-Suffix-*' },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);
__END__
4. Do this:
$ perl Makefile.PL PREFIX=~/lib/ LIB=~/lib/
5. Followed by standard: make, make test, make install
Perhaps Gray may consider this information for Tree::Suffix doc.
Just my 2 cents,
Edward WIJAYA
--------------------------------------------------- I²R Disclaimer ------------------------------
This email is confidential and may be privileged. If you are not the intended recipient, please delete it and notify us immediately. Please do not copy or use it for any purpose, or disclose its contents to any other person. Thank you.
-------------------------------------------------------------------------------------------------