Author: rjung
Date: Thu Aug  2 13:44:23 2007
New Revision: 562250

URL: http://svn.apache.org/viewvc?view=rev&rev=562250
Log:
Improve nsapi build description for Unix.

Modified:
    tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
    tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml

Modified: tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml?view=diff&rev=562250&r1=562249&r2=562250
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Thu Aug  2 
13:44:23 2007
@@ -35,6 +35,9 @@
         do fail over without putting the failed worker in error state. (rjung)
       </update>
       <update>
+        NSAPI: Improve build description for Unix. (rjung)
+      </update>
+      <update>
         NSAPI: Add initialization startup message containing JK version. 
(rjung)
       </update>
       <fix>

Modified: tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml
URL: 
http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml?view=diff&rev=562250&r1=562249&r2=562250
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/webserver_howto/nes.xml Thu Aug  2 
13:44:23 2007
@@ -463,7 +463,7 @@
 </section>
 <section name="Building NSAPI so plugin redirector for Unix">
 <p>
-The redirector requires either gcc or the native Solaris cc compiler.
+The redirector requires either gcc (Linux) or gcc or the Sun cc compiler 
(Solaris).
 
 The steps that you need to take are:
 <ul>
@@ -477,7 +477,15 @@
 Change directory to the nsapi netscape directory (./netstape).
 </li>
 <li>
-Edit <b>Makefile.solaris</b> and update the SUITSPOT_HOME and JAVE_HOME path 
to reflect your own Netscape server installation.
+Set environment variables JAVA_HOME resp. SUITSPOT_HOME to the location of 
your Java installation
+resp. Netscape server installation. Depending on the web server version, you 
must add the subdirectory
+&quot;plugins&quot; to SUITSPOT_HOME.
+The variable is correct, if the file $SUITSPOT_HOME/include/nsapi.h exists.
+</li>
+<li>
+Edit <b>Makefile.solaris</b> resp. <b>Makefile.linux</b> and update the 
variables according to your needs.
+In the Solaris Makefile, you need to switch the commented lines in order to 
use the Sun compiler cc
+instead of GNU gcc.
 </li>
 <li>
 Make the source with gmake.
@@ -490,7 +498,11 @@
 <typedos>./configure --enable-netscape</typedos>
 <notedos>Change directory to the nsapi netscape directory</notedos>
 <typedos>cd netscape</typedos>
-<notedos>Edit Makefile.solaris</notedos>
+<notedos>Set JAVA_HOME (ksh example)</notedos>
+<typedos>export JAVA_HOME=/path/to/my/java</typedos>
+<notedos>Set SUITSPOT_HOME (ksh example)</notedos>
+<typedos>export SUITSPOT_HOME=/path/to/my/netscape/server</typedos>
+<notedos>Edit the Makefile</notedos>
 <typedos>vi Makefile.solaris</typedos>
 <notedos>Make the source with gmake</notedos>
 <typedos>gmake -f Makefile.solaris</typedos>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to