Index: openacs-4/packages/acs-core-docs/www/aolserver4.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/aolserver4.html,v diff -u -r1.8.2.5 -r1.8.2.6 --- openacs-4/packages/acs-core-docs/www/aolserver4.html 15 Oct 2004 07:35:40 -0000 1.8.2.5 +++ openacs-4/packages/acs-core-docs/www/aolserver4.html 15 Oct 2004 07:46:20 -0000 1.8.2.6 @@ -58,8 +58,8 @@ ldd nspostgres.so

If you run into problems with libpq.a do the following (and repeat the step above)

[root nspostgres]# ranlib /usr/local/pgsql/lib/libpq.a

If you run into problems with the linker, edit the Makefile. Add -lnsdb to the MODLIBS var.

MODLIBS = -L$(PGLIB) -lpq -lnsdb
  • Install nssha1

    [root nsrewrite]# cd ../nssha1
     [root nssha1]# make

    If the make fails you will have to edit nssha1.c. Comment out the following 2 lines (lines 139-140):

    // typedef unsigned int u_int32_t;
    -// typedef unsigned char u_int8_t;

    Now install nssha1:

    [root nssha1]# make install
  • Install tDOM

    [root nssha1]# cd ../tDOM-0.7.8/unix

    Edit the CONFIG file. Uncomment the instructions meant for AOLserver 4, but edit it to look like this:

    ../configure --enable-threads --disable-tdomalloc
    -          --prefix=/usr/local/aolserver40r8 --with-tcl=/usr/local/lib

    Now you can compile and configure tDOM

    [root unix]# sh CONFIG
    +// typedef unsigned char u_int8_t;

    Now install nssha1:

    [root nssha1]# make install
  • Install tDOM

    [root nssha1]# cd ../tDOM-0.7.8/unix              
    +[root unix]# ../configure --enable-threads --disable-tdomalloc --prefix=/usr/local/aolserver40r8 --with-tcl=/usr/local/lib
     [root unix]# make install
  • Add a database-specific wrapper script.�This script sets database environment variables before starting Index: openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml,v diff -u -r1.6.2.4 -r1.6.2.5 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 15 Oct 2004 07:35:18 -0000 1.6.2.4 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 15 Oct 2004 07:46:05 -0000 1.6.2.5 @@ -134,12 +134,8 @@ Install tDOM - [root nssha1]# cd ../tDOM-0.7.8/unix - Edit the CONFIG file. Uncomment the instructions meant for AOLserver 4, but edit it to look like this: - ../configure --enable-threads --disable-tdomalloc - --prefix=/usr/local/aolserver40r8 --with-tcl=/usr/local/lib - Now you can compile and configure tDOM - [root unix]# sh CONFIG + [root nssha1]# cd ../tDOM-0.7.8/unix +[root unix]# ../configure --enable-threads --disable-tdomalloc --prefix=/usr/local/aolserver40r8 --with-tcl=/usr/local/lib [root unix]# make install