[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ttylinux:90] Re: build system failure (first try)
Jeff Pohlmeyer wrote:
> On Mon, May 2, 2011 at 11:13 PM, Douglas Jerome wrote:
>> Yes, the problem is that bash is not the shell interpreting
>> the ttylinux build scripts, but it needs to be.
>> Install bash.
> If i'm not mistaken, bash is already installed on Ubuntu, the difference
> is that /bin/sh is a symlink to dash, not bash as it is on most other
> distros. It's possible that re-installing bash might change that symlink
> but that really isn't the proper fix. Ubuntu depends on dash being the
> default /bin/sh to help speed up its ultra-bloated boot process.
> Changing the symlink to bash will slow down the boot up but is probably
> harmless otherwise. But scripts that depend on bash-specific functions
> should really specify #!/bin/bash and not #!/bin/sh.
> - Jeff
Oops, if that's the case then it is a problem with Makefile
because all the ttylinux build scripts have #!/bin/bash
The Makefile has ". ./ttylinux-config.sh" and that probably
depends upon the SHELL variable in the make environment, which
is not set and therefore must be /bin/sh
Make the ttylinux-src-mp8/Makefile file be writeable with
"chmod 644 Makefile", and at line 72 in ttylinux-src-mp8/Makefile
add another new line "SHELL=/bin/bash" so Makefile looks like:
# -- Single-Package Target