Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere

Chris Gokey wrote:
 
 I attached the output of the build process, although I don't see any
 errors..  But that doesn't mean anything :)

The error is in the Makefile - I will fix it -

 
 Thanks for responding and taking a look.
 
 Chris
 
 On Wed, 5 Sep 2001, Pier Fumagalli wrote:
 
  Chris Gokey [EMAIL PROTECTED] wrote:
 
   I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
   trying to install the mod_webapp connector for apache. I've been able to
   cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
   build it.  When I copy the
   apache-1.3/mod_webapp.so file into my
   apache/libexec directory and try to start apache, I get this error:
  
   [root@cgokey bin]# ./apachectl start
   Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
   Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
   /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
   ./apachectl start: httpd could not be started
  
   If I do a file on mod_webapp.so, I get this:
   [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
   mod_webapp.so: Bourne shell script text
  
   Any idea why this module is not building properly?
 
  Nope, if you don't send an output of the build process :)
 
  Pier
 
 
 --
  __
 /\ \
 \_| Christopher D. Gokey, SSAI, NASA/GCMD  |
   | 18 Martin Road, Shelburne Falls, MA  01370 |
   | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
   | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
   | ICQ #52132386, AOL IM: chrisgokey  |
   |   _|_
\_/__/
 
   
   Name: output2.txt
output2.txtType: Plain Text (TEXT/plain)
   Encoding: BASE64



Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere

Clere, Jean-Frederic wrote:
 
 Chris Gokey wrote:
 
  I attached the output of the build process, although I don't see any
  errors..  But that doesn't mean anything :)
 
 The error is in the Makefile - I will fix it -

I have fixed it.

 
 
  Thanks for responding and taking a look.
 
  Chris
 
  On Wed, 5 Sep 2001, Pier Fumagalli wrote:
 
   Chris Gokey [EMAIL PROTECTED] wrote:
  
I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
trying to install the mod_webapp connector for apache. I've been able to
cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
build it.  When I copy the
apache-1.3/mod_webapp.so file into my
apache/libexec directory and try to start apache, I get this error:
   
[root@cgokey bin]# ./apachectl start
Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
/usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
./apachectl start: httpd could not be started
   
If I do a file on mod_webapp.so, I get this:
[cgokey@cgokey apache-1.3]$ file  mod_webapp.so
mod_webapp.so: Bourne shell script text
   
Any idea why this module is not building properly?
  
   Nope, if you don't send an output of the build process :)
  
   Pier
  
 
  --
   __
  /\ \
  \_| Christopher D. Gokey, SSAI, NASA/GCMD  |
| 18 Martin Road, Shelburne Falls, MA  01370 |
| Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
| [EMAIL PROTECTED] / http://gcmd.nasa.gov|
| ICQ #52132386, AOL IM: chrisgokey  |
|   _|_
 \_/__/
 

Name: output2.txt
 output2.txtType: Plain Text (TEXT/plain)
Encoding: BASE64



Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread jean-frederic clere

Chris Gokey wrote:
 
 Ok, I checked out the source again for
 jakarta-tomcat-connectors/webapps and apr and now I get this error.

Oops - Sorry there was a typo ($ missing). -

 
 [cgokey@cgokey webapp]$ ./support/buildconf.sh
 [cgokey@cgokey webapp]$ ./configure --with-apxs=/usr/local/apache/bin/apxs
 creating cache ./config.cache
 checking for test... /usr/bin/test
 checking for true... /bin/true
 checking for echo... /bin/echo
 checking for grep... /bin/grep
 checking for cat... /bin/cat
 checking for sed... /bin/sed
 checking for rm... /bin/rm
 checking sources directory...
 /home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp
 checking debugging flags... disabled
 checking Java support... disabled
 checking Tomcat 4.0 directory... not required
 checking if apxs is working... ok
 setting target module to...
 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp/apache-1.3
 checking APR directory... configure: error: Cannot find APR sources
 directory {SRCDIR}/apr
 
 The apr does exist in my jakarta-tomcat-connectors/webapps
 directory, so I'm not sure why it isn't finding it.  It did yesterday :)
 
 Thanks for you help,
 Chris
 
 On Wed, 5 Sep 2001, jean-frederic clere wrote:
 
  Clere, Jean-Frederic wrote:
  
   Chris Gokey wrote:
   
I attached the output of the build process, although I don't see any
errors..  But that doesn't mean anything :)
  
   The error is in the Makefile - I will fix it -
 
  I have fixed it.
 
  
   
