Forum OpenACS Q&A: Response to compiling nsxml on debian.

Collapse
Posted by Jowell Sabino on
One of these days I will finish my guide to installing OpenACS4 on a Debian woody based computer (in the spirit of Gilbert Wong's guide to installing on BSD). I think somebody else started on it, but I can't find his name by searching the forums.

I'm currently using the aolserver and postgresql debian packages with OpenACS4. I didn't have to compile these two packages from sources. I did replace the nsd.tcl file, and added postgres memory tweaks, though. The only real difficulty (as you are experiencing, and I did, too) is compiling the modules.

To compile the modules (esp. ns_xml), I had to download

  • aolserver-dev
  • libxml2-dev (this will put the necessary header files in /usr/include/libxml2)
  • postgresql-dev (for the postgres driver)
The Makefile should also be "debianized", so that modules are installed in the proper place. Usually, all it takes is setting NSHOME to /usr/lib/aolserver. The postgres driver has debian settings in its Makefile, so you can use it as a guide.

If the above still don't help, I may have to rewrite my guide document and fire up a fresh debian installation (thank you vmware) to retrace exactly what I did. In the perfect world, somebody will debianize openacs4 (plus modules), just like openacs3.