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

Subject: Re: MEDM Extension Make Failed on Ubuntu 15.10
From: Jeong Han Lee <[email protected]>
To: Adeel Akram <[email protected]>
Cc: tech-talk <[email protected]>
Date: Mon, 14 Dec 2015 22:42:25 +0100
I am not sure about Ubuntu, but Debian you want to compile MEDM, you
need some of the following packages:
-----------------------------
libreadline-dev libxt-dev x11proto-print-dev libxmu-headers libxp-dev
libxmu-dev libxmu6 libxpm-dev libxmuu-dev libxmuu1 libxmu6 e2c
python-dev libnetcdf-dev libhdf5-dev libnexus0-dev libpng12-0-dev
libbz2-dev libxml2-dev libusb-dev
-------------------------------

You don't need them all for MEDM, but I don't remember which packages
are dependent upon MEDM only. So I usually install them all for many
extensions (StripTool, ALH, MEDM, probe, cau, msi, dbVerbose, gateway
etc) at once on my local machine.

One needs to install "motif" according to Debian distribution as
lesstif2-dev for Wheezy, and libmotif-dev for Jessie.

In addition, one also need to change the default directories from time
to time in
${extension_top}/configure/os/CONFIG_SITE.${EPICS_HOST_ARCH}.${EPICS_HOST_ARCH}"
-----------------------
X11_LIB=/usr/lib/x86_64-linux-gnu
X11_INC=/usr/include
MOTIF_LIB=/usr/lib/x86_64-linux-gnu
MOTIF_INC=/usr/include
----------------------

There are quite ugly and quick and dirty bash scripts, which I wrote
ago, for myself, please look at
https://github.com/jeonghanlee/scripts_for_epics


Thanks,
Han

On Mon, Dec 14, 2015 at 6:34 PM, Adeel Akram
<[email protected]> wrote:
> Hello Guys,
>
> I am new to EPICS. I am using EPICS base-3.15.3. I am using Ubuntu 15.10
> 64bit as test OS (I also need to install it on Debian 8.1 later on, which is
> my server). Following is my epics installation directory structure
>
> ~/epics/base (successfully build)
> ~/epics/extensions
>
> I am trying to install medm3.1.9 extension. After running
> "adeel@ubuntu1510:~/epics/extensions/src/medm$ make" , I am getting
> following errors (after some compiling)
>
> ...
>
> ../xgif.c:156:9: warning: variable ‘x’ set but not used
> [-Wunused-but-set-variable]
>      int x, y;
>          ^
> make[2]: *** No rule to make target '/usr/lib64/libXm.a', needed by 'medm'.
> Stop.
> make[2]: Leaving directory
> '/home/adeel/epics/extensions/src/medm/medm/O.linux-x86_64'
> ../../../../base/configure/RULES_ARCHS:64: recipe for target
> 'install.linux-x86_64' failed
> make[1]: *** [install.linux-x86_64] Error 2
> make[1]: Leaving directory '/home/adeel/epics/extensions/src/medm/medm'
> ../../../base/configure/RULES_DIRS:87: recipe for target 'medm.install'
> failed
> make: *** [medm.install] Error 2
>
> It seems the problem is with libXm.a which is part of libxp-dev and its not
> available on Ubuntu 15.10. I downloaded libxp-dev from launchpad but it need
> libxp6 which is also not available on ubuntu. I searched on tech-talk but I
> couldn't find the satisfactory solution. I will appreciate your expert help.
> Please link if solution is already given (may be I could not get it).
>
> --
> Best,
> Adeel Akram
> Universität Heidelberg.
>



References:
MEDM Extension Make Failed on Ubuntu 15.10 Adeel Akram

Navigate by Date:
Prev: RE: ai RVAL via asyn + modbus: getting unsigned integer Mark Rivers
Next: RE: ai RVAL via asyn + modbus: getting unsigned integer jon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MEDM Extension Make Failed on Ubuntu 15.10 Andrew Johnson
Next: Newbie: How do I view the output of an areaDetector plugin? Phil Atkin
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  <20152016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 16 Dec 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·