The space where software solutions take shape

Building Instructions

Building / Compilation Instructions for the Windows-OpenACS System

This page shows how the Windows-OpenACS has been built/compiled. Hopefully it 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 Windows-OpenACS system. Spazio IT offers consultancies on compiling, installing and running Naviserver as well as OpenACS based applications.

Common Instructions

This is the common algorithm/workflow used to build each single component.

  • Get the sources – you can find the sources on the net or use the ones contained in the Windows-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 Windows-OpenACS distribution contains the sources that have been modified to be compiled with the Microsoft Visual Studio 2017 C/C++ Compiler
  • Execute in sequence
    • nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\naviserver install
  • Copy all the *.exe, *.dll and *.manifest files into c:\naviserver\bin
  • Copy the *.lib files into c:\naviserver\lib

Tcl

  • Extract/Unzip the Tcl sources under c:\tcl8.6.7
  • Go in the directory c:\tcl8.6.7\win
  • Enter in sequence
    • nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc OPTS=threads INSTALLDIR=c:\naviserver install

Tk

  • Extract/Unzip the Tk sources under c:\tk8.6.7
  • Go in the directory c:\tk8.6.7\win
  • Enter in sequence
    • nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.6.7 INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.6.7 INSTALLDIR=c:\naviserver install

tDOM

  • Extract/Unzip the tDOM sources under c:\tDOM-0.9.0
  • Go in the directory c:\tDOM-0.9.0\win
  • Execute in sequence
    • nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.6.7 INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc OPTS=threads TCLDIR=c:\tcl8.6.7 INSTALLDIR=c:\naviserver install

XOTcl (nsf)

  • Extract/Unzip the XOTcl sources under c:\nsf-2.0.0
  • Go in the directory c:\nsf-2.0.0\win
  • Execute in sequence
    • nmake -f makefile.vc OPTS=threads TCLSH=tclsh86t INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc OPTS=threads TCLSH=tclsh86t INSTALLDIR=c:\naviserver install

Lib Thread

  • Extract/Unzip the Lib Thread sources under c:\thread2.8.1
  • Go in the directory c:\thread2.8.1\win
  • Execute in sequence
    • nmake -f makefile.vc TCLDIR=c:\naviserver INSTALLDIR=c:\naviserver
    • nmake -f makefile.vc TCLDIR=c:\naviserver INSTALLDIR=c:\naviserver install

Tcllib

  • Extract/Unzip the Tcllib sources under c:\tcllib-1.18
  • Go in the directory c:\tcllib-1.18
  • Execute
    • \naviserver\bin\tclsh86t installer.tcl

OpenSSL

  • Extract/Unzip the OpenSSL sources under c:\openssl-1.1.0e
  • Go in the directory c:\openssl-1.1.0e
  • Execute in sequence
    • perl Configure VC-WIN64A no-asm
    • nmake
    • nmake install

Naviserver
A Visual Studio 2017 Solution File is included in the distribution.

Good luck!

2 Responses to Building Instructions

  • Hello Dmitry. Thank you for your noticing this issue.
    I have just uploaded version 3.1.9 and the uploaded file should not be corrupted.

  • Good day.
    Trying Installed program get the message. “The setup files are corrupted. Please obtain a new copy of the program.”
    I downloaded multiple times from different channels on the Internet.

Leave a Reply

Your email address will not be published. Required fields are marked *