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

Subject: Problems with installing EPICS
From: Csaba Gajo <[email protected]>
To: [email protected]
Date: Fri, 4 Sep 2009 03:59:55 -0400
Hello,

I'm having problems with inistalling EPICS on Ubuntu Linux. I've
downloaded EPICS Base R3.14.10 and the following modules:  Asyn,
drvIpac and Sequencer compiler 2.0.11. These were all compiled ok.
I've also installed the GNU readLine library, so I didn't have to
comment out the line in the config file.

So it all compiled fine, I've set the environment variables in .bashrc:
export EPICS_CA_ADD_LIST=127.0.0.1
export EPICS_ROOT=/opt/epics
export EPICS_HOST_ARCH=linux-x86
export EPICS_BASE=$EPICS_ROOT/base
export EPICS_EXTENSIONS=$EPICS_ROOT/extensions
export PATH=$PATH:$EPICS_BASE/bin/$EPICS_HOST_ARCH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$EPICS_BASE/lib/$EPICS_HOST_ARCH:$EPICS_EXTENSIONS/lib/$EPICS_HOST_ARCH:$EPICS_APPS/lib/$EPICS_HOST_ARCH

Then I've created an example application in the "work3" directory:

makeBaseApp.pl -t example myexample3
makeBaseApp.pl -i -t example myexample3

It all worked fine, I wrote "make" and the application was built.
However, when I started the application, it didn't work fine. It says
for example "unknown type ai" and "unknown type calc". I'm guessing it
cannot find the database. This is the complete output:

user@ubuntu-vmware:~/work3/iocBoot/iocmyexample2$
../../bin/linux-x86/myexample2 st.cmd
#!../../bin/linux-x86/xxx
## You may have to change xxx to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocmyexample2")
epicsEnvSet("TOP","/home/user/work3")
epicsEnvSet("EPICS_BASE","/opt/epics/base")
cd /home/user/work3
## Register all support components
dbLoadDatabase "dbd/xxx.dbd"
filename="../dbLexRoutines.c" line number=243
No such file or directory dbRead opening file
dbd/xxx.dbdxxx_registerRecordDeviceDriver pdbbase
st.cmd -- Line 12 -- Command xxx_registerRecordDeviceDriver not found.
## Load record instances
dbLoadTemplate "db/userHost.substitutions"
Record "userHost:aiExample" is of unknown type "ai" - Error at or
before ")" in file "db/dbExample1.db" line 1
Record "userHost:calcExample1" is of unknown type "calc" - Error at or
before ")" in file "db/dbExample2.db" line 1
Record "userHost:calcExample2" is of unknown type "calc" - Error at or
before ")" in file "db/dbExample2.db" line 1
Record "userHost:calcExample3" is of unknown type "calc" - Error at or
before ")" in file "db/dbExample2.db" line 1
dbLoadRecords "db/dbSubExample.db", "user=userHost"
Record "userHost:subExample" is of unknown type "sub" - Error at or
before ")" in file "db/dbSubExample.db" line 1
## Set this to see messages from mySub
#var mySubDebug 1
## Run this to trace the stages of iocInit
#traceIocInit
cd /home/user/work3/iocBoot/iocmyexample2
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
## EPICS Base built Sep  3 2009
############################################################################
initPeriodic: menuScan not present
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=userHost"
epics> exit


----------

Any idea what could be wrong, and how to fix it?

Thanks, Csaba

Replies:
RE: Problems with installing EPICS Rees, Nick (DLSLtd,RAL,DIA)
Re: Problems with installing EPICS Andrew Johnson

Navigate by Date:
Prev: sequencer feature request Patrick Thomas
Next: RE: Problems with installing EPICS Rees, Nick (DLSLtd,RAL,DIA)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: sequencer feature request Mark Rivers
Next: RE: Problems with installing EPICS Rees, Nick (DLSLtd,RAL,DIA)
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·