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.
  • Well, I've been trying to install Slash on SuSE 8.0 for a little while, getting the usual assorted errors, so I figured I would give these instructions a try. Here is my take on them so far (note: I haven't finished the installation process yet, but i want to make notes as I go, so I don't forget anything)

    This distro comes with perl5.6.1, so I left that as it was because perl is required by so many other programs, I didn't want to get to screwed if I did something wrong. I also left MySQL up and running, without touching it. In YAST2 I clicked on add/remove software and did a search for 'apache' (case insensitive and include package descriptions). I 'deselected' pretty much everything apache, but at the same time, I installed thttpd as a backup/failsafe webserver (again in case I screwed anything up). Hit the 'Next" button and everything gets deleted or installed as the case may be.

    Next, I downloaded the latest source tarballs of apache 1.3.26 and mod_perl 1.99.04 by following the links given in the 'for dummies' instructions.

    In step 4 of the 'for dummies' instructions it says
    "You MUST install mod_perl and Apache as directed here. No buts."
    Well, unfortunately, it looks like there might be a mini-step or two missing. Mainly, while it says to unzip apache, it doesn't mention configuring, making, or installing it. (it reminds me of an old saying that if you try to make something foolproof, someone will make a better fool...look at AOL users - LOL, it had to be said). Anyway, I followed the instructions and unzipped apache, then cd'd over the /usr/download/mod_perl and did the "perl Makefile.PL" instructions as written, but I got an error saying:
    Reading Makefile.PL args from @ARGV
    !!! Unable to determin server version, aborting.
    !!! Please specify MP_APXS or MP_AP_PREFIX.
    I tried it twice to make sure I didn't just do a typo or something, but I got the same response. So, I went into the /usr/download/apache directory, read the README.configure file and did the './configure --prefix=/usr/local/apache'. Then I did make and make install. I went to /usr/local/apache/bin and did 'apachectl start', got httpd started, but it didn't take me too long to realize that I still had thttpd going. I went back to YAST2 and uninstalled thttpd, then restarted apachectl. At this point, I noticed SuSE did a couple of interesting things.

    In the SuSE packaged apache, there is a SuSE version of the test page. It says what version of apache is running, and what the main modules are (i.e. mod_perl, mod_PHP, etc). When I uninstalled apache, and put in thttpd, SuSE put up a thttpd test page, which is quite different from the apache one. After I reinstalled apache, I edited the httpd.conf file to use /usr/local/httpd/htdocs as the document root, which is the SuSE default. When I went to uninstall thttpd with YAST2, it mentioned that there was a potential conflict with running both apache and thttpd at the same time, so YAST2 knew that I reinstalled apache. I uninstalled thttpd, and then I saw that the SuSE apache test page was back, and to top it off, it reinstalled mod_perl!!!

    That's where I am now. I'm going to run with it at the moment and see if I get any problems. It installed mod_perl 1.26, so I'm going to keep my fingers crossed.

    Yes, I know it's a bit lengthy, but I've had two grande mochas since I got out of work, so I'm a bit...energized ;-) Hence, my handle.

    -barista
    • Slashdot currently uses perl 5.6.1, so it should work just fine.

      Personally I install mod_perl as a DSO, which makes upgrading a lot easier.
      --

      --
      You can't grep a dead tree.
      • by misterorange (3825) on Monday July 01 2002, @09:36PM (#5057)
        Personally I install mod_perl as a DSO, which makes upgrading a lot easier.

        How exactly do you do this? (so I can put this into the guide) And how would you upgrade it as well?