Subject: Could not build Mod_perl as DSO on Netbsd 3.0
To: None <netbsd-help@NetBSD.org>
From: Radhika Sambamurti <radhika@88thstreet.com>
List: netbsd-help
Date: 10/30/2006 14:36:16
Earlier I wrote saying I could not build mod_perl as DSO in Netbsd 3.0.
The workaround is patching -  pkgsrc/mk/dlopen.builtin.mk.
Thanks to the link below and a conversation with Johnny Lam, I added the
line to /pkgsrc/mk/dlopen.builtin.mk (see below) and now mod_perl build
fine and is being loaded by Apache.

http://mail-index.netbsd.org/tech-pkg/2006/10/17/0004.html

-- added line to file as below --

_BLNK_DLOPEN_REQUIRE_PTHREAD_PLATFORMS=                                 \
        NetBSD-2.[0-9]_*-*                                              \
        NetBSD-2.[0-9]-* NetBSD-2.[0-9].[0-9]*-*                        \
        NetBSD-2.[0-8][0-9]*-* NetBSD-2.9[0-8]*-*                       \
        NetBSD-2.99.[0-9]-* NetBSD-2.99.10-*                            \
        NetBSD-3.*


And now voila I see:
[Mon Oct 30 14:26:27 2006] [notice] Apache/1.3.34 (Unix) mod_perl/1.29
PHP/4.4.2 mod_ssl/2.8.25 OpenSSL/0.9.7d configured -- resuming normal
operations


Thank you for the link and the pointers.

--Radhika



-- 
It is all a matter of perspective. You choose your view by choosing where
to stand.
Larry Wall
---