[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Apache & Perl, -current as of 2000-12-17



Anil Madhavapeddy <anil@recoil.org> wrote:
>On Wed, Jan 03, 2001 at 12:25:48PM +0100, Toni Mueller wrote:
>> 
>> Hello,
>> 
>> while trying to get mod_perl-1.24 to build, I stumble across a problem
>> between Apache and Perl. Since both of them are in the base system,
>> there should be some kind of "resolution" to this... Also, I think
>> I understand that no port should invade the base system, but how
>> do I sensibly solve the following problems (other problems -> maint):
>> 
>
>Have you tried to use the mod_perl port in /usr/ports/www/mod_perl ?
>
>I don't use it myself, but it should work just fine with your
>version of OpenBSD (and if it doesn't, complain to the maintainer!)

The port will complain that Apache and Perl are not quite 
compatible (OpenBSD 2.8).  This is not something fixable by the 
package maintainer.  It is mod_perl that is complaining, not the 
port.

+----
|Your Perl is uselargefiles enabled, but Apache is not, suggestions:
|    *) Rebuild Apache with CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
|    *) Rebuild Perl with Configure -Uuselargefiles
|    *) Let mod_perl build Apache (USE_DSO=1 instead of USE_APXS=1)
+----

Also, the Perl that comes with 2.8 needs to be patched before it 
will work properly with AxKit.  I've found this to be very much a 
pain.  If I start with a clean install of the src tree, I will 
get many errors during the build process if I follow the FAQ on 
building the src tree.  I've given up for now.  I don't have the 
time to mess with it.
------------------------------------+-----------------------------------------
James Smith - jgsmith@jamesmith.com | http://www.jamesmith.com/
            jsmith@sourcegarden.org | http://sourcegarden.org/
              jgsmith@tamu.edu      | http://cis.tamu.edu/systems/opensystems/
------------------------------------+------------------------------------------