Loading ...
Sorry, an error occurred while loading the content.

3020Configure requires bash

Expand Messages
  • tj_yang2001
    Jan 1, 2005
      Looks like the nobody ever try to run "make crosstool" natively
      on nslu2 but only on Linux. the build script is depended "sh"
      on being a "bash" which is not true on nslu2(ash).

      + test -f .config
      + yes
      + make ARCH=arm oldconfig
      make[1]: Entering directory
      Making asm-arm/arch -> asm-arm/arch-integrator symlink
      Making asm-arm/proc -> asm-arm/proc-armv symlink
      rm -f include/asm
      ( cd include ; ln -sf asm-arm asm)
      sh scripts/Configure -d arch/arm/config.in
      Configure requires bash
      make[1]: *** [oldconfig] Error 1
      make[1]: Leaving directory
      make: ***
      Error 2
      bash-2.05b$ ls -l /opt/bin/bash
      -rwxr-xr-x 1 root root 621040 Dec 26 09:57 /opt/bin/bash
      bash-2.05b$ echo $PATH
      -bash-2.05b$ ls -l /bin/sh
      lrwxrwxrwx 1 root root 7 Dec 31 1969 /bin/sh -> busybox
      -bash-2.05b$ sh -V

      BusyBox v0.60.4 (2004.07.01-03:05+0000) Built-in shell (ash)
      Enter 'help' for a list of built-in commands.


      bash-2.05b$ uname -a
      Linux LKG7BFE96 2.4.22-xfs #1 Sun Dec 26 17:43:24 CST 2004 armv5b
      unknown unknown GNU/Linux