Experimental Physics and Industrial Control System
Hi all,
I have once again a (stupid/nasty?) question concerning the usage of
libcurses vs. libncurses
In configure/os/CONFIG.Common.linuxCommon of base-3.14.10 we see the line:
LDLIBS_READLINE = -lreadline -lcurses
Knowing that I could redefine it with an additional, local,
site-specific CONFIG.... file
I still have the basic question why it is still "old" curses library
libcurses, given the fact (AFAIK) nowadays (new=n) libncurses is used.
(q.v. Wikipedia:
http://en.wikipedia.org/w/index.php?title=Curses_(programming_library)&oldid=242733108
: "While development of ncurses <http://en.wikipedia.org/wiki/Ncurses>
and *PDCurses* continues, UNIX <http://en.wikipedia.org/wiki/UNIX>
curses development appears to have halted in the mid-1990s when X/Open
Curses was defined"
Couldn't this line be changed to libncurses, are there any reasons
against it?
(BTW: Typically libcurses is pointing in many systems by a symbolic link
to libncurses)
Just for completeness
(I already solved it by changing the above line, or putting a link, or
creating an additional CONFIG file):
I am using an unmodified OpenSuse 10.2 installation
and received during make of base, the following error
make -C ./libCom install
make[2]: Entering directory `<HOME>/EPICS-3.14.10/base-3.14.10/src/libCom'
make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
make[3]: Entering directory `<HOME>/EPICS-3.14.10/base-3.14.10/src/libCom/O.linux-x86'
/usr/bin/g++ -o libCom.so.3.14 -shared -fPIC -m32 bucketLib.o epicsRingPointer.o epicsRingBytes.o postfix.o calcPerform.o cvtFast.o resourceLib.o epicsOnce.o epicsSingletonMutex.o dbmf.oellLib.o envSubr.o envData.o errlog.o errSymLib.o errSymTbl.o fdmgr.o fdManager.o freeListLib.o gpHashLib.o iocsh.o registry.o libComRegister.o iocLog.o logClient.o macCore.o macEnv.o macUtil.o aToIPAddr.o adjustment.o cantProceed.o epicsConvert.o epicsExit.o epicsStdlib.o epicsString.o truncateFile.o ipAddrToAsciiAsynchronous.o epicsUnitTest.o epicsThread.o epicsMutex.o epicsEvent.o epicsTime.o epicsMessageQueue.o epicsGeneralTime.o osiClockTime.o osdSock.o osdSockAddrReuse.o osiSock.o systemCallIntMech.o epicsSocketConvertErrnoToString.o osdAssert.o osdFindSymbol.o osdInterrupt.o osdPoolStatus.o osdSignal.o osdEnv.o epicsReadline.o epicsTempFile.o epicsStdio.o osdStdio.o osdThread.o osdMutex.o osdEvent.o osdTime.o osdProcess.o osdNetIntf.o osdMessageQueue.o devLib.o devLibOSD.o taskwd.o e!
picsTimer.o timer.o timerQueue.o timerQueueActive.o timerQueueActiveMgr.o timerQueuePassive.o tsDefs.o -lpthread -lreadline -lcurses -lm -lrt -lgcc
/usr/lib/gcc/i586-suse-linux/4.1.2/../../../../i586-suse-linux/bin/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make[3]: *** [libCom.so.3.14] Error 1
make[3]: Leaving directory `<HOME>/EPICS-3.14.10/base-3.14.10/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `<HOME>/EPICS-3.14.10/base-3.14.10/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `<HOME>/EPICS-3.14.10/base-3.14.10/src'
make: *** [src.install] Error 2
Best regards,
Peter
--
Dr. rer. nat. Peter W. Zumbruch
EE - department / Controls group / GSI
E-Mail: P.Zumbruch_at_gsi.de
Tel: +49-(6159)-71-1435 / Fax: +49-(6159)-71-2986
Gesellschaft für Schwerionenforschung mbH
Planckstraße 1 / D-64291 Darmstadt / www.gsi.de
Gesellschaft mit beschränkter Haftung
Sitz der Gesellschaft: Darmstadt
Handelsregister: Amtsgericht Darmstadt, HRB 1528
Geschäftsführer: Professor Dr. Horst Stöcker
Vorsitzende des Aufsichtsrates: Dr. Beatrix Vierkorn-Rudolph,
Stellvertreter: Ministerialdirigent Dr. Rolf Bernhardt
- Replies:
- Re: base-3.14.10: libcurses vs. libncurses Andrew Johnson
- Navigate by Date:
- Prev:
Re: GPIB - asyn - streamdevice Dirk Zimoch
- Next:
IOC to use time from its own processor Dehong Zhang
- 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:
Job opening Liyu, Andrei V
- Next:
Re: base-3.14.10: libcurses vs. libncurses Andrew Johnson
- 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