Stories
Slash Boxes
Comments

Slash Open Source Project

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login
Loading... please wait.
  • by Bruceo (4646) on Wednesday January 29 2003, @08:19PM (#5617)
    Here's the error from the log:

    Thu Jan 30 01:05:31 2003] [error] /messages.pl:Apache::ROOTgytha_2eanu_2eedu_2eau::m essages_2epl:/usr/local/slash/site/gytha.anu.edu.a u/htdocs/messages.pl:22:Can't locate Slash/Messages.pm in @INC (@INC contains: /opt/perl/5.8.0/lib/5.8.0/ i686-linux /opt/perl/5.8.0/lib/5.8.0 /opt/perl/5.8.0/lib/site_perl/5.8.0/i686-linux /opt/perl/5.8.0/lib/site_perl/5.8.0 /opt/perl/5.8.0/lib/site_perl . /www/ /www/lib/perl) at (eval 369) line 3.

    [Thu Jan 30 01:05:31 2003] [error] Which was called by:Apache::ROOTgytha_2eanu_2eedu_2eau::messages_2e pl:/usr/local/slash/site/gytha.anu.edu.au/htdocs/m essages.pl:163:Can't locate Slash/Messages.pm in @INC (@INC contains: /opt/perl/5.8.0/lib/5.8.0/i686-linux /opt/perl/5.8.0/lib/5.8.0 /opt/perl/5.8.0/lib/site_perl/5.8.0/i686-linux /opt/perl/5.8.0/lib/site_perl/5.8.0 /opt/perl/5.8.0/lib/site_perl ./www/ /www/lib/perl) at (eval 369) line 3.

    [Thu Jan 30 01:05:31 2003] [error] Can't call method "getDescriptions" on an undefined value at /usr/local/slash/site/gytha.anu.edu.au/htdocs/mess ages.pl line 101.

    Now, if my interpretation is correct, what this means is that the location of the [Journal|Messages].pm file is not in INC. Thing is, there is nowhere in the directory structure anywhere where Slash/Journal.pm or otherwise exists. There's a Journal/Journal.pm (similar for messages) in usr/local/slash/plugins, but thats about it. Would these amount to the same thing? If so, then changing it so that the location /usr/local/slash is in INC should correct the problem, assuming I change Journal.pm and Messages.pm to be in the appropriate subdirs, right?

    I'm not very knowledgeable with perl, so if these questions seem a bit obvious to some of you I apologise.

    • It means apache can't find Messages.pm in your perl modules directory.

      1. make sure you don't have two perl's installed.

      2. goto your slash src where you untarred it/grabbed from cvs. do an ls on the plugins directory. There should be one in there called Messages.
      at the root of the slash src, as root, do make install.
      then restart apache - make sure you are restarting your apache 1.x, and make sure your 2.x that's in the default redhat8 install (if you kept it installled) is either not running or running on a different port.

      --
      lottadot [lottadot.com]
      • Woohoo!!!

        Thanks lottadot! Looks like I must have run make install when I only had usr/bin/perl on the system, so it hadn't put anything in /opt/perl. I just redid the make install like u said and everything is fine now.

        All I've gotta do now is work out the templating stuff... From what I've seen on other slash sites, you can get a pretty unique look if you play around with it enough.

        Thanks again :) I think I might kill apache 2 and the other perl version while I'm at it too.