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

Subject: Re: openmotif installtion problems.
From: Noboru Yamamoto <[email protected]>
To: [email protected]
Date: Mon, 20 Dec 2010 07:43:30 +0900
(10/12/19 22:06), Saed Abu Ghannam wrote:
> 
> 
> Hi all,
> 
> when I try to install the alarm handler or EDM or even the MEDM, I always got the same below error:
> 
> make -C O.linux-x86 -f ../Makefile TOP=../../.. T_A=linux-x86 install
> make[1]: Entering directory `/root/EPICS_TOP/extensions/src/alh1_2_24/O.linux-x86'
> /usr/bin/gcc -c   -D_POSIX_C_SOURCE=199506L -D_POSIX_THREADS -D_XOPEN_SOURCE=500           -D_X86_  -DUNIX  -D_BSD_SOURCE -Dlinux  -D_REENTRANT -ansi   -O3   -Wall      -m32     -g  -I. -I../O.Common -I. -I../os/default -I.. -I../../../include/os/Linux -I../../../include -I../../../../base/include/os/Linux -I../../../../base/include  -I../../../include       -I../os/Linux -I../os/default -I/root/Desktop/openmotif-2.3.1/include -I/usr/include/X11    ../alCA.c
> In file included from ../ax.h:27,
>                   from ../alCA.c:24:
> ../alh.h:26:19: error: Xm/Xm.h: No such file or directory
> ../alh.h:27:26: error: Xm/RowColumn.h: No such file or directory
> In file included from ../ax.h:27,
>                   from ../alCA.c:24:
> ../alh.h:155: warning: parameter names (without types) in function declaration
> ../alh.h:156: error: expected specifier-qualifier-list before ‘XtPointer’
> ../alh.h:164: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
> ../alh.h:165: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘appContext’
> ../alh.h:166: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘topLevelShell’
> ../alh.h:167: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘productDescriptionShell’
> ../alh.h:168: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ALH_pixmap’
> ../alh.h:176: error: expected specifier-qualifier-list before ‘XtIntervalId’
> In file included from ../ax.h:28,
>                   from ../alCA.c:24:
> ../axSubW.h:32: error: expected specifier-qualifier-list before ‘Widget’
> In file included from ../ax.h:29,
>                   from ../alCA.c:24:
> ../line.h:52: error: expected specifier-qualifier-list before ‘Widget’
> In file included from ../ax.h:30,
>                   from ../alCA.c:24:
> ../alLib.h:61: error: expected specifier-qualifier-list before ‘XtIntervalId’
> ../alLib.h:111: error: expected specifier-qualifier-list before ‘XtIntervalId’
> ../alLib.h:128: error: expected specifier-qualifier-list before ‘XtIntervalId’
> ../alLib.h:151: error: expected specifier-qualifier-list before ‘XtIntervalId’
> In file included from ../alCA.c:24:
> ../ax.h:54: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:71: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:73: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:121: error: expected declaration specifiers or ‘...’ before ‘XmFileSelectionBoxCallbackStruct’
> ../ax.h:122: error: expected declaration specifiers or ‘...’ before ‘XmFileSelectionBoxCallbackStruct’
> ../ax.h:130: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:138: error: expected declaration specifiers or ‘...’ before ‘XmPushButtonCallbackStruct’
> ../ax.h:140: error: expected declaration specifiers or ‘...’ before ‘XmPushButtonCallbackStruct’
> ../ax.h:142: error: expected declaration specifiers or ‘...’ before ‘XmPushButtonCallbackStruct’
> ../ax.h:144: error: expected declaration specifiers or ‘...’ before ‘XmPushButtonCallbackStruct’
> ../ax.h:161: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:394: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:395: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:397: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> ../ax.h:411: error: expected declaration specifiers or ‘...’ before ‘XmAnyCallbackStruct’
> make[1]: *** [alCA.o] Error 1
> make[1]: Leaving directory `/root/EPICS_TOP/extensions/src/alh1_2_24/O.linux-x86'
> make: *** [install.linux-x86] Error 2
> 
> 
> 
> 
> which means Xm.h is missing, and this requires to install open motif,
On Ubuntu, installing "libmotif-dev" may be enough to compile medm and
others.

> 
> my question how do we install openmotif and from where we get the correct version and where do we install
> it in  reference with the EDM or MEDM directory? Any suggestions ?
How about the following URI?

http://www.openmotif.org/

> 
> 
> 
> best resgards,
> saed.
> 

Regards,

Noboru
J-PARC control group
KEK

References:
openmotif installtion problems. Saed Abu Ghannam

Navigate by Date:
Prev: Re: openmotif installtion problems. Mauro Giacchini
Next: Re: building latest snapshot of streamDevice Dirk Zimoch
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: openmotif installtion problems. Mauro Giacchini
Next: epics under NET OS Yuriy Gorbunov
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Dec 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·