首页 > 其他分享 >configure: line 481: sed: command not found

configure: line 481: sed: command not found

时间:2023-08-08 12:36:51浏览次数:29  
标签:configure sed command found line 481

执行 configure 时,提示各种命令都没有找到

一、执行

./configure CFLAGS=-D_GNU_SOURCE

二、错误提示

./configure CFLAGS=-D_GNU_SOURCE
./configure: line 481: sed: command not found
./configure: line 480: expr: command not found
./configure: line 481: sed: command not found
./configure: line 495: sed: command not found
: error: cannot create .lineno; rerun with a POSIX shell

三、解决方法:

是否添加新路径时,把原有路径值给覆盖了。

echo $PATH

如果里面只有你新添加的路径,那就不对了。
再新开个 终端 窗口,执行 echo $PATH 看看输出结果。
复制过来。重新添加回去。




参考:



标签:configure,sed,command,found,line,481
From: https://www.cnblogs.com/wutou/p/17613845.html

相关文章