Check framework example giving me error when running './configure'

こ雲淡風輕ζ 提交于 2019-12-06 05:01:26

问题


I'm building the check framework example 'check_money', but it's not building on my machine. The error is:

configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." "./../.."

I've tried installing it using:

libtoolize --force
aclocal
autoheader
automake --force-missing --add-missing
autoconf
./configure

It's still giving me the same error.

So, I copied the same directory to another directory and ran:

autoreconf --install
./configure

And it's still giving me the same error. I don't know what else to try.

I'm on Mac OS X Mavericks (10.9)

  • Autoconf 2.69
  • Automake 1.15
  • Libtool 2.4.6
  • Check 0.9.14

回答1:


I was able to figure out what was causing the errors - it was due to automake and libtools which I installed using brew install. Despite already installing autoconf which installed all the necessary tools I needed.

In addition, I looked at the configure script that autoconf created and I found that the variables wasn't being set-up properly which is why it was giving me the install-sh error because the $ac_dir wasn't assigned.

Here is what I did.

I uninstalled libtools and automake -

brew uninstall libtool automake
autoreconf -i
./configure

It ran with out any errors. I still don't know the reason why installing those 2 packages messed in building the project.



来源:https://stackoverflow.com/questions/29738795/check-framework-example-giving-me-error-when-running-configure

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!