You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@httpd.apache.org by Gary Benson <gb...@redhat.com> on 2001/08/28 14:31:39 UTC
How to make the c-modules run?
Hi,
When I run the perl test script a number of tests are skipped. I think
this is something to do with the fact that the stuff in c-modules never
gets built -- my c-modules/Makefile looks like this:
| MAKE = make
| clean:
|
| all:
|
Should I be doing something special to make the c-modules get built?
The only notable error I ever see is that "apxs -q BINDIR" fails twice
whilst configuring the server. I don't know if this is an Apache 2.x thing
since I'm using 1.3.20, but if it is could someone please advise me as to
where it should point.
Cheers,
Gary
[ Gary Benson, Red Hat Europe ][ gbenson@redhat.com ][ GnuPG 60E8793A ]
Re: How to make the c-modules run?
Posted by Gary Benson <gb...@redhat.com>.
On Tue, 28 Aug 2001, Doug MacEachern wrote:
> i just made a change so the modules are compiled with -DAPACHEx (1 or
> 2) if you're interested in porting.
>
> you'd just need to remove this line:
> #define HTTPD_TEST_REQUIRE_APACHE 2
>
> and do things conditionally based on #ifdef APACHE2, #ifdef APACHE1
Thanks! There's a couple of them that I want...
Gary
[ Gary Benson, Red Hat Europe ][ gbenson@redhat.com ][ GnuPG 60E8793A ]
Re: How to make the c-modules run?
Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 28 Aug 2001, Gary Benson wrote:
> Should I be doing something special to make the c-modules get built?
> The only notable error I ever see is that "apxs -q BINDIR" fails twice
> whilst configuring the server. I don't know if this is an Apache 2.x thing
> since I'm using 1.3.20, but if it is could someone please advise me as to
> where it should point.
the BINDIR warning should be gone now. however, none of the c-modules
have been ported to 1.x (some are not portable, e.g. mod_client_add_filter)
i just made a change so the modules are compiled with -DAPACHEx (1 or
2) if you're interested in porting.
you'd just need to remove this line:
#define HTTPD_TEST_REQUIRE_APACHE 2
and do things conditionally based on #ifdef APACHE2, #ifdef APACHE1
Re: How to make the c-modules run?
Posted by john sachs <js...@covalent.net>.
On Tue, Aug 28, 2001 at 03:22:25PM +0100, Gary Benson wrote:
+ BTW, is anyone on this list trying to use httpd-test on 1.3, or am I on my
+ own here?
i write most of the tests against 1.3.
the c-modules stuff only gets compiled/used with apache-2.0.
-j
Re: How to make the c-modules run?
Posted by Doug MacEachern <do...@covalent.net>.
On Tue, 28 Aug 2001, Gary Benson wrote:
> BTW, is anyone on this list trying to use httpd-test on 1.3, or am I on my
> own here?
the goal is for the tests to pass with 1.3, but i think most of us are
developing with 2.0 right now. so keep the patches coming :-)
Re: How to make the c-modules run?
Posted by Gary Benson <gb...@redhat.com>.
On Tue, 28 Aug 2001, Stas Bekman wrote:
> On Tue, 28 Aug 2001, Gary Benson wrote:
>
> > On Tue, 28 Aug 2001, Stas Bekman wrote:
> >
> > > On Tue, 28 Aug 2001, Gary Benson wrote:
> > >
> > > > Hi,
> > > >
> > > > When I run the perl test script a number of tests are skipped. I think
> > > > this is something to do with the fact that the stuff in c-modules never
> > > > gets built -- my c-modules/Makefile looks like this:
> > > >
> > > > | MAKE = make
> > > > | clean:
> > > > |
> > > > | all:
> > > > |
> > > >
> > > > Should I be doing something special to make the c-modules get built?
> > > > The only notable error I ever see is that "apxs -q BINDIR" fails twice
> > > > whilst configuring the server. I don't know if this is an Apache 2.x thing
> > > > since I'm using 1.3.20, but if it is could someone please advise me as to
> > > > where it should point.
> > >
> > > Try the latest cvs, rbb has committed my patch a few hours ago.
> > >
> > > e.g. it works now:
> > >
> > > % /home/stas/httpd-2.0/bin/apxs -q BINDIR
> > > /home/stas/httpd-2.0/bin
> >
> > But this is for 2.0; what is the 1.3 equivalent of the BINDIR? SBINDIR?
>
> Mine is built statically so I cannot test, but from looking at apxs in
> 1.3, yes, it's SBINDIR.
Okay, thanks.
I can see I'm going to have to checkout a copy of 2.0, if only to check
the breaking tests against it ;-)
BTW, is anyone on this list trying to use httpd-test on 1.3, or am I on my
own here?
Gary
[ Gary Benson, Red Hat Europe ][ gbenson@redhat.com ][ GnuPG 60E8793A ]
Re: How to make the c-modules run?
Posted by Stas Bekman <st...@stason.org>.
On Tue, 28 Aug 2001, Gary Benson wrote:
>
> On Tue, 28 Aug 2001, Stas Bekman wrote:
>
> > On Tue, 28 Aug 2001, Gary Benson wrote:
> >
> > >
> > > Hi,
> > >
> > > When I run the perl test script a number of tests are skipped. I think
> > > this is something to do with the fact that the stuff in c-modules never
> > > gets built -- my c-modules/Makefile looks like this:
> > >
> > > | MAKE = make
> > > | clean:
> > > |
> > > | all:
> > > |
> > >
> > > Should I be doing something special to make the c-modules get built?
> > > The only notable error I ever see is that "apxs -q BINDIR" fails twice
> > > whilst configuring the server. I don't know if this is an Apache 2.x thing
> > > since I'm using 1.3.20, but if it is could someone please advise me as to
> > > where it should point.
> >
> > Try the latest cvs, rbb has committed my patch a few hours ago.
> >
> > e.g. it works now:
> >
> > % /home/stas/httpd-2.0/bin/apxs -q BINDIR
> > /home/stas/httpd-2.0/bin
>
> But this is for 2.0; what is the 1.3 equivalent of the BINDIR? SBINDIR?
Mine is built statically so I cannot test, but from looking at apxs in
1.3, yes, it's SBINDIR.
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
Re: How to make the c-modules run?
Posted by Gary Benson <gb...@redhat.com>.
On Tue, 28 Aug 2001, Stas Bekman wrote:
> On Tue, 28 Aug 2001, Gary Benson wrote:
>
> >
> > Hi,
> >
> > When I run the perl test script a number of tests are skipped. I think
> > this is something to do with the fact that the stuff in c-modules never
> > gets built -- my c-modules/Makefile looks like this:
> >
> > | MAKE = make
> > | clean:
> > |
> > | all:
> > |
> >
> > Should I be doing something special to make the c-modules get built?
> > The only notable error I ever see is that "apxs -q BINDIR" fails twice
> > whilst configuring the server. I don't know if this is an Apache 2.x thing
> > since I'm using 1.3.20, but if it is could someone please advise me as to
> > where it should point.
>
> Try the latest cvs, rbb has committed my patch a few hours ago.
>
> e.g. it works now:
>
> % /home/stas/httpd-2.0/bin/apxs -q BINDIR
> /home/stas/httpd-2.0/bin
But this is for 2.0; what is the 1.3 equivalent of the BINDIR? SBINDIR?
Re: How to make the c-modules run?
Posted by Stas Bekman <st...@stason.org>.
On Tue, 28 Aug 2001, Gary Benson wrote:
>
> Hi,
>
> When I run the perl test script a number of tests are skipped. I think
> this is something to do with the fact that the stuff in c-modules never
> gets built -- my c-modules/Makefile looks like this:
>
> | MAKE = make
> | clean:
> |
> | all:
> |
>
> Should I be doing something special to make the c-modules get built?
> The only notable error I ever see is that "apxs -q BINDIR" fails twice
> whilst configuring the server. I don't know if this is an Apache 2.x thing
> since I'm using 1.3.20, but if it is could someone please advise me as to
> where it should point.
Try the latest cvs, rbb has committed my patch a few hours ago.
e.g. it works now:
% /home/stas/httpd-2.0/bin/apxs -q BINDIR
/home/stas/httpd-2.0/bin
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:stas@stason.org http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/