Amokk (amokk) wrote in lj_everywhere,
Amokk
amokk
lj_everywhere

  • Mood:
I'm trying to install LJ on my computer: Mandrake 9.1, all the server requirements (perl, apache, etc) are installed and up to date, I installed all the perl modules from CPAN.

Now when I run bin/upgrading/update-db.pl --runsql --populate I get an error message.


[lj@amokk lj]$ bin/upgrading/update-db.pl --runsql --populate
Can't locate DBI/Role.pm in @INC (@INC contains: /home/lj/cgi-bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/lj/cgi-bin/ljlib.pl line 17.BEGIN failed--compilation aborted at /home/lj/cgi-bin/ljlib.pl line 17.
Compilation failed in require at bin/upgrading/update-db.pl line 12.
BEGIN failed--compilation aborted at bin/upgrading/update-db.pl line 13.


LJHOME is /home/lj and I moved everything that CVS put in livejournal up to lj since that's where it looks for things (it installed as /home/lj/livejournal/cgi-bin/ and I moved cgi-bin and bin and the other things to /home/lj ).

DBI/Role.pm is in wcmtools folder but I'm stuck. Do I need to put the wcmtools folder somewhere special? Do I need to set them in a path variable somewhere that's not mentioned in the documentation?


checkconfig.pl gives this error:


[lj@amokk bin]$ ./checkconfig.pl
[Checking for Perl Modules....]
Missing optional module GD::Graph: Required to make graphs for the statistics page.
[Checking LJ Environment...]
Problem:
* Failed to load ljlib.pl: Can't locate DBI/Role.pm in @INC (@INC contains: /home/lj/cgi-bin /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at /home/lj/cgi-bin/ljlib.pl line 17.
BEGIN failed--compilation aborted at /home/lj/cgi-bin/ljlib.pl line 17.
Compilation failed in require at ./checkconfig.pl line 100.
Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your IP address will be recorded 

  • 3 comments