Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 95914 invoked from network); 1 Feb 2007 04:08:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 04:08:49 -0000 Received: (qmail 45918 invoked by uid 500); 1 Feb 2007 04:08:42 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 45904 invoked by uid 500); 1 Feb 2007 04:08:42 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 45893 invoked by uid 99); 1 Feb 2007 04:08:41 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 20:08:41 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.190.37.38] (HELO web53605.mail.yahoo.com) (206.190.37.38) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 31 Jan 2007 20:08:30 -0800 Received: (qmail 26017 invoked by uid 60001); 1 Feb 2007 04:08:07 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=dTZHTbJlWln9+JYP1htOOk1ttdaG42xHxJq8cM7vWFYWrIFDjgZ5DCtM9J0f9lbwR9jxut6B2aIUu3G9I0sIiIgaJ3tuw5M49bQbzXgJil+K7tUzwhHNpKyJsKymp1A2kO08j5nCKuE82WSN4QH9oWGDWI+EmVRq8INmb9KrRKM=; X-YMail-OSG: 2F6fq5cVM1mSbB_Hw6sbnLf8YnrRKLXdkOkzv.bB_VRnw1NfkZfrMpEQJGwkwBJGnZory9vm4gLwIargzQrAWYMp2pm7ZT.T2d8ypK9qqOltwkphbuFolVb_TVTWnKXv0MOZPShvuE1s3Sc36OuYPJoWXG3TCfCVmvhilasbQ9kz8rXHqO0zlSXGX3nO Received: from [167.107.191.217] by web53605.mail.yahoo.com via HTTP; Wed, 31 Jan 2007 20:08:07 PST X-Mailer: YahooMailRC/368.3 YahooMailWebService/0.6.132.7 Date: Wed, 31 Jan 2007 20:08:07 -0800 (PST) From: Kamalakar Vuggumudi Subject: Re: Compiling mod-jk plugin for SunOne on Solaris To: Tomcat Users List MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <709563.25427.qm@web53605.mail.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Rainer, the compilation was successful. Now I am getting the followi= ng error during the sunone server startup..=0A=0A[31/Jan/2007:17:06:36] fai= lure ( 5751): Configuration initialization failed: Error running init funct= ion load-modules: dlopen of /export/home/bc809kv/modjk/tomcat-connectors-1.= 2.20-src/native/netscape/nsapi_redirector.so failed (ld.so.1: ns-httpd: fat= al: relocation error: file /export/home/bc809kv/modjk/tomcat-connectors-1.2= .20-src/native/netscape/nsapi_redirector.so: symbol __lshrdi3: referenced s= ymbol not found)=0A=0AThe hardware that I am compiling and running the webs= erver is SunOS 5.8 Generic_117350-41 sun4u sparc SUNW,Ultra-4. The gcc comp= iler version is 3.3.2 and the sunone webserver is 6.1. I just used the defa= ult linker options that were in Makefile.solaris. =0A=0ACan you let me know= what may be missing. =0A=0AThank you very much again=0A-Kamal=0A=0A----- O= riginal Message ----=0AFrom: Rainer Jung =0ATo: To= mcat Users List =0ASent: Wednesday, January 31, 20= 07 6:30:36 PM=0ASubject: Re: Compiling mod-jk plugin for SunOne on Solaris= =0A=0ATry the following two files to compile. If this will work, we can fin= d =0Aout how to automate them.=0A=0Acommon/jk_types.h:=0A=0A#ifndef JK_TYPE= S_H=0A#define JK_TYPES_H=0A=0A#ifdef __cplusplus=0Aextern "C"=0A{=0A#endif = /* __cplusplus */=0A=0A/* jk_uint32_t defines a fo= ur byte word */=0Atypedef unsigned int jk_uint32_t;=0A=0A/* And JK_UINT32_T= _FMT */=0A#define JK_UINT32_T_FMT "u"=0A=0A/* And JK_UINT32_T_HEX_FMT */=0A= #define JK_UINT32_T_HEX_FMT "x"=0A=0A/* jk_uint64_t defines a eight byte wo= rd */=0Atypedef unsigned long long jk_uint64_t;=0A=0A/* And JK_UINT64_T_FMT= */=0A#define JK_UINT64_T_FMT "llu"=0A=0A/* And JK_UINT64_T_HEX_FMT */=0A#d= efine JK_UINT64_T_HEX_FMT "llx"=0A=0A#ifdef __cplusplus=0A}=0A#endif = /* __cplusplus */=0A=0A#endif /= * JK_TYPES_H */=0A=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A=0Acommon/portable.h:=0A=0A/* common/porta= ble.h. Generated from portable.h.in by configure. */=0A/* common/portable= .h.in. Generated from configure.in by autoheader. */=0A=0A/* Define to 1 = if you have the header file. */=0A#define HAVE_DLFCN_H 1=0A=0A/* = Have flock() */=0A/* #undef HAVE_FLOCK */=0A=0A/* Define to 1 if you have t= he header file. */=0A#define HAVE_INTTYPES_H 1=0A=0A/* Define = to 1 if you have the header file. */=0A#define HAVE_MEMORY_H 1= =0A=0A/* Have snprintf() */=0A#define HAVE_SNPRINTF 1=0A=0A/* Define to 1 i= f you have the header file. */=0A/* #undef HAVE_STDINT_H */=0A= =0A/* Define to 1 if you have the header file. */=0A#define HAVE= _STDLIB_H 1=0A=0A/* Define to 1 if you have the header file. */= =0A#define HAVE_STRINGS_H 1=0A=0A/* Define to 1 if you have the = header file. */=0A#define HAVE_STRING_H 1=0A=0A/* Define to 1 if you have t= he header file. */=0A#define HAVE_SYS_FILIO_H 1=0A=0A/* Defin= e to 1 if you have the header file. */=0A#define HAVE_SYS_STAT= _H 1=0A=0A/* Define to 1 if you have the header file. */=0A#d= efine HAVE_SYS_TYPES_H 1=0A=0A/* Define to 1 if you have the hea= der file. */=0A#define HAVE_UNISTD_H 1=0A=0A/* Have vsnprintf() */=0A#defin= e HAVE_VSNPRINTF 1=0A=0A/* Name of package */=0A#define PACKAGE "mod_jk"=0A= =0A/* Define to the address where bug reports for this package should be = =0Asent. */=0A#define PACKAGE_BUGREPORT ""=0A=0A/* Define to the full name = of this package. */=0A#define PACKAGE_NAME ""=0A=0A/* Define to the full na= me and version of this package. */=0A#define PACKAGE_STRING ""=0A=0A/* Defi= ne to the one symbol short name of this package. */=0A#define PACKAGE_TARNA= ME ""=0A=0A/* Define to the version of this package. */=0A#define PACKAGE_V= ERSION ""=0A=0A/* The size of `char', as computed by sizeof. */=0A#define S= IZEOF_CHAR 1=0A=0A/* The size of `int', as computed by sizeof. */=0A#define= SIZEOF_INT 4=0A=0A/* The size of `long', as computed by sizeof. */=0A#defi= ne SIZEOF_LONG 4=0A=0A/* The size of `longlong', as computed by sizeof. */= =0A#define SIZEOF_LONGLONG 0=0A=0A/* The size of `long double', as computed= by sizeof. */=0A#define SIZEOF_LONG_DOUBLE 16=0A=0A/* The size of `long lo= ng', as computed by sizeof. */=0A#define SIZEOF_LONG_LONG 8=0A=0A/* The siz= e of `short', as computed by sizeof. */=0A#define SIZEOF_SHORT 2=0A=0A/* De= fine to 1 if you have the ANSI C header files. */=0A#define STDC_HEADERS 1= =0A=0A/* Define to use SO_RCVTIMEO with setsockopt() */=0A/* #undef USE_SO_= RCVTIMEO */=0A=0A/* Define to use SO_SNDTIMEO with setsockopt() */=0A/* #un= def USE_SO_SNDTIMEO */=0A=0A/* Version number of package */=0A#define VERSI= ON "1.2.20"=0A=0A=0A=0AKamalakar Vuggumudi wrote:=0A> SPARC=0A> =0A> ----- = Original Message ----=0A> From: Rainer Jung =0A> T= o: Tomcat Users List =0A> Sent: Wednesday, January= 31, 2007 6:06:00 PM=0A> Subject: Re: Compiling mod-jk plugin for SunOne on= Solaris=0A> =0A> Are you trying to build on SPARC or X86 (or AMD64)?=0A> = =0A> Kamalakar Vuggumudi wrote:=0A>> Rainer,=0A>>=0A>> Thank you very much = for your response..=0A>>=0A>> When I try to do a make using Makefile.solari= s located in native/netscape directory, I got the following error. =0A>>=0A= >> gcc -DNET_SSL -DSOLARIS -D_REENTRANT -DXP_UNIX -DMCC_HTTPD -DSPAPI20 -fP= IC -I../common -I/opt/netscape/server6/plugins/include -I/opt/netscape/serv= er6/plugins/include/base -I/opt/netscape/server6/plugins/include/frame -I/o= pt/java/j2sdk1.4.1_02/include -I/opt/java/j2sdk1.4.1_02/include/solaris -c = ../common/jk_ajp12_worker.c=0A>> In file included from ../common/jk_logger.= h:27,=0A>> from ../common/jk_ajp12_worker.h:27,=0A>> = from ../common/jk_ajp12_worker.c:26:=0A>> ../common/jk_global.h= :301:22: jk_types.h: No such file or directory=0A>> make: *** [jk_ajp12_wor= ker.o] Error 1=0A>>=0A>> From what I can see the jk_types file is created b= y the configure utility. =0A>>=0A>> Thank you very much=0A>> -Kamal=0A>>=0A= >> ----- Original Message ----=0A>> From: Rainer Jung =0A>> To: Tomcat Users List =0A>> Sent: Wednes= day, January 31, 2007 5:07:48 PM=0A>> Subject: Re: Compiling mod-jk plugin = for SunOne on Solaris=0A>>=0A>> The configure script is only fot the apache= module.=0A>> Try to use the files in the "netscape" sub directory. They mi= ght be =0A>> outdated, so let us know, if you needed to make adjustments.= =0A>>=0A>> Regards,=0A>>=0A>> Rainer=0A>>=0A>> Kamalakar Vuggumudi wrote:= =0A>>> I am trying to compile mod-jk plugin for SunOne on Solaris platform = from source tomcat-connectors-1.2.20-src.tar.gz. When I run the configure s= cript, I am getting the following error..=0A>>>=0A>>> checking whether to u= se SO_RCVTIMEO with setsockopt()... no checking whether to use SO_SNDTIMEO = with setsockopt()... no no apxs given checking for target platform... unix = no apache given=0A>>> configure: error: Cannot find the WebServer=0A>>>=0A>= >> I have checked news groups as well as internet and couldn't find any res= ource explaining the steps that are needed to compile mod-jk plugin for Sun= One.=0A>>>=0A>>> I am sure there are experts out there who has successfully= done this and I am requesting them to shed some light on how to the compil= ation.=0A>>>=0A>>> Thank you very much=0A>>> -Kamal=0A>> ------------------= ---------------------------------------------------=0A>> To start a new top= ic, e-mail: users@tomcat.apache.org=0A>> To unsubscribe, e-mail: users-unsu= bscribe@tomcat.apache.org=0A>> For additional commands, e-mail: users-help@= tomcat.apache.org=0A>>=0A>>=0A>>=0A>>=0A>>=0A>>=0A>> =0A>> _______________= _____________________________________________________________________=0A>> = Don't pick lemons.=0A>> See all the new 2007 cars at Yahoo! Autos.=0A>> htt= p://autos.yahoo.com/new_cars.html =0A>>=0A>> ------------------------------= ---------------------------------------=0A>> To start a new topic, e-mail: = users@tomcat.apache.org=0A>> To unsubscribe, e-mail: users-unsubscribe@tomc= at.apache.org=0A>> For additional commands, e-mail: users-help@tomcat.apach= e.org=0A>>=0A>>=0A> =0A=0A-- =0Akippdata informationstechnologie GmbH=0ABor= nheimer Str. 33a=0A53111 Bonn=0A=0ATel.: 0228/98549-0=0AFax: 0228/98549-50= =0Awww.kippdata.de=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=0Akippdata informationstechnologie GmbH=0ABornheimer Str. 3= 3a=0AD-53111 Bonn=0A=0ATel.: +49/0228/98549-0=0AFax: +49/0228/98549-50=0Aw= ww.kippdata.de=0A=0A-------------------------------------------------------= --------------=0ATo start a new topic, e-mail: users@tomcat.apache.org=0ATo= unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org=0AFor additional = commands, e-mail: users-help@tomcat.apache.org=0A=0A=0A=0A=0A=0A=0A =0A____= ___________________________________________________________________________= _____=0AWant to start your own business?=0ALearn how on Yahoo! Small Busine= ss.=0Ahttp://smallbusiness.yahoo.com/r-index --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org