在看busybox 文档时,发现
./configure 执行后:
127|root@pisces:/data/gcc/libmpq # sh ./configure
sh ./configure
./configure[78]: sed: not found
Bad mode
./configure[187]: sed: not found
./configure[187]: sed: not found
: error: cannot create .lineno; rerun with a POSIX shell
不是标准shell
经过多次尝试,发现
Shells --->
去掉 :
POSIX math support
选择这两个:
Choose which shell is aliased to 'sh' name (ash) --->
msh (deprecated: aliased to hush)
ln -s busybox sh
就可以用来./configure
运行shell 脚本了。
。