[sysfink] r209 committed - local::lib alternative

0 views
Skip to first unread message

sys...@googlecode.com

unread,
Mar 4, 2010, 7:47:44 AM3/4/10
to sys...@googlegroups.com
Revision: 209
Author: mj41.cz
Date: Thu Mar 4 04:47:05 2010
Log: local::lib alternative
http://code.google.com/p/sysfink/source/detail?r=209

Modified:
/trunk/server/docs/INSTALL

=======================================
--- /trunk/server/docs/INSTALL Wed Jan 20 07:26:46 2010
+++ /trunk/server/docs/INSTALL Thu Mar 4 04:47:05 2010
@@ -13,15 +13,40 @@
#
# See http://search.cpan.org/~andk/CPAN/lib/CPAN.pm#FAQ or 'man CPAN'.

+# Choose A) or B).
+
+# -- A) Use local::lib -------------------------------------
+
+cpan local::lib
+# Or bootstrap
http://search.cpan.org/~apeiron/local-lib/lib/local/lib.pm#The_bootstrapping_technique
+
mkdir ~/sysfink-cpan
-mkdir ~/sysfink-cpan/lib
-export PERL5LIB=/root/sysfink-cpan/lib
+cd ~/sysfink-cpan
+perl -Mlocal::lib=./

# Run 'cpan' and inside it:

+o conf build_requires_install_policy yes
+o conf prerequisites_policy follow
+o conf halt_on_failure on
+o conf commit
+
+
+# -- B) Use cpan and paths -------------------------------------
+
+# Run 'cpan' and inside it:
+
+o conf build_requires_install_policy yes
+o conf prerequisites_policy follow
+o conf halt_on_failure on
+o conf commit
o conf makepl_arg "LIB=~/sysfink-cpan/lib
INSTALLMAN1DIR=~/sysfink-cpan/man/man1
INSTALLMAN3DIR=~/sysfink-cpan/man/man3 INSTALLSCRIPT=~/sysfink-cpan/bin
INSTALLBIN=~/sysfink-cpan/bin"
o conf mbuildpl_arg "--lib=~/sysfink-cpan/lib
--installman1dir=~/sysfink-cpan/man/man1
--installman3dir=~/sysfink-cpan/man/man3 --installscript=~/sysfink-cpan/bin
--installbin=~/sysfink-cpan/bin"
-o conf halt_on_failure on
+
+
+# -- Install cpan modules --------------------------------------
+
+# Run 'cpan' and inside it:

install TAP::Harness

@@ -50,10 +75,17 @@

exit

-# You should call e.g. 'export PERL5LIB=/root/sysfink-cpan/lib' before
running any SysFink command.
-
-
-# -- SySFink ----------------------------------------------
+
+# -- Set your environment variables -------------------------
+
+# You should call commands printed by
+perl -Mlocal::lib=$HOME/sysfink-cpan
+# for A) or
+export PERL5LIB=$HOME/sysfink-cpan/lib
+# for B) before running any SysFink command.
+
+
+# -- SysFink ----------------------------------------------

# Login as root to server machine.
# Check out ~/sysfink if not exists: svn co
http://sysfink.googlecode.com/svn/trunk ~/sysfink

Reply all
Reply to author
Forward
0 new messages