Thanks for responding and taking a look.
   
Chris
   
On Wed, 5 Sep 2001, Pier Fumagalli wrote:
   
 Chris Gokey [EMAIL PROTECTED] wrote:

  I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
  trying to install the mod_webapp connector for apache. I've been able to
  cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
  build it.  When I copy the
  apache-1.3/mod_webapp.so file into my
  apache/libexec directory and try to start apache, I get this error:
 
  [root@cgokey bin]# ./apachectl start
  Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
  Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
  /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
  ./apachectl start: httpd could not be started
 
  If I do a file on mod_webapp.so, I get this:
  [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
  mod_webapp.so: Bourne shell script text
 
  Any idea why this module is not building properly?

 Nope, if you don't send an output of the build process :)

 Pier

   
--
 __
/\ \
\_| Christopher D. Gokey, SSAI, NASA/GCMD  |
  | 18 Martin Road, Shelburne Falls, MA  01370 |
  | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
  | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
  | ICQ #52132386, AOL IM: chrisgokey  |
  |   _|_
   \_/__/
   
  

  Name: output2.txt
   output2.txtType: Plain Text (TEXT/plain)
  Encoding: BASE64
 
 
 --
  __
 /\ \
 \_| Christopher D. Gokey, SSAI, NASA/GCMD  |
   | 18 Martin Road, Shelburne Falls, MA  01370 |
   | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
   | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
   | ICQ #52132386, AOL IM: chrisgokey  |
   |   _|_
\_/__/



RE: Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread Peter Shankey

I ran into this. I got around it bey using apache 1.3.20

jean-frederic clere [EMAIL PROTECTED] wrote:

Chris Gokey wrote:
 
 Ok, I checked out the source again for
 jakarta-tomcat-connectors/webapps and apr and now I get this error.

Oops - Sorry there was a typo ($ missing). -

 
 [cgokey@cgokey webapp]$ ./support/buildconf.sh
 [cgokey@cgokey webapp]$ ./configure --with-apxs=/usr/local/apache/bin/apxs
 creating cache ./config.cache
 checking for test... /usr/bin/test
 checking for true... /bin/true
 checking for echo... /bin/echo
 checking for grep... /bin/grep
 checking for cat... /bin/cat
 checking for sed... /bin/sed
 checking for rm... /bin/rm
 checking sources directory...
 /home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp
 checking debugging flags... disabled
 checking Java support... disabled
 checking Tomcat 4.0 directory... not required
 checking if apxs is working... ok
 setting target module to...
 
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp/apache-1.3
 checking APR directory... configure: error: Cannot find APR sources
 directory {SRCDIR}/apr
 
 The apr does exist in my jakarta-tomcat-connectors/webapps
 directory, so I'm not sure why it isn't finding it.  It did yesterday :)
 
 Thanks for you help,
 Chris
 
 On Wed, 5 Sep 2001, jean-frederic clere wrote:
 
  Clere, Jean-Frederic wrote:
  
   Chris Gokey wrote:
   
I attached the output of the build process, although I don't see any
errors..  But that doesn't mean anything :)
  
   The error is in the Makefile - I will fix it -
 
  I have fixed it.
 
  
   
Thanks for responding and taking a look.
   
Chris
   
