Home
The Toolkit for Online Communities
15900 Community Members, 0 members online, 2413 visitors today
Log In Register

Forum .LRN Q&A: Native Windows Installer for Windows (Version 1.10)

OpenACS Home : Forums : .LRN Q&A : Native Windows Installer for Windows (Version 1.10)

Icon of Envelope Request notifications

Dear all,

I've just compiled version 1.10 (22nd of November 2008) of Win32-OpenACS: an actual native Win32 port (no Cygwin, no VMware) of OpenACS.

This version comes with a proper Windows Installer and contains .LRN 2.4.1!

This version of Win32-OpenACS consists of the following components:
1. aolserver-4.5.0 - including
1.1 nscache 1.4
1.2 nssha1 1.1.1.1
1.3 nspostgres 4.1
1.4 nsoracle 2.7
2. tcl-8.5.5
3. tk-8.5.5
4. tDom-0.8.2
5. xotcl-1.6.2
6. thread-2.6.5
7. tcllib-1.10
8. postgresql-8.2.11-1
9. openacs-5.5.x (CVS Head of the 27/10/2008)
10. xowiki-1.0.3
11. dotlrn-2.4.1

The port can be obtained at the following URL:
http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/

BTW: Merry Xmas and Happy New Year to everybody!

Hope it helps,
Maurizio

+
Posted by Gustaf Neumann on
Maurizio, many thanks for that Christmas present!
+
Posted by Nima Mazloumi on
This is great. Thank you. Maybe you can document in the wiki the necessary steps on how to create a port.
+
Posted by Maurizio Martignano on
Dear Nima,
the building instructions are available at the following URL:

http://www.friendlybits.com/en/inf_tec_en/win32openacs_en/build_inst_en/


However generating the port is not for the faint of heart...

Hope it helps,
Maurizio

+
Posted by Nima Mazloumi on
The config.tcl appears to be wrong? Thread is not loaded. This I found in the config.tcl:

# nsthread library which should become standard in 5.3
if {[file exists ${homedir}/lib/thread2.6.4/libthread2.6.4[info sharedlibextension]]} {
ns_param libthread ${homedir}/lib/thread2.6.4/libthread2.6.4[info sharedlibextension]
}

There is no such folder. There is a thrad2.6.5 folder but there is no libthread2.6.5* file. There are thread26* files and there is a bin/nsthread* file.

Any idea?

+
Posted by Maurizio Martignano on
Dear Nima,
ty very much for your feedback.
1. I did not write that portion of the config.tcl file, it came from CVS.
2. On the Windows distribution libthread is not an Aolserver loadable module (i.e. a *.so file).
3. If you require it, say inside some XOTcl procedure you can modify the first lines of \aolserver\modules\tcl\xotcl.tcl as follows
from:
package require XOTcl; namespace import ::xotcl::*
package require xotcl::serializer
to:
package require Thread
package require XOTcl; namespace import ::xotcl::*
package require xotcl::serializer
This should do it.
Hope it helps,
Maurizio
+
Posted by Gustaf Neumann on
Dear Maurizio, we ran as well into the issue with libthread. Yes, the config.tcl file should be fixed.

However, your suggested approach with "package require Thread" does not work for aolserver. The existing code requires a version of libthread compiled as an aolserver module (under unix, configure with --with-aolserver=...; see http://openacs.org/xowiki/tag/libthread). When compiled this way, libthread names several commands differently and has a different initialization/cleanup behavior.

If possible, please provide libthread compiled as an aolserver module in the next release.

+
Posted by Maurizio Martignano on
Dear Nima and Gustaf,
ok, ok now I get it... sorry if took a while!
I'll try to include libthread as an Aolserver loadable module in the next version of Win32-OpenACS, which hopefully will come out pretty soon.

Cheers and thanks a lot to both of you!!!