On 2005/07/19 17:21, Joe Schaefer <[EMAIL PROTECTED]> wrote:
> 
> Please test & vote on rc4 for tomorrow's release of:
> 
>   http://people.apache.org/~joes/libapreq2-2.06-dev-rc4.tar.gz

tests run fine on Debian/amd64.

I did a quick test on FreeBSD, without the perl glue. The build fails
with the following message:

Making all in module
Making all in apache2
make: don't know how to make all-local. Stop
*** Error code 1

It turns out that the generated Makefile.in contains:

all-am: Makefile $(LTLIBRARIES) $(HEADERS) all-local
.PHONY: GTAGS all all-am all-local [...]
@[EMAIL PROTECTED]: @APACHE2_HTTPD@

With GNU make, this is no problem:

[EMAIL PROTECTED]:~/src/libapreq2-2.06-dev/module/apache2$ gmake all-local
gmake: Nothing to be done for `all-local'.
[EMAIL PROTECTED]:~/src/libapreq2-2.06-dev/module/apache2$ make all-local
make: don't know how to make all-local. Stop

GNU make seems to accept the implicit target declaration through
".PHONY", BSD make does not. I believe this is an automake bug,
because it incorrectly creates a dependency on "all-local" even when
there is no "all-local" because the condition to generate it was not
met.

I'll try to write a workaround for that later...

Max

Reply via email to