Forum OpenACS Q&A: Response to error compiling pgdriver on MacOS X

Collapse
Posted by Walter McGinnis on
<p>Wahoo!  I got it running.  Only a couple small details that needed configuring if you use this <a href="/new-file-storage/one-file?file_id=113">file</a> as a starting point:

<p>
<ol>
<li>If you do a straight <code>cvs checkout</code> of OpenACS 4 acs-core you get a directory named <code>openacs-4</code>.  This doesn't match the directions in <a href="/new-file-storage/one-file?file_id=114">https://openacs.org/new-file-storage/one-file?file_id=114</a> or the config file.  No big deal, but rather than do everything over again, I just moved the directory to <code>openacs4</code>.  You can also do this during the <code>cvs checkout</code> with a <code>-d <i>desired_directory_name desired_module_name</i></code>.  This is of course not specific to OS X</li>

<li>I found that I needed to add the following line to the config file for AOLserver to start correctly (this <em>is</em> specific to OS X):
<p>
<code>
<pre>
ns_param  stacksize [expr 128*1024] ;# Per-thread stack size.
</pre>
</code>
<p>This should fall under the <code>ns_section ns/threads</code>.
</li>
</ol>

Ok.  I'll write up the rest of the details up and submit them as a guide to file-storage sometime soon.