Forum OpenACS Q&A: Installing AOLServer on OSX 10.5.5

Collapse
Posted by Nima Mazloumi on
Hi there,
anyone out there with experience in installing aolserver on osx 10.5.5?
Collapse
Posted by Emmanuelle Raffenne on
Hi Nima,

Which version of aolserver?

I've installed 4.0.10 on mine. My experience is having installed it once.

Collapse
Posted by Gustaf Neumann on
Why are you asking? I have one machine with 4.0 and one with 4.5. Check: https://www.openacs.org/xowiki//tag/osx about specialties with Mac OS X.
Collapse
Posted by Nima Mazloumi on
I am interested in 4.5 and was wondering if the documentation on oacs.org is up-to-date.
Ok, i will try to install.
Collapse
Posted by Nima Mazloumi on
Which option is the best? * Installing OpenACS via Darwinports * OpenACS Installation on OS X 10.2 * Installing OpenACS on Mac OS X (for OpenACS 5.x) * OpenACS on Mac OS X (outdated) First or third option?
Collapse
Posted by Gustaf Neumann on
i have used malte's install script (i.e. install from scratch) + the Mac OS X specifics on the wiki page; for 4.5, i use the cvs head version.
Collapse
Posted by Dave Bauer on
I installed AOLserver from MacPorts and compiled the necessary AOLserver modules, but mine segfaults as soon as I try to start it. Has anyone tried the MacPorts version?

http://trac.macports.org/browser/trunk/dports/www/aolserver/Portfile

I installed postgresql also, that seems to work OK.

Collapse
Posted by Emmanuelle Raffenne on
Dave,

Now that you mention it, mine segfault'd too (I installed from source though). I fixed it by adding the following in my .bash_profile (for mac terminal, .bashrc for X11 one):

# For aolserver not to segfault
ulimit -n 256

Collapse
Posted by Gustaf Neumann on
This problem came from a change in c-library semantics introduced by Leopard and was fixed in the head version of aolserver 4.5 about nine months ago

http://aolserver.cvs.sourceforge.net/viewvc/aolserver/aolserver/nsd/fd.c?r1=1.12&r2=1.13&sortby=date

best regards
-gustaf neumann

Collapse
Posted by Nima Mazloumi on
daveb: what do I need to do using macports to install aolserver modules?
Collapse
Posted by Dave Bauer on
Hi Nima,

I just compiled them from source. I am working on documentation.

I got stuck installing OpenACS due to a path issue with psql that I haven't resolved yet (due to time.)

I'll try to post the finished instructions later this week.

After that it should be straightforward to convert the steps into a Mac port script.

Collapse
Posted by Dave Bauer on
Here are my preliminary notes for installing on OS X.

https://openacs.org/xowiki/openacs-system-install-osx-macports

I'll try to clean it up and turn it into a proper howto.