You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com> on 2002/02/13 15:44:42 UTC

Arrrghhh how can i do it ?

Hi all,

Well i just decided to migrate against Tomcat 4.0.2 Final to test it.

I compiled from source tomcat itself; it works, no pb.

As i'm runnin' Apache 1.3.22, i want to build the mod_webapp too.

I downloaded the jakarta-tomcat-connectors-4.0.2-src.gz file
and expanded it in /usr/local.

I used to worked with 4.0.2-b2 and tried to compile in the same way the
sources with

./configure -with-apxs ...

But i don't understand the way the connectors are made;
I DON'T SEE ANY  ./CONFIGURE FILE for such a stuff !
And the README.txt file seems to be the same than previous 4.0.2-b2 rel.

What do have i to do ???

I'm stuck.

Any kind of help will be very appreciated.

Regards.

Jean-Luc B :O)

Re: Arrrghhh how can i do it ?

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
David Smith a écrit :

> For those following the thread, my reply is at the bottom...
>
> On Wednesday 13 February 2002 10:52 am, you wrote:
> > David Smith a écrit :
> > > Did you run ./support/buildconf.sh before attempting to run ./configure?
> > >
> > > I don't clearly remember, but it seems the last time I built mod_webapp,
> > > configure didn't exist until after I ran buildconf.sh.
> > >
> > > --David
> > >
> > > On Wednesday 13 February 2002 09:44 am, you wrote:
> > > > Hi all,
> > > >
> > > > Well i just decided to migrate against Tomcat 4.0.2 Final to test it.
> > > >
> > > > I compiled from source tomcat itself; it works, no pb.
> > > >
> > > > As i'm runnin' Apache 1.3.22, i want to build the mod_webapp too.
> > > >
> > > > I downloaded the jakarta-tomcat-connectors-4.0.2-src.gz file
> > > > and expanded it in /usr/local.
> > > >
> > > > I used to worked with 4.0.2-b2 and tried to compile in the same way the
> > > > sources with
> > > >
> > > > ./configure -with-apxs ...
> > > >
> > > > But i don't understand the way the connectors are made;
> > > > I DON'T SEE ANY  ./CONFIGURE FILE for such a stuff !
> > > > And the README.txt file seems to be the same than previous 4.0.2-b2
> > > > rel.
> > > >
> > > > What do have i to do ???
> > > >
> > > > I'm stuck.
> > > >
> > > > Any kind of help will be very appreciated.
> > > >
> > > > Regards.
> > > >
> > > > Jean-Luc B :O)
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > Yep i did it.
> >
> > But unluckyly it seems i miss the apr modules/sources...
> >
> > Is that normal ?
> >
> > Don't yu think i could build from the nightly/src
> > webapp-module-1.0.2-tc402-src.tar.gz ?
> >
> > Cause i used it when i first compiled the 4.0.2-b2...
> >
> > I'm not sure i well understand the difference...
> >
> > Maybe yu can help ?
> >
> > JLB :O)
>
> The source I downloaded was a bit more complete package that came from the
> following url:
>
> http://cvs.apache.org/snapshots/jakarta-tomcat-connectors
>
> It included all the connectors even though I was only after mod_webapp.  On
> the other hand, it also had apr.  Maybe they stopped packaging apr with the
> webapp source to guarantee you get the most recent version.
>
> In your case, you might want to download apr from
> http://cvs.apache.org/snapshots/apr and place the uncompressed files in the
> apr directory under the webapp source root.
>
> Hope it helps...
>
> --David
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

Great !
That is a nice answer.

I wonder why they stop packaging apr with the whole connectors...

I'm gonna get apr by my own and follow yur instructions.

Thanks a lot !

Jean-Luc B :O)



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by David Smith <dn...@cornell.edu>.
For those following the thread, my reply is at the bottom...

