* bug#14201: guile build issue under Mac OS X
@ 2013-04-13 14:16 Marius Schamschula
2013-04-14 13:52 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Marius Schamschula @ 2013-04-13 14:16 UTC (permalink / raw)
To: 14201
Hi there,
I just tried building guile 2.0.9 under three versions of Mac OS X (10.6.8, 10.7.5 and 10.8.3). In all cases I get the following error:
<snip>
Making all in lib
make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
make[2]: ../build-aux/install-sh: Command not found
make[2]: *** [arpa/inet.h] Error 127
make[2]: Leaving directory `/private/tmp/guile-2.0.9/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/tmp/guile-2.0.9'
make: *** [all] Error 2
</snip>
Notes:
* the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.
* /usr/include/arpa/inet.h is also available, so no CPPFLAGS should be needed
Any ideas?
--
Marius Schamschula
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#14201: guile build issue under Mac OS X
2013-04-13 14:16 bug#14201: guile build issue under Mac OS X Marius Schamschula
@ 2013-04-14 13:52 ` Ludovic Courtès
2013-04-14 14:01 ` Marius Schamschula
2013-04-14 22:11 ` Ludovic Courtès
0 siblings, 2 replies; 5+ messages in thread
From: Ludovic Courtès @ 2013-04-14 13:52 UTC (permalink / raw)
To: Marius Schamschula; +Cc: 14201
Hi Marius,
Marius Schamschula <mschamschula@gmail.com> skribis:
> make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
> make[2]: ../build-aux/install-sh: Command not found
[...]
> * the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.
It appears that I made a mistake when building the tarball. Can you
change the first line of build-aux/install-sh to #!/bin/sh and try
again?
(For some reason that line in the tarball would refer to a local file
name instead of /bin/sh. I’ll investigate to see how it ended up here.)
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#14201: guile build issue under Mac OS X
2013-04-14 13:52 ` Ludovic Courtès
@ 2013-04-14 14:01 ` Marius Schamschula
2013-04-14 14:25 ` Ludovic Courtès
2013-04-14 22:11 ` Ludovic Courtès
1 sibling, 1 reply; 5+ messages in thread
From: Marius Schamschula @ 2013-04-14 14:01 UTC (permalink / raw)
To: Ludovic Courtès
Ludovic,
Good catch!
I didn't look at #!
On Apr 14, 2013, at 8:52 AM, ludo@gnu.org (Ludovic Courtès) wrote:
> Hi Marius,
>
> Marius Schamschula <mschamschula@gmail.com> skribis:
>
>> make[2]: Entering directory `/private/tmp/guile-2.0.9/lib'
>> make[2]: ../build-aux/install-sh: Command not found
>
> [...]
>
>> * the tile /private/tmp/guile-2.0.9/build-aux/install-sh does exist and is executable.
>
> It appears that I made a mistake when building the tarball. Can you
> change the first line of build-aux/install-sh to #!/bin/sh and try
> again?
>
> (For some reason that line in the tarball would refer to a local file
> name instead of /bin/sh. I’ll investigate to see how it ended up here.)
>
> Ludo’.
--
Marius Schamschula
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#14201: guile build issue under Mac OS X
2013-04-14 14:01 ` Marius Schamschula
@ 2013-04-14 14:25 ` Ludovic Courtès
0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2013-04-14 14:25 UTC (permalink / raw)
To: Marius Schamschula; +Cc: 14201-close
Marius Schamschula <mschamschula@gmail.com> skribis:
> Good catch!
>
> I didn't look at #!
Thanks, and sorry for the inconvenience!
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#14201: guile build issue under Mac OS X
2013-04-14 13:52 ` Ludovic Courtès
2013-04-14 14:01 ` Marius Schamschula
@ 2013-04-14 22:11 ` Ludovic Courtès
1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2013-04-14 22:11 UTC (permalink / raw)
To: 14201; +Cc: Marius Schamschula
ludo@gnu.org (Ludovic Courtès) skribis:
> (For some reason that line in the tarball would refer to a local file
> name instead of /bin/sh. I’ll investigate to see how it ended up here.)
For the record, the problem is that the scripts installed by
‘automake -a’, with Automake from Guix, would contain “patched” shebangs
referring to files under /nix/store:
http://lists.gnu.org/archive/html/bug-guix/2013-04/msg00076.html
This is a serious issue that I’ve fixed now.
The Guile 2.0.9 tarball has several scripts in build-aux/ with invalid
shebangs. “Fortunately”, apart from ‘install-sh’, they are normally
invoked as “$SHELL ./the-file”, so the shebang isn’t actually used.
Please accept my apologies...
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-14 22:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13 14:16 bug#14201: guile build issue under Mac OS X Marius Schamschula
2013-04-14 13:52 ` Ludovic Courtès
2013-04-14 14:01 ` Marius Schamschula
2013-04-14 14:25 ` Ludovic Courtès
2013-04-14 22:11 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).