On Wed, 5 Sep 2001, Pier Fumagalli wrote:
   
 Chris Gokey [EMAIL PROTECTED] wrote:

  I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
  trying to install the mod_webapp connector for apache. I've been able to
  cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
  build it.  When I copy the
  apache-1.3/mod_webapp.so file into my
  apache/libexec directory and try to start apache, I get this error:
 
  [root@cgokey bin]# ./apachectl start
  Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
  Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
  /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
  ./apachectl start: httpd could not be started
 
  If I do a file on mod_webapp.so, I get this:
  [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
  mod_webapp.so: Bourne shell script text
 
  Any idea why this module is not building properly?

 Nope, if you don't send an output of the build process :)

 Pier

   
--
 __
/\ \
\_| Christopher D. Gokey, SSAI, NASA/GCMD  |
  | 18 Martin Road, Shelburne Falls, MA  01370 |
  | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
  | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
  | ICQ #52132386, AOL IM: chrisgokey  |
  |   _|_
   \_/__/
   
  

  Name: output2.txt
   output2.txtType: Plain Text (TEXT/plain)
  Encoding: BASE64
 
 
 --
  __
 /\ \
 \_| Christopher D. Gokey, SSAI, NASA/GCMD  |
   | 18 Martin Road, Shelburne Falls, MA  01370 |
   | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
   | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
   | ICQ #52132386, AOL IM: chrisgokey  |
   |   _|_
\_/__/



__
Your favorite stores, helpful shopping tools and great gift ideas. Experience the 
convenience of buying online with Shop@Netscape! http://shopnow.netscape.com/

Get your own FREE, personal Netscape Mail account today at http://webmail.netscape.com/




Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread Chris Gokey

Ok, I checked out the source again for
jakarta-tomcat-connectors/webapps and apr and now I get this error.

[cgokey@cgokey webapp]$ ./support/buildconf.sh
[cgokey@cgokey webapp]$ ./configure --with-apxs=/usr/local/apache/bin/apxs
creating cache ./config.cache
checking for test... /usr/bin/test
checking for true... /bin/true
checking for echo... /bin/echo
checking for grep... /bin/grep
checking for cat... /bin/cat
checking for sed... /bin/sed
checking for rm... /bin/rm
checking sources directory...
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp
checking debugging flags... disabled
checking Java support... disabled
checking Tomcat 4.0 directory... not required
checking if apxs is working... ok
setting target module to...
/home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connectors/webapp/apache-1.3
checking APR directory... configure: error: Cannot find APR sources
directory {SRCDIR}/apr

The apr does exist in my jakarta-tomcat-connectors/webapps
directory, so I'm not sure why it isn't finding it.  It did yesterday :)

Thanks for you help,
Chris

On Wed, 5 Sep 2001, jean-frederic clere wrote:

 Clere, Jean-Frederic wrote:
 
  Chris Gokey wrote:
  
   I attached the output of the build process, although I don't see any
   errors..  But that doesn't mean anything :)
 
  The error is in the Makefile - I will fix it -

 I have fixed it.

 
  
   Thanks for responding and taking a look.
  
   Chris
  
   On Wed, 5 Sep 2001, Pier Fumagalli wrote:
  
Chris Gokey [EMAIL PROTECTED] wrote:
   
 I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
 trying to install the mod_webapp connector for apache. I've been able to
 cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
 build it.  When I copy the
 apache-1.3/mod_webapp.so file into my
 apache/libexec directory and try to start apache, I get this error:

 [root@cgokey bin]# ./apachectl start
 Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
 Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
 /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
 ./apachectl start: httpd could not be started

 If I do a file on mod_webapp.so, I get this:
 [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
 mod_webapp.so: Bourne shell script text

 Any idea why this module is not building properly?
   
Nope, if you don't send an output of the build process :)
   
Pier
   
  
   --
__
   /\ \
   \_| Christopher D. Gokey, SSAI, NASA/GCMD  |
 | 18 Martin Road, Shelburne Falls, MA  01370 |
 | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
 | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
 | ICQ #52132386, AOL IM: chrisgokey  |
 |   _|_
  \_/__/
  
 

 Name: output2.txt
  output2.txtType: Plain Text (TEXT/plain)
 Encoding: BASE64


-- 
 __
/\ \
\_| Christopher D. Gokey, SSAI, NASA/GCMD  |
  | 18 Martin Road, Shelburne Falls, MA  01370 |
  | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
  | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
  | ICQ #52132386, AOL IM: chrisgokey  |
  |   _|_
   \_/__/




Re: mod_webapp.so: invalid ELF header

2001-09-05 Thread Ryan Bloom

On Wednesday 05 September 2001 08:23, Chris Gokey wrote:
 Ok, I checked out the source again for
 jakarta-tomcat-connectors/webapps and apr and now I get this error.

 [cgokey@cgokey webapp]$ ./support/buildconf.sh
 [cgokey@cgokey webapp]$ ./configure --with-apxs=/usr/local/apache/bin/apxs
 creating cache ./config.cache
 checking for test... /usr/bin/test
 checking for true... /bin/true
 checking for echo... /bin/echo
 checking for grep... /bin/grep
 checking for cat... /bin/cat
 checking for sed... /bin/sed
 checking for rm... /bin/rm
 checking sources directory...
 /home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connecto
rs/webapp checking debugging flags... disabled
 checking Java support... disabled
 checking Tomcat 4.0 directory... not required
 checking if apxs is working... ok
 setting target module to...
 /home/mddevel/MD8_Devel/MD8/packages/jakarta-tomcat/jakarta-tomcat-connecto
rs/webapp/apache-1.3 checking APR directory... configure: error: Cannot find
 APR sources directory {SRCDIR}/apr

 The apr does exist in my jakarta-tomcat-connectors/webapps
 directory, so I'm not sure why it isn't finding it.  It did yesterday :)

