You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by jean-frederic clere <jf...@fujitsu-siemens.com> on 2001/09/06 11:19:34 UTC
apxs broken
Hi,
I have noted that apxs is broken:
/home/apache20/apache20/bin/apxs -q PREFIX
apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
Any hints?
Cheers
Jean-frederic
Re: apxs broken
Posted by Ryan Bloom <rb...@covalent.net>.
On Thursday 06 September 2001 02:19, jean-frederic clere wrote:
John Sachs told me about this yesterday, but I was too busy to do anything
with it. I'll try to fix it today.
Ryan
> Hi,
>
> I have noted that apxs is broken:
> /home/apache20/apache20/bin/apxs -q PREFIX
> apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
>
> Any hints?
>
> Cheers
>
> Jean-frederic
--
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: apxs broken
Posted by Ryan Bloom <rb...@covalent.net>.
On Thursday 06 September 2001 08:08, jean-frederic clere wrote:
> Ryan Bloom wrote:
> > I made the change to the way config_vars is created, and it needs to be
> > this way for the --with-layout stuff to work correctly. We may be able
> > to fix that problem, but we have a conflict between shell scripts and
> > perl.
> >
> > We need to fix apxs to strip the ( ).
>
> Won't { } work for both?
If I could find where we set things with $( ), then yeah, but I think autoconf is
doing this for us.
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: apxs broken
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Ryan Bloom wrote:
>
> I made the change to the way config_vars is created, and it needs to be
> this way for the --with-layout stuff to work correctly. We may be able to
> fix that problem, but we have a conflict between shell scripts and perl.
>
> We need to fix apxs to strip the ( ).
Won't { } work for both?
>
> Ryan
>
> On Thursday 06 September 2001 06:38, Stas Bekman wrote:
> > Oh, OK, I see the problem now. I didn't test with the HEAD myself. Now I
> > did.
> >
> > Somebody has committed a patch which changed the way build/config_vars.mk
> > is generated. The variables now are Makefile-like $(foo) instead of
> > ${foo}, of course this completely breaks apxs.
> >
> > So the fix is to put back the code that was generating ${foo} and not
> > $(foo).
> >
> > Unless somebody wants it that way ($(foo)) and then apxs needs to be
> > adjusted.
> >
> > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > The problem is that var contains $(var_name)/blabla instead of
> > > $var_name/blabla or ${var_name}/blabla.
> > > What should be changed - apxs or acinclude.m4 -?
> >
> > acinclude.m4 or whoever is responsible for generating
> > build/config_vars.mk.
> >
> > > "Clere, Jean-Frederic" wrote:
> > > > Stas Bekman wrote:
> > > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > > > Hi,
> > > > > >
> > > > > > I have noted that apxs is broken:
> > > > > > /home/apache20/apache20/bin/apxs -q PREFIX
> > > > > > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not
> > > > > > executable.
> > > > > >
> > > > > > Any hints?
> > > > >
> > > > > what version are you trying to use? Get the HEAD version from cvs
> > > > > (1.26), this should work.
> > > >
> > > > That is already the lastest cvs version. I think the problem is
> > > > localizated in get_vars.
> > > > what does "$result .= eval qq("$val");" do?
> > > >
> > > > > _____________________________________________________________________
> > > > > 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/
> >
> > _____________________________________________________________________
> > 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/
>
> --
>
> ______________________________________________________________
> Ryan Bloom rbb@apache.org
> Covalent Technologies rbb@covalent.net
> --------------------------------------------------------------
Re: apxs broken
Posted by Ian Holsman <ia...@cnet.com>.
apxs is working again.
I'm getting the CORE dump form my hourly test cron job.
as soon as the core dump is fixed I'll aim the email to dev@
(don't worry it only mails when there is a change in test results.
not every hour)
On Thu, 2001-09-06 at 10:07, Ryan Bloom wrote:
> On Thursday 06 September 2001 10:03, Stas Bekman wrote:
> > On Thu, 6 Sep 2001, Ryan Bloom wrote:
> > > On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > > It fixes the problem I had, thanks - Do not forget to commit it -
> > > >
> > > > I don't have commit access to httpd. Ryan will probably commit for me
> > > > :)
> > >
> > > Doug beat me to it. :-)
> >
> > it seems weird, but I can see the log from dougm, but apxs.in wasn't
> > changed in cvs. Do I miss something?
>
> It was changed for me. :-?
>
> Ryan
> ______________________________________________________________
> Ryan Bloom rbb@apache.org
> Covalent Technologies rbb@covalent.net
> --------------------------------------------------------------
--
Ian Holsman IanH@cnet.com
Performance Measurement & Analysis
CNET Networks - (415) 364-8608
Re: apxs broken
Posted by Greg Marr <gr...@alum.wpi.edu>.
At 01:32 PM 09/06/2001, Stas Bekman wrote:
>Also the regex that does s/(foo)/{foo}/ is cleaner in case someone was
>doing $(foo)_bar with the current patch, this will break, since it
>makes
>$foo_bar, whereas it should be better ${foo}_bar.
A regexp is overkill in this case, assuming that the input is a known
set, and all parens need to be changed to braces.
--- apxs.in.orig Fri Sep 7 01:27:52 2001
+++ apxs.in Fri Sep 7 01:27:56 2001
@@ -245,6 +245,8 @@
open IN, $file or die "cannot open $file: $!";
while (<IN>){
+ # $(foo) => ${foo}
+ tr/()/{}/;
if (/^\s*(.*?)\s*=\s*(.*)$/){
$rh_config->{$1} = $2;
}
@@ -261,7 +263,6 @@
my $val = exists $config_vars{$arg}
? $config_vars{$arg}
: $config_vars{lc $arg};
- $val =~ s/[()]//g;
$result .= eval qq("$val");
$result .= ";;";
$ok = 1;
@@ -270,7 +271,7 @@
if (exists $internal_vars{$arg} or exists
$internal_vars{lc $arg}) {
my $val = exists $internal_vars{$arg} ? $arg : lc
$arg;
$val = eval "\$CFG_$val";
- $result .= eval qq("$val");
+ $result .= eval qq("$val") if defined $val;
$result .= ";;";
$ok = 1;
}
--
Greg Marr
gregm@alum.wpi.edu
"We thought you were dead."
"I was, but I'm better now." - Sheridan, "The Summoning"
Re: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Fri, 7 Sep 2001, Stas Bekman wrote:
> On Thu, 6 Sep 2001, Ryan Bloom wrote:
>
> > On Thursday 06 September 2001 10:03, Stas Bekman wrote:
> > > On Thu, 6 Sep 2001, Ryan Bloom wrote:
> > > > On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> > > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > > > It fixes the problem I had, thanks - Do not forget to commit it -
> > > > >
> > > > > I don't have commit access to httpd. Ryan will probably commit for me
> > > > > :)
> > > >
> > > > Doug beat me to it. :-)
> > >
> > > it seems weird, but I can see the log from dougm, but apxs.in wasn't
> > > changed in cvs. Do I miss something?
> >
> > It was changed for me. :-?
>
> doh, it's a different patch :) I should have done this in first place.
Hmm, I think it's better to adjust (foo) as early as possible. that's
when the file is read in.
Also the regex that does s/(foo)/{foo}/ is cleaner in case someone was
doing $(foo)_bar with the current patch, this will break, since it makes
$foo_bar, whereas it should be better ${foo}_bar.
Here is a new patch + one more checking:
--- apxs.in.orig Fri Sep 7 01:27:52 2001
+++ apxs.in Fri Sep 7 01:27:56 2001
@@ -245,6 +245,8 @@
open IN, $file or die "cannot open $file: $!";
while (<IN>){
+ # $(foo) => ${foo}
+ s|\$\(([^)]+)\)|\${$1}|g;
if (/^\s*(.*?)\s*=\s*(.*)$/){
$rh_config->{$1} = $2;
}
@@ -261,7 +263,6 @@
my $val = exists $config_vars{$arg}
? $config_vars{$arg}
: $config_vars{lc $arg};
- $val =~ s/[()]//g;
$result .= eval qq("$val");
$result .= ";;";
$ok = 1;
@@ -270,7 +271,7 @@
if (exists $internal_vars{$arg} or exists $internal_vars{lc $arg}) {
my $val = exists $internal_vars{$arg} ? $arg : lc $arg;
$val = eval "\$CFG_$val";
- $result .= eval qq("$val");
+ $result .= eval qq("$val") if defined $val;
$result .= ";;";
$ok = 1;
}
_____________________________________________________________________
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: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, Ryan Bloom wrote:
> On Thursday 06 September 2001 10:03, Stas Bekman wrote:
> > On Thu, 6 Sep 2001, Ryan Bloom wrote:
> > > On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > > It fixes the problem I had, thanks - Do not forget to commit it -
> > > >
> > > > I don't have commit access to httpd. Ryan will probably commit for me
> > > > :)
> > >
> > > Doug beat me to it. :-)
> >
> > it seems weird, but I can see the log from dougm, but apxs.in wasn't
> > changed in cvs. Do I miss something?
>
> It was changed for me. :-?
doh, it's a different patch :) I should have done this in first place.
cvs diff -r 1.26 -r 1.27 apxs.in
Index: apxs.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- apxs.in 2001/08/30 23:18:39 1.26
+++ apxs.in 2001/09/06 15:31:09 1.27
@@ -261,6 +261,7 @@
my $val = exists $config_vars{$arg}
? $config_vars{$arg}
: $config_vars{lc $arg};
+ $val =~ s/[()]//g;
$result .= eval qq("$val");
$result .= ";;";
$ok = 1;
_____________________________________________________________________
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: apxs broken
Posted by Ryan Bloom <rb...@covalent.net>.
On Thursday 06 September 2001 10:03, Stas Bekman wrote:
> On Thu, 6 Sep 2001, Ryan Bloom wrote:
> > On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > It fixes the problem I had, thanks - Do not forget to commit it -
> > >
> > > I don't have commit access to httpd. Ryan will probably commit for me
> > > :)
> >
> > Doug beat me to it. :-)
>
> it seems weird, but I can see the log from dougm, but apxs.in wasn't
> changed in cvs. Do I miss something?
It was changed for me. :-?
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, Ryan Bloom wrote:
> On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > It fixes the problem I had, thanks - Do not forget to commit it -
> >
> > I don't have commit access to httpd. Ryan will probably commit for me :)
>
> Doug beat me to it. :-)
it seems weird, but I can see the log from dougm, but apxs.in wasn't
changed in cvs. Do I miss something?
_____________________________________________________________________
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: apxs broken
Posted by Ryan Bloom <rb...@covalent.net>.
On Thursday 06 September 2001 09:35, Stas Bekman wrote:
> On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > It fixes the problem I had, thanks - Do not forget to commit it -
>
> I don't have commit access to httpd. Ryan will probably commit for me :)
Doug beat me to it. :-)
Ryan
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, jean-frederic clere wrote:
> It fixes the problem I had, thanks - Do not forget to commit it -
I don't have commit access to httpd. Ryan will probably commit for me :)
> Stas Bekman wrote:
> >
> > On Thu, 6 Sep 2001, Ryan Bloom wrote:
> >
> > >
> > > I made the change to the way config_vars is created, and it needs to be
> > > this way for the --with-layout stuff to work correctly. We may be able to
> > > fix that problem, but we have a conflict between shell scripts and perl.
> > >
> > > We need to fix apxs to strip the ( ).
> >
> > Index: support/apxs.in
> > ===================================================================
> > RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
> > retrieving revision 1.26
> > diff -u -r1.26 apxs.in
> > --- support/apxs.in 2001/08/30 23:18:39 1.26
> > +++ support/apxs.in 2001/09/06 15:17:07
> > @@ -245,6 +245,8 @@
> >
> > open IN, $file or die "cannot open $file: $!";
> > while (<IN>){
> > + # $(foo) => ${foo}
> > + s|\$\(([^)]+)\)|\${$1}|g;
> > if (/^\s*(.*?)\s*=\s*(.*)$/){
> > $rh_config->{$1} = $2;
> > }
> >
> > _____________________________________________________________________
> > 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/
>
_____________________________________________________________________
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: apxs broken
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
It fixes the problem I had, thanks - Do not forget to commit it -
Stas Bekman wrote:
>
> On Thu, 6 Sep 2001, Ryan Bloom wrote:
>
> >
> > I made the change to the way config_vars is created, and it needs to be
> > this way for the --with-layout stuff to work correctly. We may be able to
> > fix that problem, but we have a conflict between shell scripts and perl.
> >
> > We need to fix apxs to strip the ( ).
>
> Index: support/apxs.in
> ===================================================================
> RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
> retrieving revision 1.26
> diff -u -r1.26 apxs.in
> --- support/apxs.in 2001/08/30 23:18:39 1.26
> +++ support/apxs.in 2001/09/06 15:17:07
> @@ -245,6 +245,8 @@
>
> open IN, $file or die "cannot open $file: $!";
> while (<IN>){
> + # $(foo) => ${foo}
> + s|\$\(([^)]+)\)|\${$1}|g;
> if (/^\s*(.*?)\s*=\s*(.*)$/){
> $rh_config->{$1} = $2;
> }
>
> _____________________________________________________________________
> 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: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, Ryan Bloom wrote:
>
> I made the change to the way config_vars is created, and it needs to be
> this way for the --with-layout stuff to work correctly. We may be able to
> fix that problem, but we have a conflict between shell scripts and perl.
>
> We need to fix apxs to strip the ( ).
Index: support/apxs.in
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/apxs.in,v
retrieving revision 1.26
diff -u -r1.26 apxs.in
--- support/apxs.in 2001/08/30 23:18:39 1.26
+++ support/apxs.in 2001/09/06 15:17:07
@@ -245,6 +245,8 @@
open IN, $file or die "cannot open $file: $!";
while (<IN>){
+ # $(foo) => ${foo}
+ s|\$\(([^)]+)\)|\${$1}|g;
if (/^\s*(.*?)\s*=\s*(.*)$/){
$rh_config->{$1} = $2;
}
_____________________________________________________________________
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: apxs broken
Posted by Ryan Bloom <rb...@covalent.net>.
I made the change to the way config_vars is created, and it needs to be
this way for the --with-layout stuff to work correctly. We may be able to
fix that problem, but we have a conflict between shell scripts and perl.
We need to fix apxs to strip the ( ).
Ryan
On Thursday 06 September 2001 06:38, Stas Bekman wrote:
> Oh, OK, I see the problem now. I didn't test with the HEAD myself. Now I
> did.
>
> Somebody has committed a patch which changed the way build/config_vars.mk
> is generated. The variables now are Makefile-like $(foo) instead of
> ${foo}, of course this completely breaks apxs.
>
> So the fix is to put back the code that was generating ${foo} and not
> $(foo).
>
> Unless somebody wants it that way ($(foo)) and then apxs needs to be
> adjusted.
>
> On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > The problem is that var contains $(var_name)/blabla instead of
> > $var_name/blabla or ${var_name}/blabla.
> > What should be changed - apxs or acinclude.m4 -?
>
> acinclude.m4 or whoever is responsible for generating
> build/config_vars.mk.
>
> > "Clere, Jean-Frederic" wrote:
> > > Stas Bekman wrote:
> > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > > > Hi,
> > > > >
> > > > > I have noted that apxs is broken:
> > > > > /home/apache20/apache20/bin/apxs -q PREFIX
> > > > > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not
> > > > > executable.
> > > > >
> > > > > Any hints?
> > > >
> > > > what version are you trying to use? Get the HEAD version from cvs
> > > > (1.26), this should work.
> > >
> > > That is already the lastest cvs version. I think the problem is
> > > localizated in get_vars.
> > > what does "$result .= eval qq("$val");" do?
> > >
> > > > _____________________________________________________________________
> > > > 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/
>
> _____________________________________________________________________
> 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/
--
______________________________________________________________
Ryan Bloom rbb@apache.org
Covalent Technologies rbb@covalent.net
--------------------------------------------------------------
Re: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, Stas Bekman wrote:
>
> Oh, OK, I see the problem now. I didn't test with the HEAD myself. Now I
> did.
BTW, this is a quick hack to get you going, in case you don't know what
has to be reverted and cannot move on before somebody fixes it:
perl -pi -e 's|\$\(([^)]+)\)|\${$1}|g' /home/stas/httpd-2.0/build/config_vars.mk
adjust the filepath of course.
> Somebody has committed a patch which changed the way build/config_vars.mk
> is generated. The variables now are Makefile-like $(foo) instead of
> ${foo}, of course this completely breaks apxs.
>
> So the fix is to put back the code that was generating ${foo} and not
> $(foo).
>
> Unless somebody wants it that way ($(foo)) and then apxs needs to be
> adjusted.
>
> On Thu, 6 Sep 2001, jean-frederic clere wrote:
>
> > The problem is that var contains $(var_name)/blabla instead of $var_name/blabla
> > or ${var_name}/blabla.
> > What should be changed - apxs or acinclude.m4 -?
>
> acinclude.m4 or whoever is responsible for generating
> build/config_vars.mk.
>
>
> > "Clere, Jean-Frederic" wrote:
> > >
> > > Stas Bekman wrote:
> > > >
> > > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > I have noted that apxs is broken:
> > > > > /home/apache20/apache20/bin/apxs -q PREFIX
> > > > > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
> > > > >
> > > > > Any hints?
> > > >
> > > > what version are you trying to use? Get the HEAD version from cvs (1.26),
> > > > this should work.
> > >
> > > That is already the lastest cvs version. I think the problem is localizated in
> > > get_vars.
> > > what does "$result .= eval qq("$val");" do?
> > >
> > > >
> > > > _____________________________________________________________________
> > > > 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/
> >
>
>
>
> _____________________________________________________________________
> 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/
>
>
_____________________________________________________________________
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: apxs broken
Posted by Stas Bekman <st...@stason.org>.
Oh, OK, I see the problem now. I didn't test with the HEAD myself. Now I
did.
Somebody has committed a patch which changed the way build/config_vars.mk
is generated. The variables now are Makefile-like $(foo) instead of
${foo}, of course this completely breaks apxs.
So the fix is to put back the code that was generating ${foo} and not
$(foo).
Unless somebody wants it that way ($(foo)) and then apxs needs to be
adjusted.
On Thu, 6 Sep 2001, jean-frederic clere wrote:
> The problem is that var contains $(var_name)/blabla instead of $var_name/blabla
> or ${var_name}/blabla.
> What should be changed - apxs or acinclude.m4 -?
acinclude.m4 or whoever is responsible for generating
build/config_vars.mk.
> "Clere, Jean-Frederic" wrote:
> >
> > Stas Bekman wrote:
> > >
> > > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> > >
> > > > Hi,
> > > >
> > > > I have noted that apxs is broken:
> > > > /home/apache20/apache20/bin/apxs -q PREFIX
> > > > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
> > > >
> > > > Any hints?
> > >
> > > what version are you trying to use? Get the HEAD version from cvs (1.26),
> > > this should work.
> >
> > That is already the lastest cvs version. I think the problem is localizated in
> > get_vars.
> > what does "$result .= eval qq("$val");" do?
> >
> > >
> > > _____________________________________________________________________
> > > 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/
>
_____________________________________________________________________
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: apxs broken
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
The problem is that var contains $(var_name)/blabla instead of $var_name/blabla
or ${var_name}/blabla.
What should be changed - apxs or acinclude.m4 -?
"Clere, Jean-Frederic" wrote:
>
> Stas Bekman wrote:
> >
> > On Thu, 6 Sep 2001, jean-frederic clere wrote:
> >
> > > Hi,
> > >
> > > I have noted that apxs is broken:
> > > /home/apache20/apache20/bin/apxs -q PREFIX
> > > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
> > >
> > > Any hints?
> >
> > what version are you trying to use? Get the HEAD version from cvs (1.26),
> > this should work.
>
> That is already the lastest cvs version. I think the problem is localizated in
> get_vars.
> what does "$result .= eval qq("$val");" do?
>
> >
> > _____________________________________________________________________
> > 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: apxs broken
Posted by jean-frederic clere <jf...@fujitsu-siemens.com>.
Stas Bekman wrote:
>
> On Thu, 6 Sep 2001, jean-frederic clere wrote:
>
> > Hi,
> >
> > I have noted that apxs is broken:
> > /home/apache20/apache20/bin/apxs -q PREFIX
> > apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
> >
> > Any hints?
>
> what version are you trying to use? Get the HEAD version from cvs (1.26),
> this should work.
That is already the lastest cvs version. I think the problem is localizated in
get_vars.
what does "$result .= eval qq("$val");" do?
>
> _____________________________________________________________________
> 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: apxs broken
Posted by Stas Bekman <st...@stason.org>.
On Thu, 6 Sep 2001, jean-frederic clere wrote:
> Hi,
>
> I have noted that apxs is broken:
> /home/apache20/apache20/bin/apxs -q PREFIX
> apxs:Error: 100 100exec_prefix)/bin/httpd not found or not executable.
>
> Any hints?
what version are you trying to use? Get the HEAD version from cvs (1.26),
this should work.
_____________________________________________________________________
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/