go-perl
view release on metacpan or search on metacpan
is a third method you can try, which is to install IO::String,
Data::Stag and go-perl in your home directory. To do this, you need to
set the PREFIX variable when installing.
First download Data::Stag and IO::String from CPAN, as detailed in
protocol II.
Then try this:
----------
setenv PERL5LIB "${PERL5LIB}:$HOME/lib/perl5/site_perl/5.8.0/
cd ~
tar -zxvf IO-String-1.06
cd IO-String-1.06
perl Makefile.PL PREFIX=~
make test
make install
cd ~
tar -zxvf Data-Stag-0.08.tar.gz
cd Data-Stag-0.08
perl Makefile.PL PREFIX=~
cd
cd go-perl-0.02
perl Makefile.PL PREFIX=~
make test
make install
----------
If this works, then place this in your startup file:
----------
setenv PERL5LIB "${PERL5LIB}:$HOME/lib/perl5/site_perl/5.8.0/
setenv PATH "${PATH}:$HOME/bin"
----------
You may need to modify the above, depending on your
setup. Instructions for this are outwith the scope of this
document. Try consulting online sources, such as:
http://www.perl.com/pub/a/2002/04/10/mod_perl.html
Additional Modules
bash shells:
----------
export GO_ROOT=$HOME/go-dev
----------
other shells:
----------
setenv GO_ROOT $HOME/go-dev
----------
It is a good idea to put this in your startup file
Installing from CVS
-------------------
You can get the latest bleeding-edge version of go-perl from the
go-dev cvs tree. See http://www.godatabase.org/dev for details
Once you have checked out go-dev/go-perl, do the usual thing (if
you're installing from cvs it's assumed you're a bleeding edge user
and know how to do this):
cd ~/cvs/go-dev/go-perl
perl Makefile.PL
make test
setenv GO_ROOT ~/cvs/go-dev
setenv PERL5LIB "$PERL5LIB:~/cvs/go-dev/go-perl"
The assumption is that if you are using cvs you want to use the
working copy; if you want to install from cvs, instead do the
following steps:
cd go-dev/go-perl
perl Makefile.PL
make GO/xsl
make test
make install
INSTALL.html view on Meta::CPAN
<div class="sectionbody">
<p>If you do not have sufficient permission to install system-wide, there
is a third method you can try, which is to install IO::String,
Data::Stag and go-perl in your home directory. To do this, you need to
set the PREFIX variable when installing.</p>
<p>First download Data::Stag and IO::String from CPAN, as detailed in
protocol II.</p>
<p>Then try this:</p>
<div class="listingblock">
<div class="content">
<pre><tt>setenv PERL5LIB "${PERL5LIB}:$HOME/lib/perl5/site_perl/5.8.0/
cd ~
tar -zxvf IO-String-1.06
cd IO-String-1.06
perl Makefile.PL PREFIX=~
make test
make install
cd ~
tar -zxvf Data-Stag-0.08.tar.gz
cd Data-Stag-0.08
perl Makefile.PL PREFIX=~
INSTALL.html view on Meta::CPAN
make install
cd
cd go-perl-0.02
perl Makefile.PL PREFIX=~
make test
make install</tt></pre>
</div></div>
<p>If this works, then place this in your startup file:</p>
<div class="listingblock">
<div class="content">
<pre><tt>setenv PERL5LIB "${PERL5LIB}:$HOME/lib/perl5/site_perl/5.8.0/
setenv PATH "${PATH}:$HOME/bin"</tt></pre>
</div></div>
<p>You may need to modify the above, depending on your
setup. Instructions for this are outwith the scope of this
document. Try consulting online sources, such as:</p>
<p>http://www.perl.com/pub/a/2002/04/10/mod_perl.html</p>
</div>
<h2>Additional Modules</h2>
<div class="sectionbody">
<p>Certain applications (for example, those involving XML parsing) will
require additional modules from CPAN. If you are going on to install
INSTALL.html view on Meta::CPAN
there are some applications that require you to specify the location
of go-dev using the GO_ROOT env var</p>
<p>bash shells:</p>
<div class="listingblock">
<div class="content">
<pre><tt>export GO_ROOT=$HOME/go-dev</tt></pre>
</div></div>
<p>other shells:</p>
<div class="listingblock">
<div class="content">
<pre><tt>setenv GO_ROOT $HOME/go-dev</tt></pre>
</div></div>
<p>It is a good idea to put this in your startup file</p>
</div>
<h2>Installing from CVS</h2>
<div class="sectionbody">
<p>You can get the latest bleeding-edge version of go-perl from the
go-dev cvs tree. See http://www.godatabase.org/dev for details</p>
<p>Once you have checked out go-dev/go-perl, do the usual thing (if
you're installing from cvs it's assumed you're a bleeding edge user
and know how to do this):</p>
<p>cd <sub>/cvs/go-dev/go-perl
perl Makefile.PL
make test
setenv GO_ROOT </sub>/cvs/go-dev
setenv PERL5LIB "$PERL5LIB:~/cvs/go-dev/go-perl"</p>
<p>The assumption is that if you are using cvs you want to use the
working copy; if you want to install from cvs, instead do the
following steps:</p>
<p>cd go-dev/go-perl
perl Makefile.PL
make GO/xsl
make test
make install</p>
<p>The "make GO/xsl" stage is not strictly necessary; if you omit it you
will get warnings. You can ignore these, but if you ever want to use
( run in 0.606 second using v1.01-cache-2.11-cpan-a1d94b6210f )