You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ji...@apache.org on 2007/02/02 17:36:37 UTC

svn commit: r502650 - in /tomcat/connectors/trunk/jk: BUILD.txt native/BUILDING native/netscape/Makefile.solaris xdocs/miscellaneous/changelog.xml

Author: jim
Date: Fri Feb  2 08:36:36 2007
New Revision: 502650

URL: http://svn.apache.org/viewvc?view=rev&rev=502650
Log:
Might as well document lessons learning in doing
a SunONE build... 

Modified:
    tomcat/connectors/trunk/jk/BUILD.txt
    tomcat/connectors/trunk/jk/native/BUILDING
    tomcat/connectors/trunk/jk/native/netscape/Makefile.solaris
    tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml

Modified: tomcat/connectors/trunk/jk/BUILD.txt
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/BUILD.txt?view=diff&rev=502650&r1=502649&r2=502650
==============================================================================
--- tomcat/connectors/trunk/jk/BUILD.txt (original)
+++ tomcat/connectors/trunk/jk/BUILD.txt Fri Feb  2 08:36:36 2007
@@ -11,3 +11,9 @@
 $> ./configure --with-apxs=/usr/sbin/apxs (or where ever the apxs/apxs2 is)
 $> make
 $> su -c 'make install'
+
+For the impatient SunONE admins:
+$> cd native
+$> ./configure --enable-netscape
+$> cd netscape
+$> make -f Makefile.solaris

Modified: tomcat/connectors/trunk/jk/native/BUILDING
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/BUILDING?view=diff&rev=502650&r1=502649&r2=502650
==============================================================================
--- tomcat/connectors/trunk/jk/native/BUILDING (original)
+++ tomcat/connectors/trunk/jk/native/BUILDING Fri Feb  2 08:36:36 2007
@@ -111,6 +111,16 @@
 
 
 
+  Building for Netscape/iPlanet/SunONE WebServer
+  ----------------------------------------------
+  make clean (to remove all previously compiled modules)
+  use configure and indicate that you will be building the
+  netscape nsapi redirector, then make the redirector plugin
+
+  ./configure --enable-netscape
+  cd netscape
+  make -f Makefile.solaris
+
   Misc notes 
   ----------
 

Modified: tomcat/connectors/trunk/jk/native/netscape/Makefile.solaris
URL: http://svn.apache.org/viewvc/tomcat/connectors/trunk/jk/native/netscape/Makefile.solaris?view=diff&rev=502650&r1=502649&r2=502650
==============================================================================
--- tomcat/connectors/trunk/jk/native/netscape/Makefile.solaris (original)
+++ tomcat/connectors/trunk/jk/native/netscape/Makefile.solaris Fri Feb  2 08:36:36 2007
@@ -1,8 +1,19 @@
 # Defines for example NSAPI programs running under SOLARIS
 
+#gcc
+# If you get relocation errors, try:
+#   1. compiling with Sun's cc
+#   2. statically linking with libgcc
+#   3. Adjusting LD_LIBRARY_PATH to grab libgcc_s
 CC_CMD=gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX \
 	-DMCC_HTTPD -DSPAPI20 \
 	-fPIC
+
+#SunStudio cc compiler
+#CC_CMD=cc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX \
+#	-DMCC_HTTPD -DSPAPI20 \
+#	-xcode=pic32
+
 LD_SHAREDCMD=ld -G -fPIC
 
 all:
@@ -15,7 +26,7 @@
 JK_DIR=../common
 VPATH=.:$(JK_DIR)
 
-JK_SRCS = $(shell ls $(JK_DIR)/*.c)
+JK_SRCS = $(shell \ls $(JK_DIR)/*.c)
 JK_OBJS = $(patsubst $(JK_DIR)/%.c,%.o,$(JK_SRCS))
 
 PLUGIN_OBJ = jk_nsapi_plugin.o

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=502650&r1=502649&r2=502650
==============================================================================
--- tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml (original)
+++ tomcat/connectors/trunk/jk/xdocs/miscellaneous/changelog.xml Fri Feb  2 08:36:36 2007
@@ -26,6 +26,9 @@
   <br />
   <subsection name="Native">
     <changelog>
+      <fix>
+      Better build support for SunONE (Netscape/iPlanet) webservers. (jim)
+      </fix>
       <add>
       Add warning if duplicate map keys are read and are not allowed,
       e.g. when parsing uriworkermap.properties. (rjung)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org