These are notes taken while building the WRE 0.7.2 from source inside a FreeBSD 5.3-RELEASE jail.
/data/wre/prereqs/perl/bin/perl Makefile.PL
--with-apache2-apxs=/data/wre/prereqs/apache/bin/apxs
--with-expat=/data/wre/prereqs/apache/
"Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 2)"
and would dump core when starting the modperl-ed httpd. I had to use the following /etc/libmap.conf to get it going:
root@box# cat /etc/libmap.conf
libc_r.so.5 libthr.so.1
libc_r.so libthr.so
libpthread.so.1 libthr.so.1
libpthread.so libthr.so
root@box# cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
That's it. Hope it helps someone else.
Keywords: freebsd Installation WRE