Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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
like image 486
macmania314 Avatar asked Sep 29 '22 05:09

macmania314


1 Answers

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.

like image 160
macmania314 Avatar answered Oct 05 '22 07:10

macmania314