delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/27/02:05:57

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 77EC93850408
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1595829911;
bh=1WYzlCr0/lgZG/oKncn0MsFqOvQs3njgwuz52puiLuU=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=oRDBtdbBWPkZI+QRSHqbgumXmjeRLc/DSI9exhzYABFPZE/vyntIhfyx1NGXi8O+8
LYi4vtZlnu27Vjl2xnjXa/ONb/aQ7IeJH+CH70BTXQM+5CEWS9R78GjKTMEjWfE16L
ZbOWrzlqcy6ySHrzAxfGzOfFn9Tl8HYGeXJEg63o=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org AE2183858D35
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=ZAQFgIJ8TagYkFcYiujRBo2mTH222++Cyz+7rdfpcAw=;
b=ch4Omh7gUyr+LALeaUi//awD0RGlkMjCKo6eG1prITsUoUUE9nGw4ZiySI0GcL1DPA
noYCx/VKx1FHvD2qLDqAPgxPfCMRryA0kaurUoDXAncTRvbY12vXwp+/cL4/Ry2EsVbU
rcUYAWzcJD1cgXy9kWfILhxRJcW2aAMWRksLg/vaxfwvZoDMcxfxGnQw9yXqoj4l2q7b
rTTcmYuqkRvxkNIuemfMKZ+0277uUyonWOzGqEFabji0NOfUwhbqdCTV2HqfvmuobA1Y
6WUB2HNyqKOi+QoFdWBaBSRFtcVg/tVLjb/3TISsT/I7yHaOvcyfEqLtKC6JdFLBeVlI
IwYw==
X-Gm-Message-State: AOAM5320Q42XTaWqPUfh6Ydmnz28IfnIlllnCANT1eUS/adrsZrDLp73
+SXBi2T5XPRTORRkinKbPLVaK3AEZQk=
X-Google-Smtp-Source: ABdhPJwz/n9v6gZWUsvnRK/64i6tRV9CQx+jD+w+kNMbZ+AJaBXTLEBO4P5V3WR2YxIRoW1ohG8Fyw==
X-Received: by 2002:a50:e1c5:: with SMTP id m5mr18957033edl.138.1595829907558;
Sun, 26 Jul 2020 23:05:07 -0700 (PDT)
Subject: Re: Needing readline to build a local 64-bit exec
To: cygwin AT cygwin DOT com
References: <AM6PR03MB3608D7496435C0738FFA91A3A4720 AT AM6PR03MB3608 DOT eurprd03 DOT prod DOT outlook DOT com>
Message-ID: <c111da47-d1c5-38b6-7793-c217b31cd7fd@gmail.com>
Date: Mon, 27 Jul 2020 08:05:05 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.10.0
MIME-Version: 1.0
In-Reply-To: <AM6PR03MB3608D7496435C0738FFA91A3A4720@AM6PR03MB3608.eurprd03.prod.outlook.com>
X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 27.07.2020 07:47, Fergus Daly via Cygwin wrote:
> Of more than 640 *.c files incorporated into a locally-built executable, exactly one contains many references
> to readline, such as "#include <readline/readline.h>". The 32-bit build proceeds impeccably to completion:
> there is a subdirectory x86/release/readline in the Cygwin resource and a paragraph for @ readline in the file
> x86/setup.ini, albeit with "obsolete" qualifiers.
> However the 64-bit build fails at the compilation of the file containing the reference to readline: various *.h
> not found. There is a subdirectory x86_64/release/readline in the resource but it contains only subdirectories,
> not the root readline-7.*.tar.xz files. The file x86_64/setup.ini contains no paragraph for @ readline.
> I do not fully understand the interpretation or consequences of obsoletion, but this changed provision relating
> to readline is the key difference between x86/ and x86_64/.
> I tried supplementing the resource under x86_64/release/readline with the "missing" *.tar.xz files and editing x86_64/setup.ini to include the paragraph for @ readline, but this broke setup.ini.sig.
> (I use a constantly updated mirror on a local drive. It takes 62G but it's worth it.)
> It is clear (well, given my limited understanding of the handling of obsoleted files) that in some way the
> provision under x86/release/readline and its referencing in x86/setup.ini remains critical to the successful build
> of the 32-bit executable, and the lack of provision under x86_64/release/readline and omission from
> x86_64/setup.ini is critical to the failed build. It seems to be located, picked up and used, despite its obsolete
> status?
> Can it be recovered into the x86_64 provision?
> Or can somebody who understands it better please explain the discrepancy in x86 and x86_64 provision
> that triggers the contrasting success and failure for 32-bit and 64-bit version build attempts. And, even better,
> how to achieve 64-bit success?
> Thank you!
> --

have you tried installing libreadline-devel ?
It includes the header you are looking for

$ cygcheck -p usr/include/readline/readline.h
Found 3 matches for usr/include/readline/readline.h
libreadline-devel-7.0.1-1 - libreadline-devel: GNU readline and history 
librarie
s (development) (installed binaries and support files)
libreadline-devel-7.0.1-2 - libreadline-devel: GNU readline and history 
librarie
s (development)
libreadline-devel-7.0.3-3 - libreadline-devel: GNU readline and history 
librarie
s (development)

Regards
MArco
--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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