Cygwin的chrpath?

时间:2014-04-29 18:41:17

标签: linux cygwin gnu

Cygwin是否有chrpath二进制文件?

我已经尝试过编译它并遇到了这个错误:

./configure
checking build system type... x86_64-unknown-cygwin
checking host system type... x86_64-unknown-cygwin
checking target system type... x86_64-unknown-cygwin
checking for a BSD-compatible install... /usr/bin/install -c
[...]
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating deb/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Configure status:
-----------------
 CC     = gcc
 CFLAGS = -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wcomments -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes
 LDRPATH= -R 

+ make
make  all-recursive
make[1]: Entering directory '/cygdrive/c/jenkins_builder/workspace/GLLO_Sandbox/chrpath-0.16'
Making all in testsuite
make[2]: Entering directory '/cygdrive/c/jenkins_builder/workspace/GLLO_Sandbox/chrpath-0.16/testsuite'
make[2]: *** No rule to make target 'prog.exe', needed by 'all-am'.  Stop.
make[2]: Leaving directory '/cygdrive/c/jenkins_builder/workspace/GLLO_Sandbox/chrpath-0.16/testsuite'
Makefile:487: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/c/jenkins_builder/workspace/GLLO_Sandbox/chrpath-0.16'
Makefile:294: recipe for target 'all' failed
make: *** [all] Error 2

prog.exe错误的来源是什么?你知道我在哪里看吗?

2 个答案:

答案 0 :(得分:0)

我的猜测是,与生成可执行文件的Makefile规则有关,并没有正确考虑到Cygwin在可执行文件末尾需要.exe。

包管理器应该看看autoconf工具以及它们应该如何在Cygwin上工作。

答案 1 :(得分:0)

考虑make -k -jmake -k -j install,因为看来testsuite目录中的目标prog.exe不重要