Tried that also, in jakarta-tomcat-connectors-4.1.18-src/jk/native

eskimo [515] ./configure --with-apxs=/usr/local/apache2/bin/apxs
./configure[1228]: syntax error at line 1228 : `(' unexpected

Line 1228 is the first function call to automake and I see that's part
of
the problem:

AM_INIT_AUTOMAKE(${PACKAGE}, ${VERSION})

AC_LIBTOOL_DLOPEN

AM_PROG_LIBTOOL

...

...

..because when I run autoconf in the jk/native directory
to create my configure file from the provided configure.in
in the same respective dir I get undefined MACRO errors:

eskimo [530] autoconf
configure.in:14: error: possibly undefined macro: AM_INIT_AUTOMAKE
      If this token and others are legitimate, please use
m4_pattern_allow.
      See the Autoconf documentation.
configure.in:18: error: possibly undefined macro: AC_LIBTOOL_DLOPEN
configure.in:20: error: possibly undefined macro: AM_PROG_LIBTOOL
configure.in:26: error: possibly undefined macro: AC_PROG_LD
configure.in:430: error: possibly undefined macro: AM_CONDITIONAL

Any clues? Should I try and use m4 patterns?

Thanks for the help!

Cheers,

-- Trev




"Turner, John" wrote:
> 
> You might get better results with:
> 
>  ./configure --with-apxs=/usr/local/apache2/bin/apxs
>  make
>  make install
> 
> John
> 
> > -----Original Message-----
> > From: Trevor Hurst [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, January 31, 2003 2:28 PM
> > To: [EMAIL PROTECTED]
> > Subject: Apache2+SSL w/ Tomcat 4.1.18 - problem building mod_jk
> > connector
> >
> >
> >
> > Greetings,
> >
> > I am having many difficulties building the mod_jk DSO
> > module from the jakarta-tomcat-connectors-4.1.18-src dist.
> >
> > I have successfully built an Apache2.0.44 server with SSL
> > engine static to the server core and it works great in
> > encrypted mode.
> >
> > I've also successfully installed the jakarta-tomcat-4.1.18
> > bits onto the system and am running the Coyote server and
> > all JSPs were verified and working from the standalone server.
> >
> > I need my Apache2 httpd server to serve up the java apps using
> > Tomcat4.1.18. I've tried everything under the sun to build the
> > mod_jk DSO module to plug into apache2 with no luck:
> >
> > I've tried building from the top level of the tomcat 4.1.18
> > connectors source and also tried building the jk/native and
> > even the jk/native/apache2 sources by using my ant1.5 install,
> > configure w/ autoconf & make/gmake and then went even further
> > to try and compile with my Apache2 apxs..........
> >
> > Everything fails. I'm running IRIX 6.5.19 with:
> >
> > Java2 v1.4.0 Development Environment (Sun Java2 SDK v1.4.0)
> > Java2 v1.4.0 Execution Environment (Sun Java2 Runtime Environment
> > v1.4.0)
> >
> > Here's the ant build error output from:
> >
> > jakarta-tomcat-connectors-4.1.18-src/jk
> >
> > eskimo [431] ant
> > Buildfile: build.xml
> >
> > detect:
> >      [echo] -------- jakarta-tomcat-connectors --------
> >
> > prepare:
> >
> > report:
> >      [echo] Tomcat33: ${tomcat33.detect}
> > /usr/people/trev/src/jakarta-tomcat/build/tomcat/lib/common/to
> > mcat_core.jar
> >      [echo] Tomcat40:  ${tomcat40.detect}
> > /usr/people/trev/src/jakarta-tomcat-4.0/build
> >      [echo] Tomcat41: true /usr/local/jakarta-tomcat-4.1.18
> >      [echo] Tomcat5:  ${tomcat5.detect} ../../jakarta-tomcat-5/build
> >      [echo] Apache13: ${apache13.detect} ${apache13.home}
> >      [echo] Apache2: true /usr/local/apache2
> >      [echo] iPlanet:  ${iplanet.detect} ${iplanet.home}
> >      [echo] IIS:      ${iis.detect} ${iis.home}
> >
> > jkjava:
> >     [javac] Compiling 31 source files to
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/b
> > uild/classes
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> ava/org/apache/jk/common/JniHandler.java:67:
> > package org.apache.tomcat.util.buf does not exist
> >     [javac] import org.apache.tomcat.util.buf.*;
> >     [javac] ^
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> ava/org/apache/jk/common/JniHandler.java:68:
> > package org.apache.tomcat.util.http does not exist
> >     [javac] import org.apache.tomcat.util.http.*;
> >     [javac] ^
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> ava/org/apache/jk/common/JniHandler.java:70:
> > package org.apache.tomcat.util.threads does not exist
> >     [javac] import org.apache.tomcat.util.threads.*;
> >     [javac] ^
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> ava/org/apache/jk/core/JkHandler.java:65:
> > package org.apache.tomcat.util.handler does not exist
> >     [javac] import org.apache.tomcat.util.handler.*;
> >     [javac] ^
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> > ava/org/apache/jk/core/Msg.java:69:
> > package org.apache.tomcat.util.http does not exist
> >     [javac] import org.apache.tomcat.util.http.MimeHeaders;
> >     [javac]                                    ^
> >     [javac]
> > /usr/people/trev/src/jakarta-tomcat-connectors-4.1.18-src/jk/j
> > ava/org/apache/jk/core/Msg.java:70:
> > package org.apache.tomcat.util.buf does not exist
> >     [javac] import org.apache.tomcat.util.buf.*;
> >     [javac] ^
> > .....
> > ..
> > .....
> >
> > .....
> >
> > Am I missing something in my CLASSPATH? I've edited my
> > build.properties
> > to what I think are the correct settings:
> >
> > # Directory where tomcat5 is installed
> > #tomcat5.home= ../../jakarta-tomcat-5/build
> >
> > # Directory where catalina is installed. It can
> > # be either 4.0 or 4.1
> > tomcat41.home=/usr/local/jakarta-tomcat-4.1.18
> >
> > # 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=../../jakarta-tomcat-4.1/build
> >
> > # Directory where tomcat3.3 is installed
> > #tomcat33.home= ../../jakarta-tomcat/build/tomcat
> >
> > # Location of Apache2, Apache1.3, Netscape, IIS
> > apache2.home=/usr/local/apache2
> > #apache13.home=/opt/apache13
> > #iplanet.home=/opt/iplanet6
> > # iplanet.home=d:/tools/sdk/netscape
> > # iis.home=e:/
> >
> > # APR location - by default the version included in Apache2 is used.
> > # Don't edit unless you install 'standalone' apr.
> > apr.home=${apache2.home}
> >
> > apr.include=${apr.home}/include
> > apr-util.include=${apr.home}/include
> >
> > apr.lib=${apr.home}/lib
> > apr-util.lib=${apr.home}/lib
> > apache2.lib=${apache2.home}/lib
> >
> >
> > # Compile-time options for native code
> > so.debug=true
> > so.optimize=false
> > so.profile=false
> >
> > -------oOo-------
> >
> > Thanks for any help!!
> >
> > Cheers,
> >
> > -- Trev
> >
> > --
> > Trevor Hurst
> > Senior Systems Administrator
> > DCO Unix Production Systems
> > Silicon Graphics
> > Office Ph: 650.933.6144
> > e-mail: [EMAIL PROTECTED]
> > pager: [EMAIL PROTECTED]
> >
> > --
> > Thus a mind that is free from passion is a very citadel;
> > man has no stronger fortress in which to seek shelter and
> > defy every assault. Failure to perceive this is ignorance;
> > but to perceive it, and still not to seek its refuge, is
> > misfortune indeed. --Marcus Aurelius
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

-- 
Trevor Hurst
Senior Systems Administrator
DCO Unix Production Systems
Silicon Graphics
Office Ph: 650.933.6144
e-mail: [EMAIL PROTECTED]
pager: [EMAIL PROTECTED]

--
Thus a mind that is free from passion is a very citadel;
man has no stronger fortress in which to seek shelter and
defy every assault. Failure to perceive this is ignorance;
but to perceive it, and still not to seek its refuge, is
misfortune indeed. --Marcus Aurelius

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

Reply via email to