Main Stories
Slash Boxes

Slash Open Source Project

Slashcode Log In

Log In

[ Create a new account ]

Article Poll

Poll I found this article to be
Very Helpful
Helpful
Not Helpful
Not Very Helpful
[ Results | Polls ]
Comments:0 | Votes:0

Slashcode/modperl Static, But With DSO

posted by Krow on 07:51 AM July 9th, 2001   Printer-friendly   Email story
billmoss writes "I've installed Slashcode a few times and have tried building modperl & Apache acording to Slascode intructions but also attempting DSO support (by adding USE_DSO=1, or shared=so, or something similar). Anyway, apparently it doesn't work. Because a DSO module (mod_mp3) wouldn't install later.

Is it possible to build modperl & Apache in the way Slashcode wants, but that also includes support for DSOs? Since many people may require using DSOs in addition to Slascode on their Apache server, could you post the modperl build string (perl Makefile.pl etc.) that will turn DSO on in Apache (but that will also conform to Slashcode reequirements for modperl), and maybe update the INSTALL file? Thanks,

Bill"
Tried going with the latest Apache and mod_perl?

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 Anonymous Coward
    apply mod_perl to Apache and install it first, then compile Apache with the DSO support and whatever else you want?  Similar to something like this:

        $ cd mod_perl-SRC-DIR
        $ perl Makefile.PL \
              EVERYTHING=1 \
              APACHE_SRC=where_you_have_the_source \
              PREP_HTTPD=1 \
              DO_HTTPD=1
              USE_APACI=1 \
       
  • This looks like installing modperl the way Slashcode wants, and then reinstalling it as a DSO? Or is this somehow keeping the Slashcode modperl static configuration?

    Is there a way to just add USE_DSO=1 in the initial perl Makefile.pl... under the modeperl directory? I tried with 1.3.20 and 1.25 but DSOs wouldn't work.

  • If Apache is set up to use DSOs, it's pretty easy. I configured Apache to enable the maximum number of modules as shared, to disable Expat, and then built and installed it. Then I configured mod_perl as a DSO and used apxs to install it.

    It was simple. The only strange thing I had to do was to comment out the AddHandler and PerlHandler directives in slash.conf.