This is a bug in APXS.  We know how to fix it, but I haven't had time today.
Hopefully, I'll have time to fix it tomorrow.

Ryan


 Thanks for you help,
 Chris

 On Wed, 5 Sep 2001, jean-frederic clere wrote:
  Clere, Jean-Frederic wrote:
   Chris Gokey wrote:
I attached the output of the build process, although I don't see any
errors..  But that doesn't mean anything :)
  
   The error is in the Makefile - I will fix it -
 
  I have fixed it.
 
Thanks for responding and taking a look.
   
Chris
   
On Wed, 5 Sep 2001, Pier Fumagalli wrote:
 Chris Gokey [EMAIL PROTECTED] wrote:
  I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm
  now trying to install the mod_webapp connector for apache. I've
  been able to cvs checkout the latest
  jakarta-tomcat-connectors/webapps and the apr and build it.  When
  I copy the
  apache-1.3/mod_webapp.so file into my
  apache/libexec directory and try to start apache, I get this
  error:
 
  [root@cgokey bin]# ./apachectl start
  Syntax error on line 993 of
  /usr/local/apache_1.3.17/conf/httpd.conf: Cannot load
  /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
  /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF
  header ./apachectl start: httpd could not be started
 
  If I do a file on mod_webapp.so, I get this:
  [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
  mod_webapp.so: Bourne shell script text
 
  Any idea why this module is not building properly?

 Nope, if you don't send an output of the build process :)

 Pier
   
--
 __
/\ \
\_| Christopher D. Gokey, SSAI, NASA/GCMD  |
   
  | 18 Martin Road, Shelburne Falls, MA  01370 |
  | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
  | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
  | ICQ #52132386, AOL IM: chrisgokey  |
  |   _|_
   
   \_/__/
   
 
-
   --- Name: output2.txt
   output2.txtType: Plain Text (TEXT/plain)
  Encoding: BASE64

-- 

__
Ryan Bloom  [EMAIL PROTECTED]
Covalent Technologies   [EMAIL PROTECTED]
--



mod_webapp.so: invalid ELF header

2001-09-04 Thread Chris Gokey

I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
trying to install the mod_webapp connector for apache. I've been able to
cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
build it.  When I copy the
apache-1.3/mod_webapp.so file into my
apache/libexec directory and try to start apache, I get this error:

[root@cgokey bin]# ./apachectl start
Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
/usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
./apachectl start: httpd could not be started

If I do a file on mod_webapp.so, I get this:
[cgokey@cgokey apache-1.3]$ file  mod_webapp.so
mod_webapp.so: Bourne shell script text

Any idea why this module is not building properly?

Chris

-- 
 __
/\ \
\_| Christopher D. Gokey, SSAI, NASA/GCMD  |
  | 18 Martin Road, Shelburne Falls, MA  01370 |
  | Phone: Voice (413) 625-8129 / FAX 208-248-9055 |
  | [EMAIL PROTECTED] / http://gcmd.nasa.gov|
  | ICQ #52132386, AOL IM: chrisgokey  |
  |   _|_
   \_/__/





Re: mod_webapp.so: invalid ELF header

2001-09-04 Thread Pier Fumagalli

Chris Gokey [EMAIL PROTECTED] wrote:

 I've downloaded and installed the binary for Tomcat 4.0-b7.  I'm now
 trying to install the mod_webapp connector for apache. I've been able to
 cvs checkout the latest jakarta-tomcat-connectors/webapps and the apr and
 build it.  When I copy the
 apache-1.3/mod_webapp.so file into my
 apache/libexec directory and try to start apache, I get this error:
 
 [root@cgokey bin]# ./apachectl start
 Syntax error on line 993 of /usr/local/apache_1.3.17/conf/httpd.conf:
 Cannot load /usr/local/apache_1.3.17/libexec/mod_webapp.so into server:
 /usr/local/apache_1.3.17/libexec/mod_webapp.so: invalid ELF header
 ./apachectl start: httpd could not be started
 
 If I do a file on mod_webapp.so, I get this:
 [cgokey@cgokey apache-1.3]$ file  mod_webapp.so
 mod_webapp.so: Bourne shell script text
 
 Any idea why this module is not building properly?

Nope, if you don't send an output of the build process :)

Pier