# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# My path to the C library program
export CFLAGS="-I $HOME/MyBioTool/libstree-0.4.2/include"
export LDFLAGS="-L $HOME/MyBioTool/libstree-0.4.2/lib"
PATH=$PATH:$HOME/bin:
export PATH
unset USERNAME
export PERL5LIB=/home/monkfan/lib/perl5/site_perl/5.8.5/i686-linux:/home/monkfan/lib/perl5/site_perl/5.8.5
####
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible
####
~/.cpan/build/Tree-Suffix-0.12$ perl Makefile.pl CFLAGS="$CFLAGS -I$HOME/MyBioTool/libstree-0.4.2/include" LDFLAGS="$LDFLAGS -L$HOME/MyBioTool/libstree-0.4.2/lib"
####
export LD_LIBRARY_PATH=/home/monkfan/MyBioTool/libstree-0.4.2/lib:${LD_LIBRARY_PATH}
export CFLAGS="-I $HOME/MyBioTool/libstree-0.4.2/include";
export LDFLAGS="-L $HOME/MyBioTool/libstree-0.4.2/lib";
####
export LIBRARY_PATH=$HOME/MyBioTool/libstree-0.4.2/lib
####
__BEGIN__
use strict;
use ExtUtils::MakeMaker;
WriteMakefile(
NAME => 'Tree::Suffix',
VERSION_FROM => 'lib/Tree/Suffix.pm',
ABSTRACT_FROM => 'lib/Tree/Suffix.pm',
AUTHOR => 'gray ',
PREREQ_PM => { 'Test::More' => 0 },
LIBS => [ '-L/home/monkfan/MyBioTool/libstree-0.4.2/lib -lstree' ],
INC => '-I/home/monkfan/MyBioTool/libstree-0.4.2/include' ,
clean => { FILES => 'Tree-Suffix-*' },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
);
__END__
####
$ perl Makefile.PL PREFIX=~/lib/ LIB=~/lib/
OR
$ perl Makefile.PL PREFIX=~/lib/perl5/site_perl/5.8.5 LIB=~/lib/perl5/site_perl/5.8.5