Janet,
I am trying to use the readline library on cygwin-x86 with EPICS 3.14.7.
It looks to me like there are 2 problems in the configure/os directory.
1) CONFIG.Common.cygwin-x86 contains the line:
LDLIBS_READLINE = -lcygreadline5 -lcygcurses7
But recent versions of readline on cygwin don't have a library called cygreadline5, or cygcurses7, they just have a libraries called readline and curses.
$ ls -l /usr/lib/*readline* /usr/lib/*curses*
lrwxrwxrwx 1 epics mkgroup-l-d 12 Oct 12 17:40 /usr/lib/libcurses.a -> libncurses.a
lrwxrwxrwx 1 epics mkgroup-l-d 16 Oct 12 17:40 /usr/lib/libcurses.dll.a -> libncurses.dll.a
-rwxr-x---+ 1 epics mkgroup-l-d 540990 Sep 28 21:16 /usr/lib/libncurses++.a
-rwxr-x---+ 1 epics mkgroup-l-d 171170 Sep 28 21:16 /usr/lib/libncurses++.dll.a
-rwxr-x---+ 1 epics mkgroup-l-d 887 Sep 28 21:16 /usr/lib/libncurses++.la
-rwxr-x---+ 1 epics mkgroup-l-d 396098 Sep 28 21:14 /usr/lib/libncurses.a
-rwxr-x---+ 1 epics mkgroup-l-d 280186 Sep 28 21:14 /usr/lib/libncurses.dll.a
-rwxr-x---+ 1 epics mkgroup-l-d 793 Sep 28 21:16 /usr/lib/libncurses.la
-rwxr-x---+ 1 epics mkgroup-l-d 264080 Jul 28 22:58 /usr/lib/libreadline.a
-rwxr-x---+ 1 epics mkgroup-l-d 345644 Jul 28 22:58 /usr/lib/libreadline.dll.a
2) There is no definition of COMMANDLINE_LIBRARY, commented or uncommented, in any of the CONFIG files for cygwin-x86.
I fixed both of these problems by creating a new file CONFIG.Common.cygwin-x86 that contains the lines:
COMMANDLINE_LIBRARY = READLINE
LDLIBS_READLINE = -lreadline -lcurses
Once I do that, applications I build have command line editing.
Is this the correct thing to do?
Thanks,
Mark
- Navigate by Date:
- Prev:
Accessing ControlLogix PLC program tags with EtherIP Mike Forster
- Next:
Soft motor won't compile with GNU g++ 3.4 and beyond Denison, PN (Peter)
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Accessing ControlLogix PLC program tags with EtherIP Kay-Uwe Kasemir
- Next:
Soft motor won't compile with GNU g++ 3.4 and beyond Denison, PN (Peter)
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
<2005>
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|