EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Problem building medm2_3_4a on Linux
From: "Hammonds, John" <[email protected]>
To: "'[email protected]'" <[email protected]>, tech-talk Mailing List <[email protected]>
Date: Mon, 21 Sep 1998 11:01:18 -0500
I have worked most recently with the medm2-3-4a source.  I have not run
into problems with missing directories so maybe you got a bad
distribution file.

For the other problems I have never experienced a problem with the
missing osfXK_Left and such.  I wonder since you find XK_Left if you
have Motif installed on your system.  This is not a standard part of the
Linux distribution.  Since OSF licenses Motif it will typically cost
money for a license ($100-150US).  I am using Redhat's Motif although
most versions probably work.  If you do have Motif installed, do you
have the directories set up properly in the CONFIG_***** files.

The XrtGraph stub file should be placed in the
/usr/local/epics/extensions/source/medm/medm (or equiv) directory.  This
simply sets up call stubs for the XRTGraph portion of the code.  This is
used with the cartesian plots.  XrtGraph is also a comercial package but
has typically costed quite a bit.  One nice thing w/ many of the Motif's
available on Linux you get a copy of the XRT development kit.  This
means that you can actually get the cartesian plots as well.  Note that
if you go the stub route,  I had found a few minor bugs in this that
kept me from compiling until they were fixed.  I think that I sent
something to tech talk a while back on this so check the archives if you
run into problems here.

For reference, I am using RedHat Linux.  I have compiled many versions
medm on many diferent kernals of Linux (RH 4.1-RH5.1) so this really
should not cause much trouble.  

Hope this helps some,

John Hammonds
Argonne National Laboratory

> -----Original Message-----
> From:	Burkhard W. Kolb [SMTP:[email protected]]
> Sent:	Monday, September 21, 1998 9:31 AM
> To:	tech-talk Mailing List
> Subject:	Problem building medm2_3_4a on Linux
> 
> Hi,
> 
> this may be a simple problem, but I'm stuck:
> 
> I just installed epics base and extensions on a Linux PC
> Debian distribution (kernel version 2.0.33), with X11R6...
> The make executed with some warnings.
> 
> The I got the medm2_3_4a tar file and tried a make. Make complained
> about the
> missing files Xc.h, Meter.h and so on from the xc directory. I found
> that the
> directories graphX anf xc are not in the tar file. I then got the
> older
> medm_1_14_97.tar file and replaced the extracted medm directory with
> the one
> from the medm2_3_4a distribution. Then I started the make. The graphX
> and xc
> directories were properly handled. The first problem then came in
> compiling
> eventHandler.c - the constants osfXK_Left ... are not defined. The
> generic
> ones XK_Left are found in the keysym.h file in the
> /usr/X11R6/include/X11
> directory. But the #include was missing in the c source. I put it in
> and
> was able to continue with the make up to the medmBar.c file.
> Here the complaint is the missing declaration of XcNdecorations which
> can not
> be found in the xc directory nor in the X11 directories.
>  This all seems a bit suspicious to me - what am I missing here?
> 
> Third problem, what am I supposed to do with the stubXrtGraph file?
> Put it
> by hand in the medmCartesianPlot.c file? There is no #ifdef XrtGraph
> in that?
> 
> 
> Burkhard Kolb
> HADES project
> GSI Darmstadt

Navigate by Date:
Prev: Problem building medm2_3_4a on Linux Burkhard W. Kolb
Next: Limits problems in MEDM Mark J. Ryan
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Problem building medm2_3_4a on Linux Burkhard W. Kolb
Next: Re: Problem building medm2_3_4a on Linux Burkhard W. Kolb
Index: 1994  1995  1996  1997  <19981999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·