Stas Bekman wrote:
Lars Eggert wrote:

FYI, mod_perl2 on FreeBSD requires a couple of minor patches. The ones for r16 are at http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/mod_perl2/files/,

not sure what are we supposed to do with those, please show us what is the problem they are trying to solve.

Completely reasonable request, should have done this in the original email.

patch-aa you can ignore, it just disables the regular installation procedure because things need to go into special places for a FreeBSD port.

patch-ab is required to build, otherwise I see the following error during make:

Running Mkbootstrap for APR::PerlIO ()
chmod 644 PerlIO.bs
rm -f ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
LD_RUN_PATH="" cc -shared -L/usr/local/lib PerlIO.o modperl_apr_perlio.o -Wl,-E -L/usr/local/lib -o ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
chmod 755 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.so
cp PerlIO.bs ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs
chmod 644 ../../../blib/arch/Apache2/auto/APR/PerlIO/PerlIO.bs
make: don't know how to make dynamic. Stop
*** Error code 2

There is actually another fix that is in the port's Makefile:

pre-install:
        cp WrapXS/APR/ThreadMutex/ThreadMutex.pm blib/lib/Apache2/APR/

Without this, ThreadMutex.pm doesn't get installed.

Thanks,
Lars
--
Lars Eggert                                     NEC Network Laboratories

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to