You want the buildconf.sh files in jk/native.  Run them, if all is well they
will create a file called "configure" in the same directory, then you run
./configure --with-various-options-here.

John


> -----Original Message-----
> From: David Wynter [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 26, 2002 1:06 PM
> To: Tomcat Users List
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
> 
> 
> Hi,
> 
> I am running as root when I run "apachectl start". I thought 
> this was new
> with 4.1 so should work. I posted another mail about how to 
> start Tomcat
> automatically in the right sequence with apache 2.0.42.
> 
> There is no buildconf.sh in /jk. The ones I had run where in 
> /jk/native and
> /jk/native2. I searched these and the webapp one are the only 
> ones. So I am
> a bit stuck agian
> 
> David
> 
> -----Original Message-----
> From: Turner, John [mailto:[EMAIL PROTECTED]]
> Sent: 26 September 2002 17:23
> To: 'Tomcat Users List'
> Subject: RE: Urgent, no website until Apache 2.0.42 works with Tomcat
> 4.1.12
> 
> 
> 
> To get ./configure, you need to run buildconf.sh, which is 
> also in the same
> directory.  I'm not sure about the exception you get when 
> running Tomcat, my
> from-the-hip guess is that it has something to do with the 
> user that tomcat
> is running as (tomcat4?) and the permissions/environment 
> available to that
> user.  I don't see those errors, though I run Tomcat as root 
> (not on port
> 80).
> 
> If you're not getting a configure script after running buildconf.sh,
> something else is going on.  Do you have all of the GNU build 
> tools?  You
> need gcc, make, automake, autoconf, m4, and libtool, for 
> sure, possibly
> others to taste.
> 
> John
> 
> 
> > -----Original Message-----
> > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 26, 2002 12:16 PM
> > To: Tomcat Users List
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> > Hi John,
> >
> > Once I worked out I should be looking at the build.properties
> > in /jk and not
> > in /util I was pretty OK. I get errors from that ant build. 
> It cannot
> > resolve the packages javax.servlet and javax.servlet.http. These in
> > servlet.jar which is relative to CATALINA_HOME ( = 
> /var/tomcat4 ) i.e.
> > /var/tomcat4/common/lib/servlet.jar So I exported CLASSPATH
> > and it compiles.
> > Whooo hoo!
> >
> > I tried to run it and got the same result no page and an
> > exception when
> > stopping tomcat.
> >
> > I realised that since I did the binaries first maybe that is
> > a problem?
> > Anyway I followed the instructions in the readme.txt in the
> > /jk directory. I
> > tried the "ant native" command and it failed because it 
> could not find
> > jni_md.h which is a #include in the
> > /usr/java/j2sdk1.4.1/include/jni.h file?
> > This is the latest release of the JDK, doesn't seem too hot
> > from Sun! Anyway
> > do I need this JNI library?
> >
> > It says the alternative is to ./configure then make then dsp
> > then apxs, but
> > there is no .configure file in the /jk directory, so I don't
> > know what they
> > mean?
> >
> > When I finish this I will compile your notes into a single
> > document that
> > describes how to do this, it is sorely lacking for newbies to
> > be able to
> > cope with this process.
> >
> > Thanks
> >
> > David
> >
> > -----Original Message-----
> > From: Turner, John [mailto:[EMAIL PROTECTED]]
> > Sent: 26 September 2002 16:34
> > To: 'Tomcat Users List'
> > Subject: RE: Urgent, no website until Apache 2.0.42 works 
> with Tomcat
> > 4.1.12
> >
> >
> >
> > Sorry.  Here's the content of my build.properties file:
> >
> > #
> > # build.properties for jk2/ajp connector.
> > # to be processed by configure
> > #
> >
> > # Directory where catalina is installed. It can
> > # be either 4.0 or 4.1
> > tomcat40.home=
> >
> > # If you want to build/install on  both 4.0
> > # and 4.1, set this to point to 4.0 and 'catalina.home'
> > # to point to 4.0
> > # ( most people need only the first, but developers should
> > # have both )
> > tomcat41.home=/usr/local/jakarta-tomcat-4.1.10
> >
> > # Directory where tomcat3.3 is installed
> > tomcat33.home=
> >
> > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > apache2.home=/usr/local/apache2
> > apache13.home=/usr/local/apache
> > iis.home=
> > iplanet.home=
> >
> >
> > # APR location - by default the version included in Apache2 is used.
> > # Don't edit unless you install 'standalone' apr.
> > apr.home=
> >
> > apr.include=
> > apr-util.include=
> >
> > apr.lib=
> > apr-util.lib=
> >
> >
> > # Location of Apache2, Apache1.3 apxs build tool
> > apxs=/usr/local/apache/bin/apxs
> > apxs2=/usr/local/apache2/bin/apxs
> >
> >
> > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > # includes directory
> > apache2.include=/usr/local/apache2/include
> > apache13.include=/usr/local/apache/include
> > iis.include=
> > iplanet.include=
> >
> >
> > # Location of Apache2, Apache1.3, IIS and Netscape (iPlanet)
> > # lib directory
> > apache2.lib=@APACHE2_LIBDIR@
> > apache13.lib=@APACHE_LIBDIR@
> > iis.lib=
> > iplanet.lib=
> >
> >
> > # Compile-time options for native code
> > so.debug=true
> > so.optimize=false
> > so.profile=false
> >
> > John
> >
> >
> > > -----Original Message-----
> > > From: David Wynter [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 26, 2002 11:16 AM
> > > To: Tomcat Users List
> > > Subject: RE: Urgent, no website until Apache 2.0.42 works
> > with Tomcat
> > > 4.1.12
> > >
> > >
> > > Hi John,
> > >
> > > Thanks for the script, it helped a lot. But one question. For
> > > the jar file
> > > build you have a step "edit build.properties". I had a look
> > around the
> > > directories to see if there was an expalnation on what goes
> > > there but could
> > > not find anything. The build.xml suggests that I should have
> > > a jsse1.0.2
> > > directory off the ./ base directory, which there aint. There
> > > is however the
> > > jmx.jar in the right place. The puretls.jar does nto seem to
> > > there either.
> > >
> > > You missed the buildconf.sh steps for the /native directory
> > > instructions. I
> > > skipped the steps for 1.3 that required apxs. I discovered
> > > that the Mandrake
> > > 8.2 distro leaves it out of apache 1.3.23 they install, nice
> > > of them. I
> > > don't need support for 1.3 so assume this is OK.
> > >
> > > Regards
> > >
> > > David
> > >
> >
> > --
> > To unsubscribe, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to