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  2015  2016  2017  <20182019  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  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: MEDM installation
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Date: Tue, 19 Jun 2018 10:07:46 -0500
Hi Ignacio,

On 06/19/2018 09:17 AM, Ignacio Casal Iglesias wrote:
> I am trying to install MEDM on CentOS for the first time but I get an
> error on the process. I have downloaded the tar file corresponding to
> the version 3.1.11 and unzipped it in the EPICS/extensions/src
> directory. Then I do make from the extensions directory and get the
> following error:
> 
> usr/bin/gcc  -D_GNU_SOURCE -D_DEFAULT_SOURCE            -D_X86_64_ 
> -DUNIX  -Dlinux     -O3 -g   -Wall -Wextra      -mtune=generic     -m64
> -fPIC -I. -I../O.Common -I. -I. -I.. -I../../../../include/compiler/gcc
> -I../../../../include/os/Linux -I../../../../include
> -I../../../../../base/include/compiler/gcc
> -I../../../../../base/include/os/Linux -I../../../../../base/include  
> -I../../../../include       -I    -MM -MF xwd2ps.d  ../xwd2ps.c
> 
> cc1: error: to generate dependencies you must specify either -M or -MM

If you look at the command line which generated that error, you can see
a '-I' option without a following include directory. Thus gcc is taking
the '-MM' to be the name of a directory to search for header files
instead of an option, which explains the error message. The issue is
that you haven't configured one of the required entries in your
extensions/configure/os/CONFIG_SITE.linux-x86_64.linux-x86_64

Looking at the medm/printUtils/Makefile I suspect you need to set a
value for X11_INC.

HTH,

- Andrew

-- 
Arguing for surveillance because you have nothing to hide is no
different than making the claim, "I don't care about freedom of
speech because I have nothing to say." -- Edward Snowdon

References:
MEDM installation Ignacio Casal Iglesias

Navigate by Date:
Prev: Re: MEDM installation Mark Rivers
Next: RE: 4k x 4k camera options? Gofron, Kazimierz
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MEDM installation Mark Rivers
Next: Re: MEDM installation Ignacio Casal Iglesias
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 20 Jun 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·