tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jean-frederic clere <jfrederic.cl...@fujitsu-siemens.com>
Subject Re: mod_webapp.so: invalid ELF header
Date Wed, 05 Sep 2001 15:44:30 GMT
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" <cgokey@gcmd.gsfc.nasa.gov> 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 |
> > > >   | cgokey@gcmd.nasa.gov / http://gcmd.nasa.gov    |
> > > >   | ICQ #52132386, AOL IM: chrisgokey              |
> > > >   |   _____________________________________________|_
> > > >    \_/______________________________________________/
> > > >
> > > >   --------------------------------------------------------------------------------
> > > >                   Name: output2.txt
> > > >    output2.txt    Type: 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 |
>   | cgokey@gcmd.nasa.gov / http://gcmd.nasa.gov    |
>   | ICQ #52132386, AOL IM: chrisgokey              |
>   |   _____________________________________________|_
>    \_/______________________________________________/

Mime
View raw message