Forum OpenACS Development: Re: Compiling Naviserver with oACS for Solaris

Collapse
Posted by Gustaf Neumann on
Dear Joshua,

I've made some changes to NaviServer and the install scripts such they compile for OpenSolaris (OmniOS). The changes to the sources are in the repositories on bitbucket and github in the newest branches. Please get the install scripts from https://openacs.org/xowiki/naviserver-openacs (or https://github.com/gustafn/install-ns) and use in install-ns.sh

   version_ns=HEAD
   version_modules=HEAD
   version_xotcl=HEAD
and in install-oacs.sh
   oacs_core_version=oacs-5-8
   oacs_packages_version=oacs-5-8
   ns_src_dir=/usr/local/src/naviserver
and run the scripts. These install scripts should work on a pretty vanilla system (i used SunOS omnios-vagrant 5.11 omnios-6de5e81 i86pc i386 i86pc). The scripts fetch required packages via IPS ("pkg install ...") when possible and compile Tcl/NaviServer with 64-bit such it links with the IPS postgresql-927 package.

Once the new versions of NaviServer etc. are released, one should switch back to the released versions instead of using "HEAD" (which is often a moving target).

Hope this helps
-gustaf neumann

Collapse
Posted by Joshua Barton on
Thank you Gustaf, I have run install-ns.sh and it works great. I had to ensure for some reason that a newer version of perl was installed but other than that this ran beautifully, thank you so much for taking the time to work on this!
Collapse
Posted by Gustaf Neumann on
Thanks for the feedback! The little project gave me the opportunity to try out vagrant, which is pretty nice.