The Tomcat 3.3 release is built on a Sun box running
SunOS.  It has no problem using the build.xml file
as is.  I don't know why your system is having
trouble with the ';' in build.xml, though perhaps
its a JDK 1.2.1 issue, assuming thats what you are
still using.

You are correct that the "ant" build doesn't build
mod_jk.so.  Building of the native connectors is
done separately.  Given that I'm pretty much a
Windows person, and don't know much about Solaris,
someone else will have to provide advice about
how to get mod_jk.so to build on Solaris.  You might
search the tomcat-user archive to see if similar
errors have been encountered in the past.

Cheers,
Larry

> -----Original Message-----
> From: Bill Cai [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 25, 2001 1:32 AM
> To: [EMAIL PROTECTED]
> Cc: Bill Cai
> Subject: Re: sourcepath problem in building tomcat (apxs pb building
> mod_jk.so)
> 
> 
> 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:
> 
>   <target name="tomcat_util" depends="init">
>     <javac destdir="${tomcat.build}/classes"
>            debug="${debug}"
>            optimize="${optimize}"
>            deprecation="off"
>            srcdir="src/share">
> 
> 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<runtime
> > 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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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<runtime
> > > > > 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
> 

Reply via email to