On Wednesday 13 February 2002 10:52 am, you wrote:
> David Smith a écrit :
> > Did you run ./support/buildconf.sh before attempting to run ./configure?
> >
> > I don't clearly remember, but it seems the last time I built mod_webapp,
> > configure didn't exist until after I ran buildconf.sh.
> >
> > --David
> >
> > On Wednesday 13 February 2002 09:44 am, you wrote:
> > > Hi all,
> > >
> > > Well i just decided to migrate against Tomcat 4.0.2 Final to test it.
> > >
> > > I compiled from source tomcat itself; it works, no pb.
> > >
> > > As i'm runnin' Apache 1.3.22, i want to build the mod_webapp too.
> > >
> > > I downloaded the jakarta-tomcat-connectors-4.0.2-src.gz file
> > > and expanded it in /usr/local.
> > >
> > > I used to worked with 4.0.2-b2 and tried to compile in the same way the
> > > sources with
> > >
> > > ./configure -with-apxs ...
> > >
> > > But i don't understand the way the connectors are made;
> > > I DON'T SEE ANY  ./CONFIGURE FILE for such a stuff !
> > > And the README.txt file seems to be the same than previous 4.0.2-b2
> > > rel.
> > >
> > > What do have i to do ???
> > >
> > > I'm stuck.
> > >
> > > Any kind of help will be very appreciated.
> > >
> > > Regards.
> > >
> > > Jean-Luc B :O)
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> Yep i did it.
>
> But unluckyly it seems i miss the apr modules/sources...
>
> Is that normal ?
>
> Don't yu think i could build from the nightly/src
> webapp-module-1.0.2-tc402-src.tar.gz ?
>
> Cause i used it when i first compiled the 4.0.2-b2...
>
> I'm not sure i well understand the difference...
>
> Maybe yu can help ?
>
> JLB :O)

The source I downloaded was a bit more complete package that came from the 
following url:

http://cvs.apache.org/snapshots/jakarta-tomcat-connectors

It included all the connectors even though I was only after mod_webapp.  On 
the other hand, it also had apr.  Maybe they stopped packaging apr with the 
webapp source to guarantee you get the most recent version.

In your case, you might want to download apr from 
http://cvs.apache.org/snapshots/apr and place the uncompressed files in the 
apr directory under the webapp source root.

Hope it helps...

--David

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
Julien OIX a écrit :

> Jean-Luc BEAUDET a écrit :
> >
> > Remy Maucherat a écrit :
> >
> > > > Remy Maucherat a écrit :
> > > >
> > > > > > David Smith a écrit :
> > > > > >
> > > > > > Yep i did it.
> > > > > >
> > > > > > But unluckyly it seems i miss the apr modules/sources...
> > > > > >
> > > > > > Is that normal ?
> > > > >
> > > > > JF pointed that out, but I don't see why we should include the sources
> > > of
> > > > > another project. I consider the user should get them himself.
> > > >
> > > > Well in the  webapp-module-1.0.2-tc402-src.tar.gz apr is included...
> > > > So, why not include it ?
> > > > But maybe someone else did the trick...
> > >
> > > The source for j-t-c is supposed to be the source for the j-t-c repository
> > > only. I don't think we should include the source from another project
> > > (dowload it separately).
> > > JF did include the APR source in his archive. (different guy = different
> > > archive)
> > >
> > > > > Of course, if it's not documented anywhere, then that's a problem.
> > > >
> > > > Maybe when i red the doc i was a little.. tired.
> > >
> > > Np. Let me know if there's a problem.
> > >
> > > Remy
> > >
> > > --
> > > To unsubscribe:   <ma...@jakarta.apache.org>
> > > For additional commands: <ma...@jakarta.apache.org>
> > > Troubles with the list: <ma...@jakarta.apache.org>
> >
> > Well i made both of the ways yu and David Smith gave to me.
> >
> > The resulting compiled code was a little different by the size...
> >
> > So i tested with the last code, it's OK !
> >
> > The method:
> >
> > DownLoad complete package from:
> > http://cvs.apache.org/snapshots/jakarta-tomcat-connectors
> > and added
> > http://cvs.apache.org/snapshots/apr
> > and placed the incompressed files in
> > ~../webapp/apr dir.
> >
> > sh ./support/buildconf.sh
> > make
> >
> > All is OK !
> >
> > Thank yu for all.
> >
> > Best regards.
> >
> > Jean-Luc B :O)
> >
>
> I compiled mod_webapp.so with :
>
>         sh ./support/buildconf.sh
>         configure --with-apxs=/usr/bin/apxs
>         make
>
> when I restart apache/tomcat, I have this message:
>
> Loaded DSO modules/mod_webapp.so uses plain Apache 1.3 API, this module
> might crash under EAPI! (please recompile it with -DEAPI)
>
> when do I have to place the flag -DEAPI ?
>
> thanks in advance
>
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
>
> --
> Julien OIX
> Service Informatique de Gestion
> Tél: 02 40 99 83 65
> mail: julien.oix@presidence.univ-nantes.fr
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

Well,

I'm not sure about it...

So first, why did yu compile Apache with EAPI option ?
What is yur configuration ( OS...)

If yu do want to compile with EAPI, at a guess the makefile before `make` has to
be modified.
but i didn't ever need it on my own.

Try to post exclusivly for that question a new one.

Hope this will give yu little help.

