Sophie (soph) wrote in lj_everywhere,

Can't locate DBI/ in @INC

I'm trying to install the latest SVN snapshot of LiveJournal, but I'm having problems. :(

I'm using Gentoo Linux running Apache 1.3.34 and Perl 5.8.8. LJHOME is /home/lj/lj. /home/lj/lj/bin/ finds all the Perl modules, but fails checking the LJ environment:

  * Failed to load Can't locate DBI/ in @INC (@INC contains: /home/lj/lj/cgi-bin /etc/perl
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i686-linux /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl /usr/lib/perl5/5.8.8/i686-linux
/usr/lib/perl5/5.8.8 /usr/local/lib/site_perl .) at /home/lj/lj/cgi-bin/ line 7
BEGIN failed--compilation aborted at /home/lj/lj/cgi-bin/ line 7.
Compilation failed in require at ./ line 214.

I'm assuming DBI::Role is an LJ-specific module since it doesn't seem to be in CPAN. I don't have any instance of the file anywhere in LJHOME, according to "find /home/lj/lj -name".

I'm at a bit of a loss here. As well as this community, is there an IRC channel anywhere? It'd make it easier to troubleshoot there, too...

[edit: Wrapped, sorry!]

[edit 2: Just found the installation guide on the ljcode wiki. I'll use that - I didn't realise you still had to get some things from CVS.]

[edit 3: That fixed it. To people installing from new: The official guide is woefully out of date. Use this one instead. I've got more issues but I'm going to make a new post.]

  • Post a new comment


    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded