RE: mod_jk2 build error

2004-04-02 Thread Yiannis Mavroukakis
SImple :) don't follow the instructions. 
Do a ./configure --help to get the options you need (--with-apxs2 --with-jni
--with-pcre and related java/tomcat options) then do a straight make and
manually copy the binary to your web server's module location.

-Original Message-
From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]
Sent: 02 April 2004 05:42
To: [EMAIL PROTECTED]
Subject: mod_jk2 build error


Hi,

I am trying to build the latest release of the JK2 connector:
jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0,
Apache
httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.

I follow the directions in
jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

but the make fails with the following:

libtool: install: warning: remember to run `libtool --finish
/usr/local/apache2/modules'
/bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
../../../build/jk2/apache2/mod_jk2.so
/bin/cp: cannot stat
`../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
file or directory
make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
make[1]: Leaving directory
`/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server
/apache2'
make: *** [jk2-build] Error 1

The ./configure step ends with the following:
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for apache-2.0
checking checking for apache13.. not provided
checking checking for apache20.. not provided
checking checking for iis.. not provided
checking checking for iPlanet.. not provided
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... not provided
configure: creating ./config.status
config.status: creating Makefile
config.status: creating server/apache13/Makefile
config.status: creating server/apache13/Makefile.apxs
config.status: creating server/apache2/Makefile
config.status: creating server/apache2/Makefile.apxs
config.status: creating ../build.properties
config.status: creating scripts/build/unix/dummy
config.status: executing depfiles commands

I didn't have any problems with the previous JK2 version.  Can anyone give
me a
hint on how to resolve this?

Thanks much,
-Tom


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.


Note:__
This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please immediately delete it and
all copies of it from your system, destroy any hard copies of it and
notify the sender. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the
intended recipient. Jaguar Freight Services and any of its subsidiaries
each reserve the right to monitor all e-mail communications through its
networks.
Any views expressed in this message are those of the individual sender,
except where the message states otherwise and the sender is authorized
to state them to be the views of any such entity.

This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs.

Re: mod_jk2 build error

2004-04-02 Thread Walter Truitt
I would try making the directory for it possibly.

I don't know why it does this, but it puts a usr/local/apache2/modules
directory under the build directory.

/bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
./../../build/jk2/apache2/mod_jk2.so
/bin/cp: cannot stat
`../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
file or directory

Since it is the copy that is failing, I would look at that.  

 -walter

 Hi,
 
 I am trying to build the latest release of the JK2 connector:
 jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache
 httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.
 
 I follow the directions in
 jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt
 
 cd jakarta-tomcat-connectors/jk/native2
 ./configure --with-apxs2=/your/path/to/apxs
 make
 cd ../build/jk2/apache2
 apxs -n jk2 -i mod_jk2.so
 
 but the make fails with the following:
 
 libtool: install: warning: remember to run `libtool --finish
 /usr/local/apache2/modules'
 /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
 ./../../build/jk2/apache2/mod_jk2.so
 /bin/cp: cannot stat
 `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
 file or directory
 make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
 make[1]: Leaving directory
 `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
 make: *** [jk2-build] Error 1
 
 The ./configure step ends with the following:
 checking for rm... /bin/rm
 checking for grep... /bin/grep
 checking for echo... /bin/echo
 checking for sed... /bin/sed
 checking for cp... /bin/cp
 checking for mkdir... /bin/mkdir
 no apxs given
 need to check for Perl first, apxs depends on it...
 checking for perl... /usr/bin/perl
 building connector for apache-2.0
 checking checking for apache13.. not provided
 checking checking for apache20.. not provided
 checking checking for iis.. not provided
 checking checking for iPlanet.. not provided
 checking for tomcat33 location... not provided
 checking for tomcat40 location... not provided
 checking for tomcat41 location... not provided
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating server/apache13/Makefile
 config.status: creating server/apache13/Makefile.apxs
 config.status: creating server/apache2/Makefile
 config.status: creating server/apache2/Makefile.apxs
 config.status: creating ../build.properties
 config.status: creating scripts/build/unix/dummy
 config.status: executing depfiles commands
 
 I didn't have any problems with the previous JK2 version.  Can anyone give me a
 hint on how to resolve this?
 
 Thanks much,
 -Tom
 
 
 __
 Do you Yahoo!?
 Yahoo! Small Business $15K Web Design Giveaway 
 http://promotions.yahoo.com/design_giveaway/

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



Re: mod_jk2 build error

2004-04-02 Thread Thomas D. Zeimet
The directory already exists.  The error seems to relate the fact that
mod_jk2.so doesn't exist in the source directory.  But why?  I don't see any
error that points to where the compile is failing.  


--- Walter Truitt [EMAIL PROTECTED] wrote:
 I would try making the directory for it possibly.
 
 I don't know why it does this, but it puts a usr/local/apache2/modules
 directory under the build directory.
 
 /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
 ./../../build/jk2/apache2/mod_jk2.so
 /bin/cp: cannot stat
 `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
 file or directory
 
 Since it is the copy that is failing, I would look at that.  
 
  -walter
 
  Hi,
  
  I am trying to build the latest release of the JK2 connector:
  jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0,
 Apache
  httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.
  
  I follow the directions in
  jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt
  
  cd jakarta-tomcat-connectors/jk/native2
  ./configure --with-apxs2=/your/path/to/apxs
  make
  cd ../build/jk2/apache2
  apxs -n jk2 -i mod_jk2.so
  
  but the make fails with the following:
  
  libtool: install: warning: remember to run `libtool --finish
  /usr/local/apache2/modules'
  /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
  ./../../build/jk2/apache2/mod_jk2.so
  /bin/cp: cannot stat
  `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
  file or directory
  make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
  make[1]: Leaving directory
 

