Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 56289 invoked by uid 500); 25 Oct 2001 05:31:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 56252 invoked from network); 25 Oct 2001 05:31:44 -0000 Message-ID: <20011025053155.81905.qmail@web9501.mail.yahoo.com> Date: Wed, 24 Oct 2001 22:31:55 -0700 (PDT) From: Bill Cai Reply-To: william89_1998@yahoo.com Subject: Re: sourcepath problem in building tomcat (apxs pb building mod_jk.so) To: tomcat-user@jakarta.apache.org Cc: Bill Cai In-Reply-To: <20011024050034.64888.qmail@web9502.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I think the problem is it didn't like the ";"s in the value of "sourcepath". It no longer complains after I changed them to ":"s. I guess the source was for Windows platform. On Solaris ";" means end of the command... However, it still complains about "srcdir" in the following block: Actually, what I want is "mod_jk.so". Not sure "ant" it will build the whole thing including mod_jk.so? I went to build/tomcat/apache1.3 to build mod_jk.so individually by using build-solaris.sh or build-unix.sh. But both of them failed "apxs" from my apache installation. I didn't install a binary version of apache. I built it by using: configure --prefix=/usr/local/apache \ --enable-module=most --enable-shared=max But that failed on linking from apxs. i.e., didn't product an mod_jk.so Thanks, Bill >From: Larry Isaacs > Subject: RE: sourcepath problem in building tomcat > Date: Wed, 24 Oct 2001 08:20:32 -0400 > > I don't use JDK1.2.1, so I don't know much of the > details about it. However, the help message: > > >[-g][-O][-debug][-depend][-nowarn][-verbose][-classpat>h > path][-nowrite][-deprecation][-d dir][-J flag>] file.java... > > is very 1.1.8-like and doesn't support the >-sourcepath > argument. I would guess that Ant is thinking the JDK >is > Java2 and assumes the javac supports the -sourcepath > argument. Maybe this isn't a correct assumption for > JDK 1.2.1. > > I would highly recommend upgrading your JDK. I think > there are other problems in store if you continue >using > it. If you upgrade, I think your compile problem >would > disappear. > > Cheers, > Larry > > > It is jdk 1.2.1: > > java version "1.2.1" > Solaris VM (build Solaris_JDK_1.2.1_04, native > threads, sunwjit) > > Thanks, > > Bill > > --- Bill Cai wrote: > > I thought that I was using at least jdk1.2. But I > > willl check tonight because I have multiple jdks > > installed. > > > > Thanks, > > > > Bill > > > > > >From: Larry Isaacs > > > > Subject: RE: sourcepath problem in building > > > tomcat > > > > Date: Tue, 23 Oct 2001 12:51:51 -0400 > > > > > > > > It appears that the javac being executed is > > coming > > > from > > > > JDK 1.1.8. Is JDK1.1.8 what you want to be > > using, > > > > or is an old javac being picked up by mistake? > > > If > > > > JDK 1.1.8 is correct, I would like to see the > > log > > > > for the "detect:" through "init:" targets. > > > > > > > > Larry > > > > > > > --- Bill Cai wrote: > > > > I always got the following error when building > > > > tomcat > > > > by using ant. I tried ant 1.1 1.2 1.4. Any > idea? > > > > > > > > tomcat_util: > > > > [javac] Compiling 91 source files to > > > > > > > > > > /usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build/tomcat/classes > > > > [javac] javac: invalid flag: -sourcepath > > > > [javac] use: javac > > > > > > > > > > [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath > > > > path][-nowrite][-deprecation][-d > dir][-J > > > flag>] file.java... > > > > > > > > BUILD FAILED > > > > > > > > > > > > > > /usr/local/jakarta/jakarta-tomcat-3.3-dev-src/build.xml:206: > > > > Compile failed, messages should have been > > > provided. > > > > > > > > > > > > > > __________________________________________________ > > > > Do You Yahoo!? > > > > Make a great connection at Yahoo! Personals. > > > > http://personals.yahoo.com > > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Make a great connection at Yahoo! Personals. > > > http://personals.yahoo.com > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Make a great connection at Yahoo! Personals. > > http://personals.yahoo.com > > > __________________________________________________ > Do You Yahoo!? > Make a great connection at Yahoo! Personals. > http://personals.yahoo.com __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com