bug#17060: libguile install-data-hook target fails on BSD make

2016-06-21 Thread Andy Wingo
Hi :)

I think we are happy to look at patches to support non-GNU make but
without follow-through from a reporter we aren't going to make efforts
in this direction; too many other things to do :)

If you can track down the issue, please let us know and we'll see what
we can do.  Mark, Ludo, feel free to re-open if you feel like this is
not the right way to go about things.

Cheers,

Andy

On Sat 29 Mar 2014 14:27, l...@gnu.org (Ludovic Courtès) writes:

> Mark H Weaver  skribis:
>
>> The failing target is 'install-data-hook' in libguile/Makefile.am.
>> It prints this on the console: (modulo whitespace)
>>
>>  /usr/bin/install -c -m 644
>>   /usr/local/lib/libguile-2.0.so.29-gdb.scm
>>
>> Notice that the source filename is missing, suggesting that '$<' is the
>> empty string.  It then fails with the following error message:
>>
>>   install: : No such file or directory
>
> AFAIK ‘$<’ is standard make, and it’s used in other places in the file.
> So there must be a subtle syntax variation that BSD make doesn’t
> understand here.
>
> wgl: Could you edit libguile/Makefile.in, remove the 6 comment lines
> starting with “## We want to install”, and then try again ‘make
> install’?
>
> Thanks in advance,
> Ludo’.





bug#17060: libguile install-data-hook target fails on BSD make

2014-03-29 Thread Ludovic Courtès
Mark H Weaver  skribis:

> The failing target is 'install-data-hook' in libguile/Makefile.am.
> It prints this on the console: (modulo whitespace)
>
>  /usr/bin/install -c -m 644
>   /usr/local/lib/libguile-2.0.so.29-gdb.scm
>
> Notice that the source filename is missing, suggesting that '$<' is the
> empty string.  It then fails with the following error message:
>
>   install: : No such file or directory

AFAIK ‘$<’ is standard make, and it’s used in other places in the file.
So there must be a subtle syntax variation that BSD make doesn’t
understand here.

wgl: Could you edit libguile/Makefile.in, remove the 6 comment lines
starting with “## We want to install”, and then try again ‘make
install’?

Thanks in advance,
Ludo’.





bug#17060: libguile install-data-hook target fails on BSD make

2014-03-21 Thread Mark H Weaver
retitle 17060 libguile install-data-hook target fails on BSD make
thanks

w...@ciexinc.com writes:

> The install step for building guile 2.0.11 fails after successful
> compile on amd 64 bit FreeBsd 10.0. The error message is
>
> install: : No such file or directory
> 
> where the item being installed has a blank name.
>
> At the suggestion of mark_weaver on IRC, i tried 'gmake' instead of
> 'make' and the install went through successfully.
>
> The thinking is that there is something non-portable in the make file.

wgl provided more information on IRC, so let me fill in the details.

The failing target is 'install-data-hook' in libguile/Makefile.am.
It prints this on the console: (modulo whitespace)

 /usr/bin/install -c -m 644
  /usr/local/lib/libguile-2.0.so.29-gdb.scm

Notice that the source filename is missing, suggesting that '$<' is the
empty string.  It then fails with the following error message:

  install: : No such file or directory

This is when using BSD 'make' from FreeBSD 10.
When using 'gmake' (GNU Make), it works properly.

  Mark