Alt-CWB-ambs
view release on metacpan or search on metacpan
If you have never installed a Perl module before: don't despair. All you
have to do is to execute the following commands:
perl Makefile.PL
make
make test
make install
You will probably have to login as root for the last step (or you can type
"sudo make install" and enter your root password). If you want to install
the CWB/Perl modules in a non-standard location, say in "~/perl/lib/perl5/..."
and "~/perl/man/...", type the following instead of "perl Makefile.PL":
perl Makefile.PL PREFIX=~/perl INSTALLMAN1DIR=~/perl/man/man1
Note that you will then have to include the appropriate subdirectories of
"~/perl/lib/perl5/" in your Perl search path in order to use the CWB modules.
If the "cwb-config" utility is not in your standard search path, you can specify
its location with the --config option:
package variable I<$CWB::Prefix> does not have much practical importance.
Use the B<cwb-config> program to find out the precise installation paths.
$CWB::Prefix; # general installation prefix
$CWB::BinDir; # directory for CWB binaries (executable programs)
$CWB::DefaultRegistry; # compiled-in default registry directory
=cut
# make package configuration variables available
our $Prefix = $CWB::Config::Prefix; # this doesn't say much, as individual install directories may have been overwritten
our $BinDir = $CWB::Config::BinDir;
our $DefaultRegistry = $CWB::Config::Registry;
# global variables: full paths to CWB tools
our $Config = "$BinDir/cwb-config";
our $SEncode = "$BinDir/cwb-s-encode";
our $SDecode = "$BinDir/cwb-s-decode";
our $Encode = "$BinDir/cwb-encode";
our $Decode = "$BinDir/cwb-decode";
our $Lexdecode = "$BinDir/cwb-lexdecode";
( run in 0.751 second using v1.01-cache-2.11-cpan-a1f116cd669 )