Hello,
I'm having problems with inistalling EPICS on Ubuntu Linux. I've downloaded EPICS Base R3.14.10 and update GNU make to 3.8.1. I've not installed the GNU readLine library, so I have commentted out COMMANDLINE_LIBRARY=READLINE in configure/os/CONFIG_SITE.Common.linux-x86.
I've set the environment variables in .bashrc:
export EPICS_HOST=linux-x86
export EPICS_HOST_ARCH=linux-x86
export EPICS_BASE=/usr/local/epics/base
export EPICS_EXTENSIONS=/usr/local/epics/extensions
export PATH=$PATH:$EPICS_BASE/bin/$EPICS_HOST_ARCH
base compile successfully!
Then I've created an example application in the "iocapps" directory:
cd /usr/local/epics
mkdir iocapps
cd iocapps/
/usr/local/epics/base/bin/linux-x86/makeBaseApp.pl -t example dcct
/usr/local/epics/base/bin/linux-x86/makeBaseApp.pl -i -t example dcct
make
cd iocBoot/
cd iocdcct/
../../bin/linux-x86/dcct st.cmd
#!../../bin/linux-x86/dcct
## You may have to change dcct to something else
## everywhere it appears in this file
< envPaths
epicsEnvSet("ARCH","linux-x86")
epicsEnvSet("IOC","iocdcct")
epicsEnvSet("TOP","/usr/local/epics/iocapps")
epicsEnvSet("EPICS_BASE","/usr/local/epics/base")
cd /usr/local/epics/iocapps
## Register all support components
dbLoadDatabase "dbd/dcct.dbd"
dcct_registerRecordDeviceDriver pdbbase
## Load record instances
dbLoadTemplate "db/userHost.substitutions"
dbLoadRecords "db/dbSubExample.db", "user=xyHost"
## Set this to see messages from mySub
#var mySubDebug 1
## Run this to trace the stages of iocInit
#traceIocInit
cd /usr/local/epics/iocapps/iocBoot/iocdcct
iocInit
Starting iocInit
############################################################################
## EPICS R3.14.10 $R3-14-10$ $2008/10/27 19:39:04$
## EPICS Base built Apr 20 2011
############################################################################
iocRun: All initialization complete
## Start any sequence programs
#seq sncExample, "user=xyHost"
epics> dbl
xyHost:aiExample
xyHost:aiExample1
xyHost:aiExample2
xyHost:aiExample3
xyHost:aSubExample
xyHost:calcExample
xyHost:calcExample1
xyHost:calcExample2
xyHost:calcExample3
xyHost:compressExample
xyHost:subExample
xyHost:xxxExample
epics> dbpr xyHost:aiExample2
ASG: DESC: Analog input No. 2 DISA: 0
DISP: 0 DISV: 1 NAME: xyHost:aiExample2
RVAL: 0 SEVR: MAJOR STAT: LOLO SVAL: 0
TPRO: 0 VAL: 2
epics> dbgf xyHost:aiExample2
DBR_DOUBLE: 9
I open another terminal on the same computer
xy@linux:/usr/local/epics/base/bin/linux-x86> caget xyHost:aiExample2
Channel connect timed out: 'xyHost:aiExample2' not found.
xy@linux:/usr/local/epics/base/bin/linux-x86> camonitor xyHost:aiExample2
xyHost:aiExample2 *** Not connected (PV not found)
I do not know why(PV not found)?Any idea what could be wrong, and how to solve it?
Thanks
Horald