2013年5月31日 星期五

Make出現eval:1:libtool_args+=: not found錯誤



Make時出現下面錯誤
eval:1:libtool_args+=: not found
eval:1:compile_command+=:not found
...

因為Ubuntu使用dash作為預設shell,把shell換成bash就可以了。
cd /bin; rm sh; ln –s bash sh
或是
cd /bin; unlink sh; link bash sh

察看目前預設的shell
ls -l /bin/sh
lrwxrwxrwx 1 root root 4  7月  4 15:24 /bin/sh -> dash

沒有留言:

張貼留言