Building / Compilation Instructions for the Win32-OpenACS System
This page shows how the Win32-OpenACS has been built/compiled. Hopefully they can be of some help for people willing to try to undertake a similar endeavour.
Take Note
These instructions are not complete, they just provide some hints on how to compile and build the Win32-OpenACS system. Please do not send any question on these instructions nor on the compilation/build process, because they will not be answered.
Common Instructions
This is the common algorythm/workflow used to build each single compoment.
- Get the sources – you can find the sources on the net or use the ones contained in the Win32-OpenACS distribution.
- Locate the “win” build folder
- Modify/Correct as required the makefiles and the source codes – the changes/corrections to be applied depend on the actual version of the Microsoft Visual Studio C++ Compiler in use; the Win32-OpenACS distribution contains the sources that have been modified to be compiled my Microsoft Visual Studio 2010 C/C++ Compiler
- Execute in sequence
- nmake -f makefile.vc
- nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\aolserver install
- Copy all the *.exe, *.dll and *.manifest files into c:\aolserver\bin
- Copy the *.lib files into c:\aolserver\lib
TCL
- Extract/Unzip the TCL sources under c:\tcl8.5.8
- Go in the directory c:\tcl8.5.8\win
- Enter in sequence
- nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\aolserver
- nmake -f makefile.vc OPTS=threads INSTALLDIR=C:\aolserver install
TK
- Extract/Unzip the TK sources under c:\tk8.5.8
- Go in the directory c:\tk8.5.8\win
- Execute in sequence
- nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.5.8 INSTALLDIR=c:\aolserver
- nmake -f makefile.vc OPTS=threads INSTALLDIR=C:\aolserver install
tDom
- Extract/Unzip the tDom sources under c:\tkDom-0.8.2
- Go in the directory c:\tkDom-0.8.2\win
- Execute in sequence
- nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.5.8 TKDIR=c:\tk8.5.8 INSTALLDIR=c:\aolserver
- nmake -f makefile.vc OPTS=threads INSTALLDIR=C:\aolserver install
XOTcl
- Extract/Unzip the XOTcl sources under c:\xotcl-1.6.6
- Go in the directory c:\xotcl-1.6.6\win
- Execute in sequence
- nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\aolserver xotclshells
- nmake -f makefile.vc OPTS=threads INSTALLDIR=C:\aolserver install
- c:\aolserver\bin\tclsh85t installWin.tcl
libpq
- Extract/Unzip the PostgreSQL sources under c:\postgresql-8.3.0
- Go in the directory c:\postgresql-8.3.0\src\interfaces\libpq
- Execute in sequence
- nmake -f win32.mak INSTALLDIR=c:\aolserver
- nmake -f win32.mak INSTALLDIR=C:\aolserver install
Thread
- Extract/Unzip the Thread sources under c:\thread265
- Go in the directory c:\thread265\win\vc
- Execute in sequence
- nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.5.8 INSTALLDIR=c:\aolserver
- nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.5.8 INSTALLDIR=C:\aolserver install
Tcllib
- Extract/Unzip the Tcllib sources under c:\tcllib-1.12
- Go in the directory c:\tcllib-1.12
- Execute
- \aolserver\bin\tclsh85t installer.tcl
Aolserver
- Extract/Unzip the Aolserver sources under c:\aolserver-4.5.1
- Go in the directory c:\aolserver-4.5.1
- Execute in sequence
- \aolserver\bin\tclsh85t nsconfig.tcl
- (edit as necessary the various files you might need to change, e.g. ./include/ns.mak
- nmake
- nmake install
Good luck!