Thanks to I.Tetcu, S. Lawrance and P.Lucistnik for reviewing and committing.
Ports make installing on FreeBSD a non-issue, just do:
cd /usr/ports/www/openacs && make install WITH_POSTCONFIG=yes
cd /usr/ports/www/openacs-dotlrn && make install WITH_POSTCONFIG=yes
(cd /usr/ports/www/openacs && make install, will allow you to inspect and run /usr/local/share/examples/openacs/post-config.sh later. This script configures Aolserver and Postgresql.)
How to get it?
- The ports collection ships with the next OS releases, starting with 6.0 around september
To get changes made after a "ports freeze" (such changes will not be in the release ISO; see schedule of release engineering: http://www.freebsd.org/releng/index.html):
- just update your ports collection
- or use http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/ to download tarballs
- or use the remote fetching of packages (instead of ports): pkg_add -r openacs (or pkg_add -r dotlrn)
Ports vs Packages
There are ports and packages. Ports are config files that tell FreeBSD what it needs to install a particular software. Packages are build from ports (by doing "make package" instead of "make install"). Package are mainly file lists with an install script (PRE/POST install), a deinstall script and some descriptions. Read 'man pkg_create'. This paradigm may be a little different in FreeBSD than in most Linux distros. A good place to pick up a lot about it: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html
All magic of ports like 'make fetch-recursive install package clean' is in: http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk
All dependencies (postgresql, aolserver, aolserver-openacs-pg, tdom, tclwebtest, tcl84-thread, etc.) are available but let me know if you are missing something.
Please submit bugs at http://www.freebsd.org/send-pr, with a cc to me. Put at least something like "[problem or patch] www/openacs: ..." in the one line summary, or contact me directly. If you know how please port it to netBSD/openBSD. If you want to be a maintainer for one of the ports, let me know.
- The ports/package collection will give you other possibilities like:
* upgrading: http://www.onlamp.com/pub/a/bsd/2003/08/28/FreeBSD_Basics.html
* tricks: http://www.onlamp.com/pub/a/bsd/2003/08/07/FreeBSD_Basics.html
* search collection: cd /usr/ports && make search key=... (or http://www.freshports.org)
- A FreeBSD desktop distro: http://www.pcbsd.org
- A recent FreeBSD/Linux comparison: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/linux-comparison
- The original thread on installing openACS with FreeBSD can be found here: http://openacs.org/doc/openacs-5-1/unix-installation.html