Jean-Luc B :O)



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Julien OIX <ju...@presidence.univ-nantes.fr>.
Jean-Luc BEAUDET a écrit :
> 
> Remy Maucherat a écrit :
> 
> > > Remy Maucherat a écrit :
> > >
> > > > > David Smith a écrit :
> > > > >
> > > > > Yep i did it.
> > > > >
> > > > > But unluckyly it seems i miss the apr modules/sources...
> > > > >
> > > > > Is that normal ?
> > > >
> > > > JF pointed that out, but I don't see why we should include the sources
> > of
> > > > another project. I consider the user should get them himself.
> > >
> > > Well in the  webapp-module-1.0.2-tc402-src.tar.gz apr is included...
> > > So, why not include it ?
> > > But maybe someone else did the trick...
> >
> > The source for j-t-c is supposed to be the source for the j-t-c repository
> > only. I don't think we should include the source from another project
> > (dowload it separately).
> > JF did include the APR source in his archive. (different guy = different
> > archive)
> >
> > > > Of course, if it's not documented anywhere, then that's a problem.
> > >
> > > Maybe when i red the doc i was a little.. tired.
> >
> > Np. Let me know if there's a problem.
> >
> > Remy
> >
> > --
> > To unsubscribe:   <ma...@jakarta.apache.org>
> > For additional commands: <ma...@jakarta.apache.org>
> > Troubles with the list: <ma...@jakarta.apache.org>
> 
> Well i made both of the ways yu and David Smith gave to me.
> 
> The resulting compiled code was a little different by the size...
> 
> So i tested with the last code, it's OK !
> 
> The method:
> 
> DownLoad complete package from:
> http://cvs.apache.org/snapshots/jakarta-tomcat-connectors
> and added
> http://cvs.apache.org/snapshots/apr
> and placed the incompressed files in
> ~../webapp/apr dir.
> 
> sh ./support/buildconf.sh
> make
> 
> All is OK !
> 
> Thank yu for all.
> 
> Best regards.
> 
> Jean-Luc B :O)
> 

I compiled mod_webapp.so with :

	sh ./support/buildconf.sh
	configure --with-apxs=/usr/bin/apxs
	make

when I restart apache/tomcat, I have this message:

Loaded DSO modules/mod_webapp.so uses plain Apache 1.3 API, this module
might crash under EAPI! (please recompile it with -DEAPI)


when do I have to place the flag -DEAPI ?

thanks in advance

> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

-- 
Julien OIX
Service Informatique de Gestion
Tél: 02 40 99 83 65
mail: julien.oix@presidence.univ-nantes.fr

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
Remy Maucherat a écrit :

> > Remy Maucherat a écrit :
> >
> > > > David Smith a écrit :
> > > >
> > > > Yep i did it.
> > > >
> > > > But unluckyly it seems i miss the apr modules/sources...
> > > >
> > > > Is that normal ?
> > >
> > > JF pointed that out, but I don't see why we should include the sources
> of
> > > another project. I consider the user should get them himself.
> >
> > Well in the  webapp-module-1.0.2-tc402-src.tar.gz apr is included...
> > So, why not include it ?
> > But maybe someone else did the trick...
>
> The source for j-t-c is supposed to be the source for the j-t-c repository
> only. I don't think we should include the source from another project
> (dowload it separately).
> JF did include the APR source in his archive. (different guy = different
> archive)
>
> > > Of course, if it's not documented anywhere, then that's a problem.
> >
> > Maybe when i red the doc i was a little.. tired.
>
> Np. Let me know if there's a problem.
>
> Remy
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

Well i made both of the ways yu and David Smith gave to me.

The resulting compiled code was a little different by the size...

So i tested with the last code, it's OK !

The method:

DownLoad complete package from:
http://cvs.apache.org/snapshots/jakarta-tomcat-connectors
and added
http://cvs.apache.org/snapshots/apr
and placed the incompressed files in
~../webapp/apr dir.

sh ./support/buildconf.sh
make

All is OK !

Thank yu for all.

Best regards.

Jean-Luc B :O)



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Remy Maucherat <re...@apache.org>.
> Remy Maucherat a écrit :
>
> > > David Smith a écrit :
> > >
> > > Yep i did it.
> > >
> > > But unluckyly it seems i miss the apr modules/sources...
> > >
> > > Is that normal ?
> >
> > JF pointed that out, but I don't see why we should include the sources
of
> > another project. I consider the user should get them himself.
>
> Well in the  webapp-module-1.0.2-tc402-src.tar.gz apr is included...
> So, why not include it ?
> But maybe someone else did the trick...

The source for j-t-c is supposed to be the source for the j-t-c repository
only. I don't think we should include the source from another project
(dowload it separately).
JF did include the APR source in his archive. (different guy = different
archive)

> > Of course, if it's not documented anywhere, then that's a problem.
>
> Maybe when i red the doc i was a little.. tired.

