EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: epics 3.14.12 and readline 5.1
From: Matt Rippa <[email protected]>
To: Eric Norum <[email protected]>
Cc: EPICS Tech Talk <[email protected]>
Date: Wed, 2 Feb 2011 10:22:45 -1000
Yes, in my case it should be "read*next*line". ;)

This works. Thanks.

On 02/02/2011 09:57 AM, Eric Norum wrote:
> You need to link agains the ncurses library too.
> 
> In CONFIG_SITE.Common.linux-x86 (or CONFIG_SITE.Common.linux-x86_64 as appropriate) uncomment the line that gets NCURSES:
> 
> ...
> # No other libraries needed (recent Fedora, Ubuntu etc.):
> #COMMANDLINE_LIBRARY = READLINE
> 
> # Needs -lncurses (RHEL 5 etc.):
> COMMANDLINE_LIBRARY = READLINE_NCURSES
> 
> # Needs -lcurses (older versions)
> #COMMANDLINE_LIBRARY = READLINE_CURSES
> .
> .
> 
> 
> On Feb 2, 2011, at 11:48 AM, Matt Rippa wrote:
> 
>> Hi Folks,
>>
>> Sorry if this has come up before. I couldn't find anything
>> searching tech-talk. I'm trying to build epics-base 3.14.12 on
>> RHEL5. The build fails when I enable
>> COMMANDLINE_LIBRARY=READLINE in
>> configure/os/CONFIG_SITE.Common.linux-x86.  The build works fine
>> when I comment this line out.
>>
>> $ rpm -q readline
>> readline-5.1-3.el5
>>
>> $ rpm -q readline-devel
>> readline-devel-5.1-3.el5
>>
>> $ uname 
>> Linux hbfcon03.hi.gemini.edu 2.6.18-194.el5PAE #1 SMP Tue Mar 16
>> 22:00:21 EDT 2010 i686 i686 i386 GNU/Linux
>>
>> FWIW, this compiles with readline just fine on my f13 laptop: ($
>> rpm -q readline readline-6.1-2.fc13.i686).
>>
>> Thanks,
>> --
>> Matt Rippa
>>
>> ...
>> /usr/bin/gcc -c  -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS
>> -D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE
>> -Dlinux  -D_REENTRANT   -O3   -Wall      -m32     -g  -MMD -I.
>> -I../O.Common -I. -I.. -I../../../../include/os/Linux
>> -I../../../../include        ../warshall.c
>> /usr/bin/g++ -o antelope
>> -L/export/home/software/base-3.14.12-new/lib/linux-x86
>> -Wl,-rpath,/export/home/software/base-3.14.12-new/lib/linux-x86
>>      -m32                closure.o error.o lalr.o lr0.o main.o
>> mkpar.o output.o reader.o skeleton.o symtab.o verbose.o
>> warshall.o   -lCom
>> /usr/lib/libreadline.so.5: undefined reference to `PC'
>> /usr/lib/libreadline.so.5: undefined reference to `tgetflag'
>> /usr/lib/libreadline.so.5: undefined reference to `tgetent'
>> /usr/lib/libreadline.so.5: undefined reference to `UP'
>> /usr/lib/libreadline.so.5: undefined reference to `tputs'
>> /usr/lib/libreadline.so.5: undefined reference to `tgoto'
>> /usr/lib/libreadline.so.5: undefined reference to `tgetnum'
>> /usr/lib/libreadline.so.5: undefined reference to `BC'
>> /usr/lib/libreadline.so.5: undefined reference to `tgetstr'
>> collect2: ld returned 1 exit status
>> make[4]: *** [antelope] Error 1
>> make[4]: Leaving directory
>> `/export/home/software/base-3.14.12-new/src/toolsComm/antelope/O.linux-x86'
>> make[3]: *** [install.linux-x86] Error 2
>> make[3]: Leaving directory
>> `/export/home/software/base-3.14.12-new/src/toolsComm/antelope'
>> make[2]: *** [antelope.install] Error 2
>> make[2]: Leaving directory
>> `/export/home/software/base-3.14.12-new/src/toolsComm'
>> make[1]: *** [toolsComm.install] Error 2
>> make[1]: Leaving directory
>> `/export/home/software/base-3.14.12-new/src'
>> make: *** [src.install] Error 2
>>
> 


References:
epics 3.14.12 and readline 5.1 Matt Rippa
Re: epics 3.14.12 and readline 5.1 Eric Norum

Navigate by Date:
Prev: Re: epics 3.14.12 and readline 5.1 Eric Norum
Next: Re: StreamDevice/ASYN connection to a Telnet port Maren Purves
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: epics 3.14.12 and readline 5.1 Eric Norum
Next: calc doesn't appear to be working with MEDM for string expressions (Win32 Extension Version 1.40) Jay Steele
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·