Discussion:
readline in Cygwin64?
Fergus
2018-12-02 19:36:55 UTC
Permalink
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
Achim Gratz
2018-12-02 20:27:03 UTC
Permalink
Post by 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
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.
Post by Fergus
/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
Fergus
2018-12-03 07:05:41 UTC
Permalink
Post by Achim Gratz
Post by 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
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.
Post by Fergus
/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

Loading...