|
|
Experimental Physics and
| ||||||||||||||
|
|
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
| ||||||||||||||
| ANJ, 02 Sep 2010 |
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing · |