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

Configure requires bash

Expand Messages
  • tj_yang2001
    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
    Message 1 of 1 , Jan 1, 2005
    • 0 Attachment
      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).

      tj
      <snip>
      + test -f .config
      + yes
      + make ARCH=arm oldconfig
      make[1]: Entering directory
      `/share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.4-glibc-2.2.5/linux-2.4.22'
      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
      `/share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/build/armv5b-softfloat-linux/gcc-3.3.4-glibc-2.2.5/linux-2.4.22'
      make: ***
      [/share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built]
      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
      /opt/bin:/opt/sbin:/opt/TWWfsw123/sbutils12/bin:/opt/bin:/opt/sbin:/bin:/usr/bin:/share/hdd/data/tools/gcc/bin:/share/hdd/data/tools/gcc/bin
      -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
      bash-2.05b$
    Your message has been successfully submitted and would be delivered to recipients shortly.