What errors?  You got the same errors?  Do you have the recommended patch
cluster installed?  Your error messages look like system-level library
problems.  /usr/include/sys has nothing to do with Tomcat, the connectors,
or Apache, as far as I know.  /usr/include/sys is where OS headers and libs
are kept, I believe.

John


-----Original Message-----
From: Wilson, Allen [mailto:[EMAIL PROTECTED]] 
Sent: Friday, February 07, 2003 10:01 PM
To: Tomcat Users List; Tomcat Users List
Subject: RE: Apache-Tomcat Configuring....


Thanks for the info....
 
I read through what you have and I ran into the errors below when I did the
make on the JK connector configuration. I did not use the connectors that
your steps indicated...I just the one provided in the
jakarta-tomcat-connectors-4.1.18 file. 
 
Allen

        -----Original Message----- 
        From: Turner, John [mailto:[EMAIL PROTECTED]] 
        Sent: Fri 2/7/2003 6:32 PM 
        To: 'Tomcat Users List' 
        Cc: 
        Subject: RE: Apache-Tomcat Configuring....
        
        


        I have a Solaris 8 HOWTO here:  http://www.johnturner.com/howto.  It
uses
        Apache 2, but if you have the source to Apache the steps are the
same.  Just
        sub in "apache" wherever it says "apache2".  I'm assuming you are
using
        Solaris because you have paths with /opt in them.
        
        In my experience, you want to use:
        
        ./configure --with-apxs=/some/path/to/apache/bin/apxs
        make
        make install
        
        ...to build the connector...it's much easier than ant, assuming you
have a
        sane GNU build environment.
        
        John
        
        
        -----Original Message-----
        From: Wilson, Allen [mailto:[EMAIL PROTECTED]]
        Sent: Friday, February 07, 2003 6:00 PM
        To: Tomcat Users List
        Subject: Apache-Tomcat Configuring....
        
        
        Hello....
        
        I am trying to configure Apache (1.3.27) and Tomcat (4.1.18) to work
        together in preparation for adding JetSpeed.
        
        I have tried to following the instructions for creating mod_jk.so
provided
        by the Wrox Professional Tomcat book and the Galatea.com Flash
Guides and
        came up with errors on both.
        
        - With the Wrox book, I attempted to build it using the buildconf.so
script
        and received the following errors when running the make..
        
        In file included from jk_global.h:103,
                         from jk_logger.h:67,
                         from jk_ajp12_worker.h:67,
                         from jk_ajp12_worker.c:65:
        /usr/include/sys/socketvar.h:54: parse error before `t_uscalar_t'
        /usr/include/sys/socketvar.h:54: warning: no semicolon at end of
struct or
        union
        /usr/include/sys/socketvar.h:55: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:222: parse error before `t_uscalar_t'
        /usr/include/sys/socketvar.h:222: warning: no semicolon at end of
struct or
        union
        /usr/include/sys/socketvar.h:223: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:224: parse error before `so_addr_size'
        /usr/include/sys/socketvar.h:224: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:225: parse error before `so_opt_size'
        /usr/include/sys/socketvar.h:225: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:226: parse error before `so_tidu_size'
        /usr/include/sys/socketvar.h:226: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:227: parse error before `so_serv_type'
        /usr/include/sys/socketvar.h:227: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:230: parse error before
`so_acceptor_id'
        /usr/include/sys/socketvar.h:230: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:274: parse error before `}'
        /usr/include/sys/socketvar.h:623: parse error before `t_scalar_t'
        /usr/include/sys/socketvar.h:623: warning: no semicolon at end of
struct or
        union
        /usr/include/sys/socketvar.h:624: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:625: parse error before
`si_faddr_soa_len'
        /usr/include/sys/socketvar.h:625: warning: data definition has no
type or
        storage class
        /usr/include/sys/socketvar.h:630: parse error before `}'
        /usr/include/sys/socketvar.h:248: storage size of `so_laddr' isn't
known
        /usr/include/sys/socketvar.h:249: storage size of `so_faddr' isn't
known
        *** Error code 1
        make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current
        working directory /opt/WWW/tomcat-connectors-4.1.18/jk/native/common
        *** Error code 1
        make: Fatal error: Command failed for target `all-recursive'
        
        When I followed the steps in the Flash Guide.....
        
        - I changed the mod_jk-1.3.eapi.so file to mod_jk.so and then put it
in the
        libexec directory. This gave an about the wrong file type.
        
        - When I tried to build it and used ant...it could not find the
coyote.jar.
        I tried to use ant to build coyote and go the following errors
        
        BUILD FAILED
        file:/opt/WWW/tomcat-connectors-4.1.18/coyote/build.xml:189: Compile
failed;
        see the compiler error output for details.
        
        
        
        If someone could point me in the right direction to get the
mod_jk.so and
        Apache/Tomcat configuration going it would be appreciated
        
        Allen
        
        ---
        
        Checked by AVG anti-virus system (http://www.grisoft.com).
        Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
        
           
        
        ---
        
        Checked by AVG anti-virus system (http://www.grisoft.com).
        Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
        
        
        
---------------------------------------------------------------------
        To unsubscribe, e-mail: [EMAIL PROTECTED]
        For additional commands, e-mail: [EMAIL PROTECTED]
        
        


---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 
    

---

Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.449 / Virus Database: 251 - Release Date: 1/27/2003
 

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

Reply via email to