This is the mail archive of the
mailing list for the Cygwin project.
Re: Building a snapshot ("Not an ELF file" error)
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 6 Nov 2013 17:59:36 -0500
- Subject: Re: Building a snapshot ("Not an ELF file" error)
- Authentication-results: sourceware.org; auth=none
- References: <5F8AAC04F9616747BC4CC0E803D5907D0C40C8EC at MLBXv04 dot nih dot gov> <5F8AAC04F9616747BC4CC0E803D5907D0C40C985 at MLBXv04 dot nih dot gov> <5F8AAC04F9616747BC4CC0E803D5907D0C40CF9B at MLBXv04 dot nih dot gov> <527A449D dot 2070701 at shaddybaddah dot name> <20131106134727 dot GD2611 at calimero dot vinschen dot de> <5F8AAC04F9616747BC4CC0E803D5907D0C40D3F0 at MLBXv04 dot nih dot gov> <527A5A68 dot 8050206 at cygwin dot com> <5F8AAC04F9616747BC4CC0E803D5907D0C40D4DE at MLBXv04 dot nih dot gov>
- Reply-to: cygwin at cygwin dot com
On Wed, Nov 06, 2013 at 03:20:55PM +0000, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote:
>> See the FAQ: <http://cygwin.com/faq.html#faq.programming.building-cygwin>
>I see, thanks Larry! There's a Readme file at the top level of
>the snapshot tar ball, which I glanced at, and saw the usual
>"./configure; make" sequence even though now when I looked more
>closely, the file is just something generic to GNU, not particularly
>to CYGWIN. Not sure what it is doing there -- but certainly not helping
>(esp. for the first-timers)...
I'm not sure how you translate not building in the source directory to
"the configure file is not supposed to be used".
The configure script isn't generic. It's intended for building Cygwin.
Once again: YOU ARE NOT SUPPOSED TO BUILD IN THE SOURCE DIRECTORY.
That means you don't do this:
1) Unpack tarball.
2) cd to unpacked directory.
You need to create a separate build directory and run configure there.
This is standard GNU stuff. Nothing Cygwin specific here.
If this is still confusing then you probably shouldn't be attempting to
build from source at all.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple