g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013 
<== Date ==> <== Thread ==>

Subject: RE: cmlog ?
From: "Allison, Stephanie" <saa@slac.stanford.edu>
To: "Heinrich du Toit" <heinrichdt@tlabs.ac.za>, "TechTalk EPICS" <tech-talk@aps.anl.gov>
Date: Tue, 23 Oct 2007 12:10:59 -0700
HI Heinrich,
 
Here is what I do to add cmlog to a 3.14 soft IOC:
 
(1) Update CONFIG_SITE.Common.linux-x86 (or whatever OS you use) to add these lines:
CMLOG = <location of cmlog, ie /afs/slac/g/lcls/cmlog for LCLS>
CMLOG_ARCH = <architecture, ie Linux-i386>

(2) In your app's src/Makefile, add these lines:
USR_INCLUDES += -I$(CMLOG)/include 
cmlog_DIR += $(CMLOG)/lib/$(CMLOG_ARCH) 
<app>_LIBS += cmlog 
 
(3) You may want to keep your cmlogrc and cmlogTagTable files in your src directory and install them via Makefile:
 
SCRIPTS_IOC += cmlogTagTable
SCRIPTS_HOST += cmlogrc

(4) Add these env vars to whatever setup file you use:
CMLOG_HOST
CMLOG_PORT
CMLOG_CONFIG location of cmlogrc
CDEVTAGTABLE location of cmlogTagTable
 
Stephanie Allison
 
________________________________

From: tech-talk-bounces@aps.anl.gov on behalf of Heinrich du Toit
Sent: Tue 10/23/2007 7:05 AM
To: TechTalk EPICS
Subject: cmlog ?



Hi

What do I need to add to my IOC Makefile to link with cmlog?

Maybe somebody have this already? Then I don't have to dig through docs
to convert the std Makefile stuff in cmlog docs to EPICS build system
stuff.

Would appreciate it thanks :)

-Heinrich





Replies:
RE: cmlog ? (still not working) Heinrich du Toit
References:
cmlog ? Heinrich du Toit

Navigate by Date:
Prev: Re: Automated logbook Claude Saunders
Next: What is epicstcl Emmanuel Mayssat
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013 
Navigate by Thread:
Prev: cmlog ? Heinrich du Toit
Next: RE: cmlog ? (still not working) Heinrich du Toit
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  <20072008  2009  2010  2011  2012  2013 
ANJ, 10 Nov 2011 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·