Username Password
Bookmark and Share

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 
  • 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         
  • 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