FreeBSD Build Notes

See also Berkeley DB notes on FreeBSD

  1. Normal build command for FreeBSD and no options:

    sh buildall.sh
  2. Known issue in Xerces 3.0.1.

    There is a known issue in xerces 3.0.1 where in the file xerces-c-src/src/xercesc/util/NetAccessors/Socket/UnixHTTPURLInputStream.cpp the "if (n<0)" should be "if(n!=0)".

  3. I can't run Berkeley DB XML on a FreeBSD 5.4 machine.

    On some installations of FreeBSD 5.4, you may see this runtime error:

    Fatal error 'Spinlock called when not threaded.' at line 87 in file 
    /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)

    If this error is seen, it is necessary to create an /etc/libmap.conf file to map libc_r to libpthread. See "man 4 libmap.conf" for details on how to do this.