plainblack.com
Username Password
search
Bookmark and Share
Subscribe

WRE-Building on FreeBSD 5.3

These are notes taken while building the WRE 0.7.2 from source inside a FreeBSD 5.3-RELEASE jail. 

  • LFTP: had to manually point to /usr/local/{lib,include}/ too
  • Image Magick: had to use gmake
  • libpng: had to create the /data/wre/prereqs/imagemagick/include/libpng folder, afterwards make install worked fine
  • libapreq2: had to use gmake and manually point to libexpat:
    /data/wre/prereqs/perl/bin/perl Makefile.PL 
    --with-apache2-apxs=/data/wre/prereqs/apache/bin/apxs
    --with-expat=/data/wre/prereqs/apache/
  • Now httpd would produce the error

    "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
  • Spectre would fail with the following message: "Cannot determine local time zone". Fixed with:
root@box# cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime

That's it. Hope it helps someone else.

Keywords: freebsd Installation WRE

Search | Most Popular | Recent Changes | Wiki Home
© 2023 Plain Black Corporation | All Rights Reserved