 |
Installing AOLServer 4.0
Before installing AOLServer, it will be helpful to install wget
- login as root:
su -
cd /usr/ports/ftp/wget
make install
rehash
exit
Install libxml2
cd /usr/ports/textproc/libxml2
make install
ln -s /usr/local/include/libxml2/libxml /usr/local/include/libxml
Install tcl 8.4
cd /usr/ports/lang/tcl84
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.
- Log in as yourself
cd
mkdir sources
cd sources
wget http://unc.dl.sourceforge.net/sourceforge/aolserver/aolserver-4.0-src.tar.gz
You can get a full listing of download sites from: http://prdownloads.sourceforge.net/aolserver/aolserver-4.0-src.tar.gz?download
tar xzvf aolserver-4.0-src.tar.gz
cd aolserver-4.0
./configure --with-tcl=/usr/local/lib/tcl8.4 --prefix=/usr/local/aolserver
gmake gmake should have been automatically installed with libxml above
su
cd ~your_login/sources/aolserver-4.0/
gmake install
exit
cd ../
Install nscache, nsrewrite, nssha1, nsxml
- Download the FreeBSD Extra AOLServer Modules. This package contains nscache, nsrewrite, nssha1 (AOLServer 3.3oacs1 http://openacs.org/doc/openacs-4-6-3/individual-programs.html#source-aolserver), and nsxml (from http://acs-misc.sourceforge.net/dl/nsxml.tgz). The Makefiles have been massaged to compile under FreeBSD.
cd ~/sources/aolserver-4.0
tar xzvf ~/FreeBSD-aolserver-extras.tar.gz
- 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
- 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.
cd nssha1
- comment out lines 139 and 140 in nssha1.c
originally:
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;*/
cd ../
gmake install
Continue on with the PostgreSQL installation
|
 |
|