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 ./configure
did not find any BSD-compatible install. On the other hand the which install
discovered an install. With help of this blog about autoconf's configure.in and this manual about Autoconf my attention was drawn to configure's install_sh
variable - 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 line
install_sh
I added
/usr/bin/install -c
which gave then
install_sh = '/usr/bin/install -c'
where /usr/bin/install
is the output of my which install
command. Now, my ./configure
command runs.