title: How do I install Perl's Lingua::Lid?
body: <p>I am trying to install <a href="http://search.cpan.org/dist/Lingua-Lid" rel="nofollow noreferrer">Lingua::Lid</a> onto a unix system (ubuntu, latest version). Of course I am root. When I go into the package to install using <code>perl Makefile.PL</code> I get this dumb error:</p>
  
  <pre><code>[root@csisl27 Lingua-Lid-0.01]# perl Makefile.PL
  /opt/ls//lib does not exist at Makefile.PL line 48.
  </code></pre>
  
  <p>I have tried playing with the path on line 48, nothing changes, here is what line 48-50 looks like:</p>
  
  <pre>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";</pre>
  
  <p>The variable $BASE is declared as this:</p>
  
  <pre><code>$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});
  </code></pre>
  
  <p>Now the Perl program I am trying to write simply look like this (just my base):</p>
  
  <pre><code> #!/usr/bin/perl
   use Lingua::LinkParser;
   use strict;
   print "Hello world!\n";
  </code></pre>
  
  <p>When I run this trying to use Lingua, here is my error:</p>
  
  <p><code>[root@csisl27 assign4]# ./perl_parser_1.pl</code></p>
  
  <p><code>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.</code></p>
  
  <p>I tried insalling this from cpan, still doesn't properly work.</p>