delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/11/06/18:00:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=E5n77TFkBotoQ5JeHC8qKipkwmLY2GdwjArAvkuAwpOH9raC0hv/F
69YMwyfg8dQedgcV7FUaw3PRy1a/FOVgGOtXcWGkf+1gDJrPCoi9GVxHe4Bi0dYD
RhRZ4IPJxU/WVZWNdBvffs5qW5q6HydvDwzs4HuahVH8qQGxPKcN3k=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Q8Va0y0TURgGaigy1pVd66dCxL4=; b=qGweFoFYow3QX6hlMUAfXJxSNxMk
ffrXD/hjrP1PXa7rwt3crBOI9svwHGTWJzGekkwrzJqJxFNmxGayjli4Llo01PGh
D5FmFgwhQ1c12Xxl9VXaqR6Cv7W47QjQruDEM/EF+3vvINenC5tDDNZ32jnKA/bG
qGTi+PbzWqd8Ono=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2
X-HELO: mho-02-ewr.mailhop.org
X-Mail-Handler: Dyn Standard SMTP by Dyn
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX1/nl431phZrfjO/S3GPExtK
Date: Wed, 6 Nov 2013 17:59:36 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Building a snapshot ("Not an ELF file" error)
Message-ID: <20131106225936.GC2699@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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>
MIME-Version: 1.0
In-Reply-To: <5F8AAC04F9616747BC4CC0E803D5907D0C40D4DE@MLBXv04.nih.gov>
User-Agent: Mutt/1.5.20 (2009-06-14)

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.

3) ./configure

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
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019