+ -
当前位置:首页 → 问答吧 → 编译bison-2.5时遇到问题

编译bison-2.5时遇到问题

时间:2011-08-11

来源:互联网

../build-aux/install-sh -c -d sys
../build-aux/install-sh: not found

make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.

这是出错提示,请教是什么原因,要怎么解决?

作者: The_Only_Name_2   发布时间: 2011-08-11

../build-aux/install-sh: not found
错误一点也不明显

作者: axengine   发布时间: 2011-08-11

引用 1 楼 axengine 的回复:
../build-aux/install-sh: not found
错误一点也不明显


说是build-aux/install-sh没找到,但是在bison-2.5文件夹下是也有这个东西的,我想是不是路径不对,但是路径都是configure文件自动配的啊,在makefile里面,又没有说要怎么搞,我真有点晕了

作者: The_Only_Name_2   发布时间: 2011-08-11

看makefile里路径是否一致

作者: axengine   发布时间: 2011-08-11

引用 3 楼 axengine 的回复:
看makefile里路径是否一致


检查过了,路径都是对的,../build-aux/install-sh: not found
这里的..应该不是指上层路径吧,我在makefile里找遍了都没发现用到build-aux的地方有上层路径

作者: The_Only_Name_2   发布时间: 2011-08-11

设置install-sh与makefile相对路径
../build-aux/install-sh
makefile的上层是build-aux  
要不就写绝对路径吧

作者: axengine   发布时间: 2011-08-11

引用 5 楼 axengine 的回复:
设置install-sh与makefile相对路径
../build-aux/install-sh
makefile的上层是build-aux
要不就写绝对路径吧

我试着把/build-aux文件夹拷贝到makefile的上层,也没用,一样的错,如果是路径问题的话,应该是可以找到这个文件,报别的错误。

作者: The_Only_Name_2   发布时间: 2011-08-11