Forum OpenACS Development: libthread on Mac OS X

Collapse
9: libthread on Mac OS X (response to 1)
Posted by Malte Sussdorff on
How do I include the .dylib file into OpenACS on "os x" in the param section. Is there a way to build it in ".so" style?
Collapse
10: Re: libthread on Mac OS X (response to 9)
Posted by Gustaf Neumann on
Hi Malte,

I am sure, you know the Mac OS X specific definition:

  ns_section "ns/server/${server}/modules"
    ...
    ns_param libthread  ${homedir}/lib/libthread2.6.1.dylib
    ...
A OS independent definition would be
  ns_section "ns/server/${server}/modules"
    ...
    ns_param libthread  ${homedir}/lib/libthread2.6.1[info sharedlibextension]
    ...
Does this answer your question?
Collapse
Posted by Malte Sussdorff on
Yes, this answers the question and I swear, I tried it before and it did not work. But apparently I made a mistake. Is there a reason not to use 2.6.4 in libthread?
Collapse
Posted by Gustaf Neumann on
I tend to be conservative on the tricky parts of the system. However, have upgraded just now to use 2.6.4 and it is apparently ok.

Saw your patch:
http://cvs.openacs.org/cvs/openacs-4/packages/acs-content-repository/tcl/revision-procs.tcl?r1=1.22&r2=1.23&sortby=date

i have just now updated bgdelivery-procs in cvs head to check for the aolserver patch to avoid surprises with that patch.

Collapse
Posted by César Clavería on
Hello Gustaf,

I have some problems with bgdelivery, I get this error in my log:

Notice: Loading xotcl-core/tcl/bgdelivery-procs.tcl
Notice: AOLserver is not patched for bgdelivery, NOT loading bgdelivery

but I don't know which patches should I applied to AOLserver in order to bgdelivery to load.

Collapse
Posted by Gustaf Neumann on
César,

see https://openacs.org/xowiki/Boost_your_application_performance_to_serve_large_files!

Collapse
Posted by Eduardo Santos on
I'm sorry, I know this is a dummy question, but I have to apply the patch before install right? Once the Makefile is generated, is there a way to fix it?
Collapse
Posted by Gustaf Neumann on
the patch is does not change the makefile. patch the aolserver and type "make" and "make install" as usual. In case of doubts, have a look at Malte's build file, it contains the patch.