Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 72329 invoked from network); 16 Oct 2003 10:35:39 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Oct 2003 10:35:39 -0000 Received: (qmail 63483 invoked by uid 500); 16 Oct 2003 10:35:16 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 63460 invoked by uid 500); 16 Oct 2003 10:35:16 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 63447 invoked from network); 16 Oct 2003 10:35:15 -0000 Received: from unknown (HELO excelsior.upsa.local) (195.206.196.222) by daedalus.apache.org with SMTP; 16 Oct 2003 10:35:15 -0000 Subject: mod_jk.so not building :( MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 16 Oct 2003 11:37:36 +0100 Importance: normal Priority: normal Content-Class: urn:content-classes:message X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: mod_jk.so not building :( thread-index: AcOTvMQVXOTy6uq4TE24fyQJUPeR9gADSc7QAAGRtRA= From: "James Snelling" To: "Tomcat Users List" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Okay - I'm on a MAC OSX machine and I've got apache and tomcat-5.0.12 both installed and working standalone. Apache was from source, tomcat from a binary. I'm now trying to build the mod_jk.so so that apache can speak to tomcat. I've been following the instructions at http://www.geektimes.com/macintosh/os/x/10_0/and/tomcat_install.html But using the latest versions of software - (with the exception of dlcompat) Anyone got any ideas?=20 Is a Mac OSX binary version of mod_webapp that I can use to do the same job? (this is mentioned for version tomcat-4.0.1 in a developer.apple.com article at http://developer.apple.com/internet/java/tomcat1.html ) Anyway - here's what is happening: ** FIRST I CHECK THE JAVA_HOME AND OTHER VARIABLES ** % env JAVA_HOME=3D/Library/Java/Home CC=3Dcc CPPFLAGS=3D-traditional-cpp ** THEN I GET THE DL-COMPAT STUFF FROM SOURCEFORGE ** % wget http://download.sourceforge.net/fink/dlcompat-20010123.tar.gz ** UNZIP AND UNTAR ** % gnutar zxf dlcompat-20010123.tar.gz ** SET A ENV TO MAKE LIFE EASY ** % setenv MOD_JK_DIR jakarta-tomcat-5.0.12-src/src/jakarta-tomcat-connectors/jk/native/apache -1.3/ ** CHUCK THE REQUIRED FILES TO THE RIGHT PLACE ** % cp dlcompat-20010123/{dlfcn.h,dlopen.c} $MOD_JK_DIR ** CHANGE TO THE CORRECT DIRECTORY ** % cd $MOD_JK_DIR ** COMPILE THE MODULE ** % apxs -o mod_jk.so -I. -I$JAVA_HOME/Headers -I../jk -DFREEBSD -c *.c ../jk/*.c cc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -DSHARED_MODULE -I/usr/include/httpd -I. -I/Library/Java/Home/Headers -I../jk -DFREEBSD -c dlopen.c dlopen.c:84: return type is an incomplete type dlopen.c: In function `NSMakePrivateModulePublic': dlopen.c:95: warning: `return' with a value, in function returning void dlopen.c:97: invalid use of undefined type `enum bool' dlopen.c:97: warning: `return' with a value, in function returning void dlopen.c: In function `dlopen': dlopen.c:255: void value not ignored as it ought to be dlopen.c:337: void value not ignored as it ought to be apxs:Break: Command failed with rc=3D1 BUMMER!!!! James Snelling James.Snelling@upsa.org.uk -------------------------------------------------------------------------= ---------- The views expressed here are not those of the Students' Association nor = can they be assumed to be those of the writer. No liability is accepted = for the accuracy or the veracity of the contents. You are held to accept = this and any use to which you put any contents of this communication are = entirely your responsibility.=20 DISCLAIMER: This e-mail is intended solely for the above-mentioned = recipient and it may contain confidential or privileged information. If = you have received it in error, please notify us immediately and delete = the e-mail. You must not copy, distribute, disclose or take any action = in reliance on it. This e-mail message and any attached files have been = scanned for the presence of computer viruses, however, you are advised = that you open any attachments at your own risk. Nothing in this email shall be construed as constituting an order for = goods or services www.upsa.org.uk =20 -------------------------------------------------------------------------= ----------- --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org