You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Prasanth S <pa...@yahoo.com> on 2003/04/02 01:32:26 UTC

Help on mod_jk for tomcat 4.0.x + httpd 2.0.40 on RedHat 8.0

Hai,
 I have a Redhat 8.0 machine runnin apache 2.0.40 (rpm
-ivh httpd-2.040, i have the httpd-devel 2.0.40 too)
and tomcat 4.0.6. I was trying to compile
jakarta-tomcat-connectors-jk-1.2.0-src for getting
mod_jk.so module to integrate the above two server. I
am failing in every attempt. anyone pls help me out of
this situation, as i have to get my system configured
as soon as possible. the following are what i have
done:
in jakarta-tomcat-connectors.src/jk/native/:
#> ./buildconf.sh
#> ./configure --with-apxs=/usr/sbin/apxs
--with-java-home=${JAVA_HOME} --with-jni --enable-EAPI
(all the paths are correct)
   -- in this i get a mesg, saying that no apache
given
#> make
  -- after a while of running, it goes in to the
src/jk/native/apache-2.0 directory and tries running
the make command. here it gives an error:
-----
gcc: mod_jk.lo: No such file or directory
gcc: unrecognized option `-rpath'
make[1]: [mod_jk.la] Error 1 (ignored)
mode=install cp mod_jk.la `pwd`/mod_jk.so
cp: cannot stat `mod_jk.la': No such file or directory
make[1]: [mod_jk.so] Error 1 (ignored)
make[1]: Leaving directory
`/usr/src/redhat/SOURCES/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/apache-2.0'
------------

after this, i try to find the mod_jk.so file in the
apache-2.0 directory, but its not there obviously. pls
help me out. Thanks in advance.

Prasanth S.



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Help on mod_jk for tomcat 4.0.x + httpd 2.0.40 on RedHat 8.0

Posted by Henri Gomez <hg...@users.sourceforge.net>.
Prasanth S wrote:
> Henri,
>     I have autmake 1.6.3 , libtool 1.4.2, autoconf
> 2.53 I usually run ./buildconf before running the
> ./configure....command.


Just use configure which should be ready for you


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Help on mod_jk for tomcat 4.0.x + httpd 2.0.40 on RedHat 8.0

Posted by Prasanth S <pa...@yahoo.com>.
Henri,
    I have autmake 1.6.3 , libtool 1.4.2, autoconf
2.53 I usually run ./buildconf before running the
./configure....command.

--- Henri Gomez <hg...@apache.org> wrote:
> Prasanth S wrote:
> > Hai,
> >  I have a Redhat 8.0 machine runnin apache 2.0.40
> (rpm
> > -ivh httpd-2.040, i have the httpd-devel 2.0.40
> too)
> > and tomcat 4.0.6. I was trying to compile
> > jakarta-tomcat-connectors-jk-1.2.0-src for getting
> > mod_jk.so module to integrate the above two
> server. I
> > am failing in every attempt. anyone pls help me
> out of
> > this situation, as i have to get my system
> configured
> > as soon as possible. the following are what i have
> > done:
> > in jakarta-tomcat-connectors.src/jk/native/:
> > #> ./buildconf.sh
> > #> ./configure --with-apxs=/usr/sbin/apxs
> > --with-java-home=${JAVA_HOME} --with-jni
> --enable-EAPI
> > (all the paths are correct)
> >    -- in this i get a mesg, saying that no apache
> > given
> > #> make
> >   -- after a while of running, it goes in to the
> > src/jk/native/apache-2.0 directory and tries
> running
> > the make command. here it gives an error:
> > -----
> > gcc: mod_jk.lo: No such file or directory
> > gcc: unrecognized option `-rpath'
> > make[1]: [mod_jk.la] Error 1 (ignored)
> > mode=install cp mod_jk.la `pwd`/mod_jk.so
> > cp: cannot stat `mod_jk.la': No such file or
> directory
> > make[1]: [mod_jk.so] Error 1 (ignored)
> > make[1]: Leaving directory
> >
>
`/usr/src/redhat/SOURCES/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/apache-2.0'
> > ------------
> > 
> > after this, i try to find the mod_jk.so file in
> the
> > apache-2.0 directory, but its not there obviously.
> pls
> > help me out. Thanks in advance.
> 
> Are you sure you have autoconf, automake and other
> dev tools
> installed ?
> 
> 
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> tomcat-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> tomcat-dev-help@jakarta.apache.org
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Re: Help on mod_jk for tomcat 4.0.x + httpd 2.0.40 on RedHat 8.0

Posted by Henri Gomez <hg...@apache.org>.
Prasanth S wrote:
> Hai,
>  I have a Redhat 8.0 machine runnin apache 2.0.40 (rpm
> -ivh httpd-2.040, i have the httpd-devel 2.0.40 too)
> and tomcat 4.0.6. I was trying to compile
> jakarta-tomcat-connectors-jk-1.2.0-src for getting
> mod_jk.so module to integrate the above two server. I
> am failing in every attempt. anyone pls help me out of
> this situation, as i have to get my system configured
> as soon as possible. the following are what i have
> done:
> in jakarta-tomcat-connectors.src/jk/native/:
> #> ./buildconf.sh
> #> ./configure --with-apxs=/usr/sbin/apxs
> --with-java-home=${JAVA_HOME} --with-jni --enable-EAPI
> (all the paths are correct)
>    -- in this i get a mesg, saying that no apache
> given
> #> make
>   -- after a while of running, it goes in to the
> src/jk/native/apache-2.0 directory and tries running
> the make command. here it gives an error:
> -----
> gcc: mod_jk.lo: No such file or directory
> gcc: unrecognized option `-rpath'
> make[1]: [mod_jk.la] Error 1 (ignored)
> mode=install cp mod_jk.la `pwd`/mod_jk.so
> cp: cannot stat `mod_jk.la': No such file or directory
> make[1]: [mod_jk.so] Error 1 (ignored)
> make[1]: Leaving directory
> `/usr/src/redhat/SOURCES/jakarta-tomcat-connectors-jk-1.2.0-src/jk/native/apache-2.0'
> ------------
> 
> after this, i try to find the mod_jk.so file in the
> apache-2.0 directory, but its not there obviously. pls
> help me out. Thanks in advance.

Are you sure you have autoconf, automake and other dev tools
installed ?




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org