Experimental Physics and Industrial Control System
Thanks for both replies, the strange compiler message was due to the missing directory after the -I flag. Also, I could solve it thanks to Andrew's advice of defining the variable X11_INC=/usr/includes
Thanks again,
Ignacio Casal Iglesias
Desarrollador de software/ Software developer
GMV
Isaac Newton, 11
P.T.M. Tres Cantos
E-28760 Madrid
Tel. +34 91 807 33 29
Fax +34 91 807 21 99
www.gmv.com
Date: Tue, 19 Jun 2018 15:04:46 +0000
From: Mark Rivers <[email protected]>
To: Ignacio Casal Iglesias <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: MEDM installation
Message-ID: <[email protected]>
Content-Type: text/plain; charset="us-ascii"
The problem is the -I with no directory after it. That causes the -MM to be ignored. There is probably a USR_INCLUDES with an undefined macro.
Mark
Sent from my iPhone
Date: Tue, 19 Jun 2018 10:07:46 -0500
From: Andrew Johnson <[email protected]>
To: <[email protected]>
Subject: Re: MEDM installation
Message-ID: <[email protected]>
Content-Type: text/plain; charset="windows-1252"
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
P Please consider the environment before printing this e-mail.
______________________
This message including any attachments may contain confidential
information, according to our Information Security Management System,
and intended solely for a specific individual to whom they are addressed.
Any unauthorised copy, disclosure or distribution of this message
is strictly forbidden. If you have received this transmission in error,
please notify the sender immediately and delete it.
______________________
Este mensaje, y en su caso, cualquier fichero anexo al mismo,
puede contener informacion clasificada por su emisor como confidencial
en el marco de su Sistema de Gestion de Seguridad de la
Informacion siendo para uso exclusivo del destinatario, quedando
prohibida su divulgacion copia o distribucion a terceros sin la
autorizacion expresa del remitente. Si Vd. ha recibido este mensaje
erroneamente, se ruega lo notifique al remitente y proceda a su borrado.
Gracias por su colaboracion.
______________________
- Navigate by Date:
- Prev:
AW: EPICS Meeting Talk files Mexner, Wolfgang (IBPT)
- Next:
Re: AW: EPICS Meeting Talk files Andrew Johnson
- 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
<2018>
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: MEDM installation Andrew Johnson
- Next:
EPICS Meeting Talk files Andrew Johnson
- 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
<2018>
2019
2020
2021
2022
2023
2024