Np. Let me know if there's a problem.

Remy


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
Remy Maucherat a écrit :

> > David Smith a écrit :
> >
> > Yep i did it.
> >
> > But unluckyly it seems i miss the apr modules/sources...
> >
> > Is that normal ?
>
> JF pointed that out, but I don't see why we should include the sources of
> another project. I consider the user should get them himself.

Well in the  webapp-module-1.0.2-tc402-src.tar.gz apr is included...
So, why not include it ?
But maybe someone else did the trick...

>
> Of course, if it's not documented anywhere, then that's a problem.

Maybe when i red the doc i was a little.. tired.

>
>
> > Don't yu think i could build from the nightly/src
> > webapp-module-1.0.2-tc402-src.tar.gz ?
>
> Yes, you can.

I did it, it seems OK.

>
>
> Remy

Thank you very much.

Jean-Luc :O)


>
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Remy Maucherat <re...@apache.org>.
> David Smith a écrit :
>
> Yep i did it.
>
> But unluckyly it seems i miss the apr modules/sources...
>
> Is that normal ?

JF pointed that out, but I don't see why we should include the sources of
another project. I consider the user should get them himself.
Of course, if it's not documented anywhere, then that's a problem.

> Don't yu think i could build from the nightly/src
> webapp-module-1.0.2-tc402-src.tar.gz ?

Yes, you can.

Remy


--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by Jean-Luc BEAUDET <be...@toolchest.cyber.kodak.com>.
David Smith a écrit :

> Did you run ./support/buildconf.sh before attempting to run ./configure?
>
> I don't clearly remember, but it seems the last time I built mod_webapp,
> configure didn't exist until after I ran buildconf.sh.
>
> --David
>
> On Wednesday 13 February 2002 09:44 am, you wrote:
> > Hi all,
> >
> > Well i just decided to migrate against Tomcat 4.0.2 Final to test it.
> >
> > I compiled from source tomcat itself; it works, no pb.
> >
> > As i'm runnin' Apache 1.3.22, i want to build the mod_webapp too.
> >
> > I downloaded the jakarta-tomcat-connectors-4.0.2-src.gz file
> > and expanded it in /usr/local.
> >
> > I used to worked with 4.0.2-b2 and tried to compile in the same way the
> > sources with
> >
> > ./configure -with-apxs ...
> >
> > But i don't understand the way the connectors are made;
> > I DON'T SEE ANY  ./CONFIGURE FILE for such a stuff !
> > And the README.txt file seems to be the same than previous 4.0.2-b2 rel.
> >
> > What do have i to do ???
> >
> > I'm stuck.
> >
> > Any kind of help will be very appreciated.
> >
> > Regards.
> >
> > Jean-Luc B :O)
>
> --
> To unsubscribe:   <ma...@jakarta.apache.org>
> For additional commands: <ma...@jakarta.apache.org>
> Troubles with the list: <ma...@jakarta.apache.org>

Yep i did it.

But unluckyly it seems i miss the apr modules/sources...

Is that normal ?

Don't yu think i could build from the nightly/src
webapp-module-1.0.2-tc402-src.tar.gz ?

Cause i used it when i first compiled the 4.0.2-b2...

I'm not sure i well understand the difference...

Maybe yu can help ?

JLB :O)



--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>


Re: Arrrghhh how can i do it ?

Posted by David Smith <dn...@cornell.edu>.
Did you run ./support/buildconf.sh before attempting to run ./configure?

I don't clearly remember, but it seems the last time I built mod_webapp, 
configure didn't exist until after I ran buildconf.sh.

--David

On Wednesday 13 February 2002 09:44 am, you wrote:
> Hi all,
>
> Well i just decided to migrate against Tomcat 4.0.2 Final to test it.
>
> I compiled from source tomcat itself; it works, no pb.
>
> As i'm runnin' Apache 1.3.22, i want to build the mod_webapp too.
>
> I downloaded the jakarta-tomcat-connectors-4.0.2-src.gz file
> and expanded it in /usr/local.
>
> I used to worked with 4.0.2-b2 and tried to compile in the same way the
> sources with
>
> ./configure -with-apxs ...
>
> But i don't understand the way the connectors are made;
> I DON'T SEE ANY  ./CONFIGURE FILE for such a stuff !
> And the README.txt file seems to be the same than previous 4.0.2-b2 rel.
>
> What do have i to do ???
>
> I'm stuck.
>
> Any kind of help will be very appreciated.
>
> Regards.
>
> Jean-Luc B :O)

--
To unsubscribe:   <ma...@jakarta.apache.org>
For additional commands: <ma...@jakarta.apache.org>
Troubles with the list: <ma...@jakarta.apache.org>