[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNU Prolog: configure: error: cannot run /bin/sh ./config.sub

From: Andreas Enge
Subject: Re: GNU Prolog: configure: error: cannot run /bin/sh ./config.sub
Date: Wed, 30 Jan 2013 22:16:27 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

Am Mittwoch, 30. Januar 2013 schrieb Nikita Karetnikov:

> The attached recipe fails with the following error:


> patch-shebang: ./src/config.sub: changing `/bin/sh' to

> `/nix/store/4mg8b8vvmava68y64qmm70gqfnhhjzmx-bash-4.2/bin/sh'


> [...]


> configure: error: cannot run /bin/sh ./config.sub


My suspicion is that the patch-shebang in src/config.sub does not solve the problem, but that in some Makefile, there is an explicit call "/bin/sh ./config.sub". Maybe you can do a "grep" on the Makefiles to verify.


If this is the problem, you need to pach them out "manually" in your build recipe (maybe from Makefile after, or Makefile.am before configuring), see, for instance, icu4c.scm.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]