FreeBSD Hacks

Most of this is obsolete now and remains here for historical interest only.

Fix for NFS over TCP


NFSv4 Errata

Apply this patch and rebuild.

Firefox 1.0

See my OpenBSD build instructions.

Mozilla 1.5 / FreeBSD 5.1

I don't have this working yet. It wants to make in xpfe/components/shistory but this directory is empty in 1.5. I tried copying from 1.4.1 but then the make failed here:

gmake[2]: Entering directory `/home/rees/mozilla-15/xpfe/components/sidebar/public'
gmake[2]: *** No rule to make target `export'.  Stop.
gmake[2]: Leaving directory `/home/rees/mozilla-15/xpfe/components/sidebar/public'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory `/home/rees/mozilla-15'
gmake: *** [default] Error 2

See "Mozilla 1.4 / FreeBSD 5.1" below for build instructions. Use mozilla-1.5-freebsd-5.1.diff.

Mozilla 1.4.1 / FreeBSD 5.1

See "Mozilla 1.4 / FreeBSD 5.1" below for build instructions. Use mozilla-1.4.1-freebsd-5.1.diff.

Mozilla 1.4 / FreeBSD 5.1

ftp -o - | tar xfvz -
cd mozilla
cat /usr/ports/www/mozilla-devel/files/patch* | patch
# patch file also available here
head /usr/ports/www/mozilla-devel/work/mozilla/config.status
./configure --disable-auto-deps --enable-chrome-format=jar --disable-cpp-exceptions --disable-cpp-rtti --enable-crypto --disable-debug --disable-debug --disable-gtktest --disable-freetypetest --disable-installer --disable-glibtest --enable-double-buffer --enable-mathml --disable-md --disable-pedantic --disable-bidi --disable-plaintext-editor-only --enable-strip --enable-svg --disable-tests --disable-xterm-updates --enable-xinerama --with-system-zlib --with-system-jpeg=/usr/local --with-system-mng=/usr/local --with-system-png=/usr/local --with-pthreads --enable-ldap --enable-mailnews --enable-extensions=default,irc,xmlterm --disable-jsd --disable-dtd-debug --enable-default-toolkit=gtk --enable-xft --enable-reorder --x-libraries=/usr/X11R6/lib --x-includes=/usr/X11R6/include --prefix=/usr/X11R6 i386-portbld-freebsd5.1 --disable-svg
# had to add the "--disable-svg"
# don't use "make install"
ln -s `pwd`/dist/bin /usr/local/mozilla
ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla

Mozilla 1.4b / FreeBSD 5.1

# Tried to build gmake from source, but it failed. Build from ports.

cd /usr/ports/www/mozilla-devel
# Failed in work/mozilla/mailnews/db/msgdb/build due to lots of undefined
# symbols that apparently belong in libc. cd to that dir and run c++ command
# line manually, adding "-lc" to the end.

# make failed mysteriously. cd work/mozilla; gmake
# don't use "make install"
ln -s /usr/ports/www/mozilla-devel/work/mozilla/dist/bin /usr/local/mozilla
ln -s /usr/local/mozilla/mozilla /usr/local/bin/mozilla

Jim Rees