![]() ![]() # Edit the Makefile so it reads (adding the "-lnsdb") ![]() You might want to create another user (e.g. You now need to configure the server to your needs. Now we have AOLserver installed into /opt/local/aolserver. This will install Tcl with threads enabled, which is needed for AOLserver. To stop it: sudo launchctl stop 84-server Install AOLserver 4.5 sudo port install tcl +threads +headers To start it from then on just call sudo launchctl start 84-server Last but not least, put postgresql under launchctl so you can start and stop it: sudo launchctl load -w /Library/LaunchDaemons/ Install plpgsql as a language /opt/local/lib/postgresql84/bin/createlang plpgsql template1 -U postgres Now start the PostgreSQL Server sudo su postgres -c '/opt/local/lib/postgresql84/bin/postgres -D /opt/local/var/db/postgresql84/defaultdb' & Once you have emacs open, change the following config items: Before that edit the config file to make it compatible with ACS sudo emacs -nw /opt/local/var/db/postgresql84/defaultdb/nf Then after initdb postgres says to start postgresql. Sudo su postgres -c '/opt/local/lib/postgresql84/bin/initdb -D /opt/local/var/db/postgresql84/defaultdb' Sudo chown postgres:postgres /opt/local/var/db/postgresql84/defaultdb Sudo mkdir -p /opt/local/var/db/postgresql84/defaultdb To create a database instance, after install do This installs expat, gperf, libiconv, ncursesw, ncurses, gettext, m4, bison, zlib, libxml2, libxslt1, openssl, readline, postgresql82. On a MacBook Pro with 2GB of RAM, the author's nf contains:ĭownload and install MacPorts from and get the latest version (1.7.1 as of ) Install PostgreSQL 8.4 sudo port -k install postgresql84Ĭd `port work postgresql84`/postgresql-8.4.7/contrib/ltree Unfortunately, the default configuration of Mac OS X does not allow suitable amounts of shared memory to be created to run the database server. I worked off the work of Dave Bauer and used Macports. Install OpenACS on Mac OS X 10.5 / 10.6 (Snow Leopard) Using Macports ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |