Slash Boxes

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.
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] / essages_2epl:/usr/local/slash/site/ u/htdocs/'t locate Slash/ 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/'t locate Slash/ 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/ 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/ or otherwise exists. There's a Journal/ (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 and 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 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 []
      • 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.