I am trying to install Lingua :: Lid on a unix system (ubuntu, latest version). Of course, I am the root. When I enter the package to install using perl Makefile.PL, I get this dumb error:
[root@csisl27 Lingua-Lid-0.01]
/opt/ls//lib does not exist at Makefile.PL line 48.
I tried playing with the track on line 48, nothing changes, here is what line 48-50 looks like:
Line 48: die "$ BASE / lib does not exist" unless -d "$ BASE / lib";
Line 49: die "$ BASE / include does not exist" unless -d "$ BASE / include";
Line 50: die "lid.h is missing in $ BASE / include" unless -e "$ BASE / includ / lid.h";
The $ BASE variable is declared as follows:
$BASE = "/opt/ls/" if ($^O eq "linux" or $^O eq "solaris");
$BASE = "/usr/local/" if ($^O eq "freebsd");
$BASE = $ENV{LID_BASE_DIR} if (defined $ENV{LID_BASE_DIR});
Now the Perl program that I'm trying to write just looks like this (only my database):
use Lingua::LinkParser;
use strict;
print "Hello world!\n";
, Lingua, :
[root@csisl27 assign4]# ./perl_parser_1.pl
Can't locate Lingua/LinkParser.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/5.10.0/x86_64-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl .) at ./perl_parser_1.pl line 3. BEGIN failed--compilation aborted at ./perl_parser_1.pl line 3.
cpan, .