You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Jeff Trawick <tr...@gmail.com> on 2010/09/27 18:59:38 UTC
AIX-ers with a few minutes to test a makefile issue?
https://issues.apache.org/bugzilla/show_bug.cgi?id=45276
The submitter says make install bombs if APU_MODULES is empty, even
after other fixes that made it work on Solaris.
The check in dso.m4 is already committed.
Supposedly the other fix in Makefile.in is required on AIX. (Is this
purely a shell issue?)
./configure --disable-util-dso should be an easy way to get
APU_MODULES empty, if editing Makefile isn't easy enough.
Dunno if this is specific to certain variations of /bin/sh (AIX
versions). Dunno if there's some control over which shell is used by
make. Dunno if it matters whether make or gmake is used.
--
Born in Roswell... married an alien...
Re: AIX-ers with a few minutes to test a makefile issue?
Posted by Jeff Trawick <tr...@gmail.com>.
On Mon, Sep 27, 2010 at 10:16 PM, Eric Covener <co...@gmail.com> wrote:
> On Mon, Sep 27, 2010 at 12:59 PM, Jeff Trawick <tr...@gmail.com> wrote:
>> The submitter says make install bombs if APU_MODULES is empty, even
>> after other fixes that made it work on Solaris.
>
> testing with apr-1.4.x HEAD, an empty APU_MODULES causes that entire
> target to be skipped. If I invoke the specific target
> (install-modules-yes) then it does blow up but I don't think that's an
> issue
>
> configure.in:
> if test -n "$APU_MODULES"; then
> APU_HAVE_MODULES=yes
> else
> APU_HAVE_MODULES=no
> fi
>
> Makefile.in
>
> install-modules: install-modules-@APU_HAVE_MODULES@
>
> install-modules-no:
>
> install-modules-yes: $(APU_MODULES)
> $(APR_MKDIR) $(DESTDIR)$(APU_DSO_LIBDIR)
> @for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS)
> $(LTFLAGS) --mode=install $(INSTALL) -m 755 $$m
> $(DESTDIR)$(APU_DSO_LIBDIR); done
>
>
> Maybe the reporter didn't re-configure and the solaris fix, which
> guards install-modules-yes, is enough?
maybe so; I updated the bug with a request to retry with the next
apr-util or httpd release
thanks!
Re: AIX-ers with a few minutes to test a makefile issue?
Posted by Eric Covener <co...@gmail.com>.
On Mon, Sep 27, 2010 at 12:59 PM, Jeff Trawick <tr...@gmail.com> wrote:
> The submitter says make install bombs if APU_MODULES is empty, even
> after other fixes that made it work on Solaris.
testing with apr-1.4.x HEAD, an empty APU_MODULES causes that entire
target to be skipped. If I invoke the specific target
(install-modules-yes) then it does blow up but I don't think that's an
issue
configure.in:
if test -n "$APU_MODULES"; then
APU_HAVE_MODULES=yes
else
APU_HAVE_MODULES=no
fi
Makefile.in
install-modules: install-modules-@APU_HAVE_MODULES@
install-modules-no:
install-modules-yes: $(APU_MODULES)
$(APR_MKDIR) $(DESTDIR)$(APU_DSO_LIBDIR)
@for m in $(APU_MODULES); do $(LIBTOOL) $(LT_LTFLAGS)
$(LTFLAGS) --mode=install $(INSTALL) -m 755 $$m
$(DESTDIR)$(APU_DSO_LIBDIR); done
Maybe the reporter didn't re-configure and the solaris fix, which
guards install-modules-yes, is enough?
--
Eric Covener
covener@gmail.com