Experimental Physics and Industrial Control System
|
Hi Stefan,
You need to install the ‘readline’ library, see
https://stackoverflow.com/questions/23085076/readline-readline-h-file-not-found
Cheers,
Peter.
From: [email protected] [mailto:[email protected]]
On Behalf Of Stefen Paul
Sent: 12 July 2017 08:12
To: EPICS Tech Talk
Subject: Re: error during build
I installed g++ and moved ahead from this point.
But now the build is stopping with following error:
/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 -g -Wall -DEPICS_COMMANDLINE_LIBRARY=EPICS_COMMANDLINE_LIBRARY_READLINE -m32 -fPIC -MMD -I. -I../O.Common
-I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default -I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd
-I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env -I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh
-I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi -I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/Linux -I../../../include ../../../src/libCom/osi/os/default/epicsReadline.c
../../../src/libCom/osi/os/default/epicsReadline.c:79:31: fatal error: readline/readline.h: No such file or directory
#include <readline/readline.h>
^
compilation terminated.
make[3]: *** [epicsReadline.o] Error 1
make[3]: Leaving directory `/home/opal/epics/base/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/opal/epics/base/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/home/opal/epics/base/src'
make: *** [src.install] Error 2
On Tue, Jul 4, 2017 at 7:10 PM, Mark Rivers <[email protected]> wrote:
Hi Stefen,
It looks like you may need to install the package with g++. What happens if you type these 3 commands:
g++
which g++
/usr/bin/g++
On my Centos 7 system g++ would be installed with the command
sudo yum install gcc-c++
Mark
________________________________
From: [email protected] [[email protected]] on behalf of Stefen Paul [[email protected]]
Sent: Tuesday, July 04, 2017 8:33 AM
To: EPICS Tech Talk
Subject: error during build
Hi All,
I am trying to build EPICS on a fresh and upgraded Linux installation.
When I run the make command, the process is stopping with following error messages towards the end
/usr/bin/g++ -c -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500 -D_X86_ -DUNIX -D_BSD_SOURCE -Dlinux -D_REENTRANT -O3 -g -Wall -m32 -fPIC -MMD -I. -I../O.Common -I. -I../../../src/libCom/osi/os/Linux -I../../../src/libCom/osi/os/posix -I../../../src/libCom/osi/os/default
-I.. -I../../../src/libCom/bucketLib -I../../../src/libCom/ring -I../../../src/libCom/calc -I../../../src/libCom/cvtFast -I../../../src/libCom/cppStd -I../../../src/libCom/cxxTemplates -I../../../src/libCom/dbmf -I../../../src/libCom/ellLib -I../../../src/libCom/env
-I../../../src/libCom/error -I../../../src/libCom/fdmgr -I../../../src/libCom/freeList -I../../../src/libCom/gpHash -I../../../src/libCom/iocsh -I../../../src/libCom/logClient -I../../../src/libCom/macLib -I../../../src/libCom/misc -I../../../src/libCom/osi
-I../../../src/libCom/taskwd -I../../../src/libCom/timer -I../../../src/libCom/tsDefs -I../../../include/os/Linux -I../../../include ../../../src/libCom/ring/epicsRingPointer.cpp
make[3]: /usr/bin/g++: Command not found
make[3]: *** [epicsRingPointer.o] Error 127
make[3]: Leaving directory `/home/opal/epics/base/src/libCom/O.linux-x86'
make[2]: *** [install.linux-x86] Error 2
make[2]: Leaving directory `/home/opal/epics/base/src/libCom'
make[1]: *** [libCom.install] Error 2
make[1]: Leaving directory `/home/opal/epics/base/src'
make: *** [src.install] Error 2
opal@system1:~/epics/base$
Any clues as to whats going wrong ?
Thanks,
Stefen
--
|
- Replies:
- Re: error during build Torsten Bögershausen
- References:
- error during build Stefen Paul
- RE: error during build Mark Rivers
- Re: error during build Stefen Paul
- Navigate by Date:
- Prev:
Re: error during build Stefen Paul
- Next:
Re: error during build Torsten Bögershausen
- 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: error during build Stefen Paul
- Next:
Re: error during build Torsten Bögershausen
- 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
|
ANJ, 21 Dec 2017 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|