I use Cygwin in Windows 7 and try to compile a library, Zyre. My ‘configure’ file was generated automatically by autoconf. When I run ./configure from command line for makefile generation, it just says
checking for a BSD-compatible install...
That is it. There is no errors, no complaints, nothing. I waited >1h and also tried to restart a few times.
What can be wrong? What can I do to make it work?
Here is some background information about the platform I use:
which install gives /usr/bin/install.
The file config.log after interruption is:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libzre configure 1.0.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
[..]
install_sh=''
[..]
It took me quite a while to search for the right topic out there in the internet but finally, I found it and also solved the problem. Ptomato and Jack, thanks for the hints!
On the one hand, the
./configuredid not find any BSD-compatible install. On the other hand thewhich installdiscovered an install. With help of this blog about autoconf’s configure.in and this manual about Autoconf my attention was drawn to configure’sinstall_shvariable – which was empty in my case.The solution was to edit the file
configure(which I had generated with autoconf before) in the following way: To the lineI added
which gave then
where
/usr/bin/installis the output of mywhich installcommand. Now, my./configurecommand runs.