`/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
  make: *** [jk2-build] Error 1
  
  The ./configure step ends with the following:
  checking for rm... /bin/rm
  checking for grep... /bin/grep
  checking for echo... /bin/echo
  checking for sed... /bin/sed
  checking for cp... /bin/cp
  checking for mkdir... /bin/mkdir
  no apxs given
  need to check for Perl first, apxs depends on it...
  checking for perl... /usr/bin/perl
  building connector for apache-2.0
  checking checking for apache13.. not provided
  checking checking for apache20.. not provided
  checking checking for iis.. not provided
  checking checking for iPlanet.. not provided
  checking for tomcat33 location... not provided
  checking for tomcat40 location... not provided
  checking for tomcat41 location... not provided
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating server/apache13/Makefile
  config.status: creating server/apache13/Makefile.apxs
  config.status: creating server/apache2/Makefile
  config.status: creating server/apache2/Makefile.apxs
  config.status: creating ../build.properties
  config.status: creating scripts/build/unix/dummy
  config.status: executing depfiles commands
  
  I didn't have any problems with the previous JK2 version.  Can anyone give
 me a
  hint on how to resolve this?
  
  Thanks much,
  -Tom
  
  
  __
  Do you Yahoo!?
  Yahoo! Small Business $15K Web Design Giveaway 
  http://promotions.yahoo.com/design_giveaway/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



RE: mod_jk2 build error

2004-04-02 Thread Thomas D. Zeimet
Thanks for your help!!!  The problem was the options for where the apache2
source was located:

  --with-apache2=
  --with-apache2-include=
  --with-apache2-lib=

-Tom

--- Yiannis Mavroukakis [EMAIL PROTECTED] wrote:
 SImple :) don't follow the instructions. 
 Do a ./configure --help to get the options you need (--with-apxs2 --with-jni
 --with-pcre and related java/tomcat options) then do a straight make and
 manually copy the binary to your web server's module location.
 
 -Original Message-
 From: Thomas D. Zeimet [mailto:[EMAIL PROTECTED]
 Sent: 02 April 2004 05:42
 To: [EMAIL PROTECTED]
 Subject: mod_jk2 build error
 
 
 Hi,
 
 I am trying to build the latest release of the JK2 connector:
 jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0,
 Apache
 httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.
 
 I follow the directions in
 jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt
 
 cd jakarta-tomcat-connectors/jk/native2
 ./configure --with-apxs2=/your/path/to/apxs
 make
 cd ../build/jk2/apache2
 apxs -n jk2 -i mod_jk2.so
 
 but the make fails with the following:
 
 libtool: install: warning: remember to run `libtool --finish
 /usr/local/apache2/modules'
 /bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
 ../../../build/jk2/apache2/mod_jk2.so
 /bin/cp: cannot stat
 `../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
 file or directory
 make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
 make[1]: Leaving directory
 `/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server
 /apache2'
 make: *** [jk2-build] Error 1
 
 The ./configure step ends with the following:
 checking for rm... /bin/rm
 checking for grep... /bin/grep
 checking for echo... /bin/echo
 checking for sed... /bin/sed
 checking for cp... /bin/cp
 checking for mkdir... /bin/mkdir
 no apxs given
 need to check for Perl first, apxs depends on it...
 checking for perl... /usr/bin/perl
 building connector for apache-2.0
 checking checking for apache13.. not provided
 checking checking for apache20.. not provided
 checking checking for iis.. not provided
 checking checking for iPlanet.. not provided
 checking for tomcat33 location... not provided
 checking for tomcat40 location... not provided
 checking for tomcat41 location... not provided
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating server/apache13/Makefile
 config.status: creating server/apache13/Makefile.apxs
 config.status: creating server/apache2/Makefile
 config.status: creating server/apache2/Makefile.apxs
 config.status: creating ../build.properties
 config.status: creating scripts/build/unix/dummy
 config.status: executing depfiles commands
 
 I didn't have any problems with the previous JK2 version.  Can anyone give
 me a
 hint on how to resolve this?
 
 Thanks much,
 -Tom
 
 
 __
 Do you Yahoo!?
 Yahoo! Small Business $15K Web Design Giveaway 
 http://promotions.yahoo.com/design_giveaway/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs.
 
 
 Note:__
 This message is for the named person's use only. It may contain
 confidential, proprietary or legally privileged information. No
 confidentiality or privilege is waived or lost by any mistransmission.
 If you receive this message in error, please immediately delete it and
 all copies of it from your system, destroy any hard copies of it and
 notify the sender. You must not, directly or indirectly, use, disclose,
 distribute, print, or copy any part of this message if you are not the
 intended recipient. Jaguar Freight Services and any of its subsidiaries
 each reserve the right to monitor all e-mail communications through its
 networks.
 Any views expressed in this message are those of the individual sender,
 except where the message states otherwise and the sender is authorized
 to state them to be the views of any such entity.
 
 This e-mail has been scanned for all viruses by Star Internet. The
 service is powered by MessageLabs.


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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



