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.26 -r1.27 --- openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 16 Feb 2005 00:18:52 -0000 1.26 +++ openacs-4/packages/acs-core-docs/www/xml/install-guide/aolserver4.xml 28 Mar 2005 10:18:15 -0000 1.27 @@ -107,7 +107,7 @@ ./configure --prefix=/usr/local/aolserver40r10 --with-tcl=/usr/local/lib/ make install - If this is the only version of AOLserver in use, or is the default version, create a symlink. If not, then be sure to use /usr/local/aolserver40r10 instead of /usr/local/aolserver in future steps and check any scripts and makefiles you run to ensure they use the correct path. + If this is the only version of AOLserver in use, or is the default version, create a symlink. If not, then be sure to use /usr/local/aolserver40r10 instead of /usr/local/aolserver in the steps below and check both scripts and makefiles to ensure they use the correct path. [root aolserver]# ln -s /usr/local/aolserver40r10 /usr/local/aolserver @@ -118,12 +118,12 @@ Install nscache [root aolserver]# cd /usr/local/src/aolserver40r10/nscache -[root nscache]# make install AOLSERVER=/usr/local/aolserver40r10 +[root nscache]# make install AOLSERVER=/usr/local/aolserver Install nsoracle (if you want to use Oracle) [root nscache]# cd ../nsoracle -[root nsoracle]# make install AOLSERVER=/usr/local/aolserver40r10 +[root nsoracle]# make install AOLSERVER=/usr/local/aolserver OpenACS looks for the Oracle driver at /usr/local/aolserver/bin/ora8.so, but some versions of @@ -133,23 +133,18 @@ Install nspostgres (if you want to use Postgres) [root nscache]# cd ../nspostgres -[root nspostgres]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver40r10 AOLSERVER=/usr/local/aolserver40r10 +[root nspostgres]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib:/usr/local/aolserver/lib +[root nspostgres]# make install POSTGRES=LSB ACS=1 INST=/usr/local/aolserver AOLSERVER=/usr/local/aolserver If you get errors like: nspostgres.c: In function `Ns_PgTableList': nspostgres.c:679: warning: passing arg 3 of `Tcl_DStringAppend' as signed due to prototype then PostGreSQL is probably not in the standard location. The location of PostGreSQL is very dependent on which method was used to install it. To correct the problem, replace LSB with the path to the path to your PostGreSQL installation. Often this is /usr/local/pgsql. - Another possibility is that you may need to set - the LD_LIBRARY_PATH environmental variable. You may - still get warnings, but sometimes this will fix things - enough to work. - [root nspostgres]# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pgsql/lib - You can use the ldd command to verify that all libraries are linked in: - ldd /usr/local/src/aolserver40r8/nspostgres/nspostgres.so + ldd /usr/local/src/aolserver40r10/nspostgres/nspostgres.so If you run into problems with libpq.a do the following (and repeat the step above) @@ -161,7 +156,7 @@ Install nssha1 [root nspostgres]# cd ../nssha1 Now install nssha1: - [root nssha1]# make install AOLSERVER=/usr/local/aolserver40r10 + [root nssha1]# make install AOLSERVER=/usr/local/aolserver 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; @@ -171,7 +166,8 @@ [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/aolserver40r10 --with-tcl=/usr/local/lib + --prefix=/usr/local/aolserver --with-tcl=/usr/local/lib + Note that the location of the Tcl library may vary on differnt platforms (e.g. for Debian 3.0: --with-tcl=/usr/lib/tcl8.4) Now you can compile and configure tDOM [root unix]# sh CONFIG [root unix]# make install @@ -202,21 +198,21 @@ Oracle - [root aolserver]# cd /usr/local/aolserver40r8/bin + [root aolserver]# cd /usr/local/aolserver/bin [root bin]# cp /tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle [root bin]# chmod 750 nsd-oracle [root bin]# -cd /usr/local/aolserver40r10/bin +cd /usr/local/aolserver/bin cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-oracle.txt ./nsd-oracle chmod 750 nsd-oracle PostgreSQL - [root aolserver]# cd /usr/local/aolserver40r10/bin + [root aolserver]# cd /usr/local/aolserver/bin [root bin]# cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres [root bin]# chmod 755 nsd-postgres [root bin]# -cd /usr/local/aolserver40r10/bin +cd /usr/local/aolserver/bin cp /var/tmp/&tarballpath;/packages/acs-core-docs/www/files/nsd-postgres.txt ./nsd-postgres chmod 755 nsd-postgres