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

Subject: Compiling alh, MEDM on Snow Leopard (10.6.2)
From: "Bertrand H.J. Biritz" <[email protected]>
To: [email protected]
Date: Sun, 20 Dec 2009 10:58:35 -0500
Dear Tech-Talk,

It's the holiday season which means new computer (for my dad this time) and also compiling code :)

So I tried installing EPICS et al. on a MacBook Pro (2.53 GHz) running 10.6.2 with MacPorts 1.8.1. EPICS 3.14.11 went fine, although I needed to deactivate readline (6.0.000_2+darwin) as it caused an error – hopefully a problem on their end as the package is still in dev, but just in case here is the error message

<snip>
../../../../bin/darwin-x86/antelope -l -d ../parse.y
dyld: Symbol not found: _rl_insert
Referenced from: /Users/Superior/Documents/EPICS/base-3-14-11/lib/ darwin-x86/libCom.3.14.11.dylib
  Expected in: flat namespace
<snip>

When I try to compile the latest version of the alarm handler or MEDM I get the following error message:

<snip>
ld: warning: in /opt/local/lib/libXmu.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXm.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libXt.dylib, file is not of required architecture ld: warning: in /opt/local/lib/libX11.dylib, file is not of required architecture
Undefined symbols:
  "_XtAppAddActions", referenced from:
      _awRowWidgets in awAlh.o
<snip>

I double checked the CONFIG_SITE.darwin-x86.darwin-x86 file to make sure it is looking in the correct locations:

#
# XDarwin
#
X11_LIB=/usr/X11R6/lib
X11_INC=/usr/X11R6/include/X11
XPM_LIB=/usr/X11R6/lib
XPM_INC=/usr/X11R6/include/X11

#
# Fink OpenMotif
#
#MOTIF_LIB=/sw/lib
#MOTIF_INC=/sw/include

#
# DarwinPorts OpenMotif
#
MOTIF_LIB=/opt/local/lib
MOTIF_INC=/opt/local/include

Looking in the XDarwin directory there are three of the four .dylib libraries (libXm.dylib isn't there).

Does someone have an idea of why the compilation is failing? Is it due to the X11 not being the latest version? On my PowerBook I have XQuartz 2.4.0 installed, but the XQuartz project said there would be a separate release called 2.4.1 for Snow Leopard.

Thanks,
Bertrand

Replies:
Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Steve Shoaf

Navigate by Date:
Prev: CAJ or PV gateway problem? Mark Rivers
Next: Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Steve Shoaf
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: CAJ or PV gateway problem? Mark Rivers
Next: Re: Compiling alh, MEDM on Snow Leopard (10.6.2) Steve Shoaf
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 31 Jan 2014 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·