I tried to export the path and then run the ./configure but it also didn't worked. I find no executable file named as configure in my cygwin bin directory. Does it mean that I have to add configure file manually?How can I correct it? NOTE :- I had also tried sh configure but it also didn't worked
asked Oct 10, 2014 at 12:01 user3048631 user3048631If a software project is set up to be built using autoconf, that tool generates a script canonically called configure . It queries the system for various parameters that are subsequently used in the build, and is specific to the software package to be built. Different software projects have different configure scripts. They are all called configure , but their contents are not the same.
So, to actually build such a software project once that script was set up (usually done by the maintainers when packaging the source tarball for distribution), you call:
tar xzf .gz # or xjf .bz2 or whatever cd # the one you just untarred ./configure make make install
Note the prefix ./ , which means "located in this directory" (i.e. the top directory of that project's source tree).
Actually, the better procedure is the so-called "out-of-tree build", when you set up a different directory for the binaries to be built in, so the source tree remains unmodified:
tar xzf .gz # or xjf .bz2 or whatever mkdir builddir cd builddir ..//configure make make install
So, there is supposed to be no configure executable in your PATH , you are supposed to call the script of that name from the source tree you are trying to build from.