mod_jk2 build error

2004-04-01 Thread Thomas D. Zeimet
Hi,

I am trying to build the latest release of the JK2 connector:
jakarta-tomcat-connectors-jk2-2.0.4-src. I'm running Red Hat Linux 9.0, Apache
httpd-2.0.49 and Tomcat jakarta-tomcat-5.0.19.

I follow the directions in
jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/BUILD.txt

cd jakarta-tomcat-connectors/jk/native2
./configure --with-apxs2=/your/path/to/apxs
make
cd ../build/jk2/apache2
apxs -n jk2 -i mod_jk2.so

but the make fails with the following:

libtool: install: warning: remember to run `libtool --finish
/usr/local/apache2/modules'
/bin/cp ../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so
../../../build/jk2/apache2/mod_jk2.so
/bin/cp: cannot stat
`../../../build/jk2/apache2//usr/local/apache2/modules/mod_jk2.so': No such
file or directory
make[1]: *** [../../../build/jk2/apache2/mod_jk2.so] Error 1
make[1]: Leaving directory
`/usr2/download/jk/jakarta-tomcat-connectors-jk2-2.0.4-src/jk/native2/server/apache2'
make: *** [jk2-build] Error 1

The ./configure step ends with the following:
checking for rm... /bin/rm
checking for grep... /bin/grep
checking for echo... /bin/echo
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for mkdir... /bin/mkdir
no apxs given
need to check for Perl first, apxs depends on it...
checking for perl... /usr/bin/perl
building connector for apache-2.0
checking checking for apache13.. not provided
checking checking for apache20.. not provided
checking checking for iis.. not provided
checking checking for iPlanet.. not provided
checking for tomcat33 location... not provided
checking for tomcat40 location... not provided
checking for tomcat41 location... not provided
configure: creating ./config.status
config.status: creating Makefile
config.status: creating server/apache13/Makefile
config.status: creating server/apache13/Makefile.apxs
config.status: creating server/apache2/Makefile
config.status: creating server/apache2/Makefile.apxs
config.status: creating ../build.properties
config.status: creating scripts/build/unix/dummy
config.status: executing depfiles commands

I didn't have any problems with the previous JK2 version.  Can anyone give me a
hint on how to resolve this?

Thanks much,
-Tom


__
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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