public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* readline in Cygwin64?
@ 2018-12-02 19:36 Fergus
  2018-12-02 20:27 ` Achim Gratz
  2018-12-03  7:05 ` Fergus
  0 siblings, 2 replies; 3+ messages in thread
From: Fergus @ 2018-12-02 19:36 UTC (permalink / raw)
  To: cygwin; +Cc: 'Fergus'

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

/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?
Thank you.
Fergus





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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: readline in Cygwin64?
  2018-12-02 19:36 readline in Cygwin64? Fergus
@ 2018-12-02 20:27 ` Achim Gratz
  2018-12-03  7:05 ` Fergus
  1 sibling, 0 replies; 3+ messages in thread
From: Achim Gratz @ 2018-12-02 20:27 UTC (permalink / raw)
  To: cygwin

Fergus writes:
> 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


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: readline in Cygwin64?
  2018-12-02 19:36 readline in Cygwin64? Fergus
  2018-12-02 20:27 ` Achim Gratz
@ 2018-12-03  7:05 ` Fergus
  1 sibling, 0 replies; 3+ messages in thread
From: Fergus @ 2018-12-03  7:05 UTC (permalink / raw)
  To: cygwin; +Cc: 'Fergus'

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-12-03  7:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-02 19:36 readline in Cygwin64? Fergus
2018-12-02 20:27 ` Achim Gratz
2018-12-03  7:05 ` Fergus

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).