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  2011  2012  2013  2014  <20152016  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  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Re: Problem building epics base under CentOS 5.6
From: "GONG Yu" <[email protected]>
To: "EPICS tech-talk" <[email protected]>
Date: Tue, 27 Jan 2015 23:24:54 +0800 (GMT+08:00)
Dear Andrew Johnson,
     Thank you very much!
     On my linux of CentOS 5.6, gcc and g++ is not pre-installed.  
     Before reading your letters, I re-installed the gcc, and g++. 
     After I re-installed the gcc, and g++ using rpm resources (there are some difficulties for my linux to connect to internet, so I download them on windows... and in linux using rpm to install them...), I build the EPICS again on my laptop with CentOS 5.6.
     During builing of EPICS base in this time, there is no errors that I came accross last time. It is likely that I missed the libstdc++-devel components in the installing of g++ last time.
     The last several lines goes like these:
####################################################################################
mkdir ../../../lib/perl/5.8.8
mkdir ../../../lib/perl/5.8.8/i386-linux-thread-multi
Installing script ../../../bin/linux-x86/cainfo.pl
Installing script ../../../bin/linux-x86/caput.pl
Installing script ../../../bin/linux-x86/caget.pl
Installing script ../../../bin/linux-x86/capr.pl
Installing script ../../../bin/linux-x86/camonitor.pl
rm -f CA.html
podchecker ../CA.pm && pod2html --infile=../CA.pm --outfile=CA.html
../CA.pm pod syntax OK.
Installing html ../../../html/./CA.html
rm CA.html
make[3]: Leaving directory `/home/gongyu/EPICS/base-3.14.12.4/src/cap5/O.linux-x86'
make[2]: Leaving directory `/home/gongyu/EPICS/base-3.14.12.4/src/cap5'
make[1]: Leaving directory `/home/gongyu/EPICS/base-3.14.12.4/src'
####################################################################################
     I wonder if the building of EPICS base succeeds.
     Following your suggestion, here I build the EPICS base-3.14.12.4, besides, base-3.14.12 (which is also built for test) gives these similar results.
     Doctorow's Law which appears in your letters, is suited for me in the situation to build EPICS on CentOS 5.6, while CentOS dose not provide me the gcc and g++ as keys for building of EPICS ^_^ 

Gongyu



> -----原始邮件-----
> 发件人: "Andrew Johnson" <[email protected]>
> 发送时间: 2015年1月27日 星期二
> 收件人: "GONG Yu" <[email protected]>, [email protected]
> 抄送: 
> 主题: Re: Problem building epics base under CentOS 5.6
> 
> On 01/23/2015 09:57 PM, GONG Yu wrote:
> > I run into an error when I build EPICS base-3.14.12 on a 32-bit laptop with CentOS 5.6.
> > Can anyone help in this error code:
> > ###################################################################
> > In file included from ../../../src/libCom/cxxTemplates/resourceLib.cpp:22:
> > ../../../src/libCom/cxxTemplates/resourceLib.h:33:15: warning: new: No such file or directory
> > ../../../src/libCom/cxxTemplates/resourceLib.h:34:20: warning: typeinfo: No such file or directory
> > ../../../src/libCom/cxxTemplates/resourceLib.h: In member function ‘void resTable<T, ID>::show(unsigned int) const’:
> > ../../../src/libCom/cxxTemplates/resourceLib.h:378: error: must #include <typeinfo> before using typeid
> 
> The first two errors here imply that your C++ installation does not have
> the standard C++ library headers new or typeinfo installed, and the last
> error tells me that the compiler expects those headers to be available.
> I don't have access to a CenOS 5.6 system so I don't know for sure that
> this will work, but I think you should be able to install those headers
> by running
>     yum install libstdc++-devel
> as root (or using sudo).
> 
> I would recommend that you install the latest version (base-3.14.12.4)
> instead though, it has a number of bug fixes included.
> 
> - Andrew
> -- 
> Doctorow's Law: Anytime someone puts a lock on something you own,
>     against your wishes, and doesn't give you the key, they're
>     not doing it for your benefit.



Replies:
Re: Problem building epics base under CentOS 5.6 Andrew Johnson
References:
Problem building epics base under CentOS 5.6 GONG Yu
Re: Problem building epics base under CentOS 5.6 Andrew Johnson

Navigate by Date:
Prev: Re: setting interpreter in EPICS Guy Jennings
Next: Re: Problem building epics base under CentOS 5.6 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Problem building epics base under CentOS 5.6 Andrew Johnson
Next: Re: Problem building epics base under CentOS 5.6 Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·