delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/12/03/02:05:56

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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=EJD4k8Eejpwug3mBwofi4O9ljVtUfPP0tauUwP0HyzN
AgmeFAnp/aQNXrj3dgF5L1WX29mph7KjvSjHtobcJOq3GwBxsmVOU+lViQN0nN2n
mjXZGem40CdQbB3OoLAhSN0QNS/vY6dlvCB4DVgGzskXGEbIKctkfcvJKluSetgY
=
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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=HSiVmEXuVDNgJt0MrOaDVlT4jJo=; b=oXgFIAHhnmUGPvukO
ccOVDHB++Xs/gzY1sG/KQ6k0TS/i8NcvU8D+naWyQnQL0ZipEEmVeReliPwBgers
w5EPqlTx+evYSXAg6avrVfUWfUftlZ7VoEMMf4KkXgCPL9ejYaamQwCBWpJHXgjz
tz/i6QYFnrKlX/LM2da0XQkF0g=
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-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=H*UA:14.0, H*x:14.0, H*Ad:U*fergus, H*UA:Outlook
X-HELO: know-smtprelay-omc-7.server.virginmedia.net
From: "Fergus" <fergus AT bonhard DOT uklinux DOT net>
To: <cygwin AT cygwin DOT com>
Cc: "'Fergus'" <fergus AT bonhard DOT uklinux DOT net>
References: <000e01d48a76$621a45d0$264ed170$@bonhard.uklinux.net>
In-Reply-To: <000e01d48a76$621a45d0$264ed170$@bonhard.uklinux.net>
Subject: RE: readline in Cygwin64?
Date: Mon, 3 Dec 2018 07:05:41 -0000
Message-ID: <000301d48ad6$9a8021f0$cf8065d0$@bonhard.uklinux.net>
MIME-Version: 1.0

>> Just installed Cygwin64. Beautiful.
>> However, I need to build an executable. In Cygwin32 the build proceeds
>> without exception but in Cygwin64 two error msgs are generated during the
>> attempt:
>> 1)	fatal error: readline/readline.h: No such file or directory
>> 2)	cannot find -lreadline
>> Both platforms Cygwin32(64) are identically bespoke and are constructed
>> using the command
>> setup-x86(_64).exe -P <blah>,readline,<blah>
>> In Cygwin32 this results in the creation of all 3 files
>> /usr/include/readline/readline.h
>> /usr/lib/libreadline.a

> Cygwin32 has an obsoletion package for "readline" that pulls in the
> development headers as the old package had everything bundled.  On
> Cygwin64 that readline package never existed, so you'll need
> libreadline-devel.

>> /usr/lib/libreadline.dll.a
>> but none of these are created in Cygwin64. This is what breaks the build
of
>> the executable required.
>> (Possibly it is another element of <blah> that has this consequence for
>> Cygwin32, but whatever the trigger there is the same lack in Cygwin64.)
>> Can these necessary components be recovered in Cygwin64 by some amendment
to
>> the "setup -P .. .." instruction?

> cygcheck -p libreadline.dll.a

Just brilliant. Solved all.
Thank you.


--
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