Installing AOLServer 4.0

Before installing AOLServer, it will be helpful to install wget

  1. login as root: su -
  2. cd /usr/ports/ftp/wget
  3. make install
  4. rehash
  5. exit

Install libxml2

  1. cd /usr/ports/textproc/libxml2
  2. make install
  3. ln -s /usr/local/include/libxml2/libxml /usr/local/include/libxml

Install tcl 8.4

  1. cd /usr/ports/lang/tcl84
  2. make install TCL_WITH_THREADS=1

Now let's start the AOLServer installation. Since AOLServer 4.0 is not yet in the FreeBSD ports collection, we will install it manually.

  1. Log in as yourself
  2. cd
  3. mkdir sources
  4. cd sources
  5. wget
    You can get a full listing of download sites from:
  6. tar xzvf aolserver-4.0-src.tar.gz
  7. cd aolserver-4.0
  8. ./configure --with-tcl=/usr/local/lib/tcl8.4 --prefix=/usr/local/aolserver
  9. gmake
    gmake should have been automatically installed with libxml above
  10. su
  11. cd ~your_login/sources/aolserver-4.0/
  12. gmake install
  13. exit
  14. cd ../

Install nscache, nsrewrite, nssha1, nsxml

  1. Download the FreeBSD Extra AOLServer Modules. This package contains nscache, nsrewrite, nssha1 (AOLServer 3.3oacs1, and nsxml (from The Makefiles have been massaged to compile under FreeBSD.
  2. cd ~/sources/aolserver-4.0
  3. tar xzvf ~/FreeBSD-aolserver-extras.tar.gz
  4. Edit the Makefile (~sources/aolserver-4.0/Makefile) and modify the dirs line to:
    dirs = nsthread nsd nssock nsssl nscgi nscp nslog nsperm nsdb nsext nspd nscache nsrewrite nssha1 nsxml
  5. If you are using the "FreeBSD-aolserver-extras" distribution (see above), you can skip to the next three steps. There may be newer versions of the modules available, so you may want to check the aforementioned URLs. Use the Makefiles in the FreeBSD-aolserver-extras.tar.gz as a guide to getting the modules to compile.
  6. cd nssha1
  7. comment out lines 139 and 140 in nssha1.c
    typedef unsigned int u_int32_t;
    typedef unsigned char u_int8_t;
    change to:
    /*typedef unsigned int u_int32_t;*/
    /*typedef unsigned char u_int8_t;*/
  8. cd ../
  9. gmake install

Continue on with the PostgreSQL installation

IC Design: view list
2002-08-07: Orchard Labs, Inc. introduces Internet Consulting and IC Consulting services.

2002-08-07: Read the OpenACS 4.5 FreeBSD Installation Guide.

2002-08-07: Read about the Orchard Labs Community System (OLCS).

© 2000-2002 Orchard Labs, Inc.