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: [building EPICS in RHEL-5 64bit] environment variables
From: Pavel Masloff <[email protected]>
To: Miroslav Mihaylov <[email protected]>, [email protected]
Date: Thu, 8 Dec 2011 23:41:07 +0300
THANKS MIROSLAV!!!

It worked. The base is installed now at long last. Any idea on how to use EPICS? I started with softIoc and then iocInit. Which were both ok. After that i run exit. I am planning to hook up a Tektronix 3054 oscillograph. But hesitate for some reason. Do not know where to start.

Thank you very much! You helped a lot!

Pavel

On Thu, Dec 8, 2011 at 10:45 PM, Miroslav Mihaylov <[email protected]> wrote:
Hello.
I am new to epics as well but maybe I can save you some of the troubles I went
trough during the installation on linux .
These are my personal notes for the EPICS installation.

http://miro.phy.uic.edu/index.php?option=com_content&view=article&id=52&Itemid=83&lang=en

 In general for linux you need to setup the EPICS environment variables.
One way of doing that is via the file ~/.bashrc

Here is the content of my bashrc file.
------------------------------------------------------------------
EPICS_HOST_ARCH=linux-x86_64
EPICS_BASE$HOME/EPICS/BASE
EPICS_DISPLAY_PATH=$HOME/EPICS/synApps/support/all_adl/
LD_LIBRARY_PATH=$HOME/EPICS/BASE/lib/linux-x86_64
PATH=$PATH:$HOME/bin:$HOME/EPICS/BASE/bin/linux-x86_64:
$HOME/EPICS/extensions/bin/linux-x86_64/:/usr/local/bin
I could  help you with the epics installation for the redhat.
export EPICS_HOST_ARCH
export EPICS_BASE
export PATH
export EPICS_DISPLAY_PATH
export LD_LIBRARY_PATH

------------------------------------------------
For BASE you will need those  packages.

 yum install perl-devel readline-devel gcc-c++
Also for RedHat 5 you need to use the ncurses instead of the readline libraly.
So in the file
~/EPICS/BASE/configure/os/CONFIG_SITE.Common.linux-x86 or
CONFIG_SITE.Common.linux-x86_64
comment the line refering  to readline and uncoment the ncurses.
--------------------------------------------------------------------------------



# No other libraries needed (recent Fedora, Ubuntu etc.):
#COMMANDLINE_LIBRARY = READLINE

# Needs -lncurses (RHEL 5 etc.):
COMMANDLINE_LIBRARY = READLINE_NCURSES
--------------------------------------------------------------------------------

Don't forget to run
make clean
before
make install

Also don't forget that the changes made to bashrc do not take in effect until
the next login.
Let me know if this worked for you.

Miroslav


On Thursday 08 December 2011 04:02:08 Pavel Masloff wrote:
> Hello everyone!
>
> How can I set the environment variables (PATH and EPICS_HOST_ARCH) in
> RHEL-5 64 bit?
> I ran the EpicsHostArch.pl script (>> perl EpicsHostArch.pl), but this
> script only returns the variable, doesn't set anything. I check by running
> "dev" in the command line.
>
> And generally, what should one do to install the epics base from scratch on
> a linux machine?
> Thanks.
>
>
> Pavel.

--
Miroslav Mihaylov
University of Illinois at Chicago
Department of Physics
2336 SES
845 W. Taylor St. M/C 273
Chicago, IL 60607
312 355 0225



--
Sincerely,

Pavel Maslov, MSc
R&D Institute for Electro-Physical Apparatus


Mobile: +7 (951) 672 22 19
Phone: +7 (812) 461 01 01

References:
[building EPICS in RHEL-5 64bit] environment variables Pavel Masloff

Navigate by Date:
Prev: Re: Unbalanced conditional ? Andrew Johnson
Next: Re: Unbalanced conditional ? Dirk Zimoch
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: [building EPICS in RHEL-5 64bit] environment variables Alan Greer
Next: About the interface LabCA problem that Matlab can't read image data from areaDetector
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 ·