PDA

View Full Version : Grace


dsk
02-03-2002, 03:37 PM
Has anyone managed to get Grace, the 2D visualization tool to work with OS X? I used Fink to try and set it up, and I got an error message when running it that it couldn't find some library or something. I already have lesstif installed, so anyone know why else it might not be working?

David

mervTormel
02-03-2002, 04:33 PM
dsk,

--
...I got an error message when running it that it couldn't find some library or something...
--

that is your key piece of information to sleuthing the puzzle, or something...

i fink'd grace and it's dependencies and my results were:

% grace
dyld: grace can't open library: /sw/lib/libdfftw.2.dylib \
(No such file or directory, errno = 2)

[ are your results similar? if not, perhaps more info from you could prove illuminating ]

so, i google'd : [ libdfftw.2.dylib ] and came up blank, hmmm, interesting

so, i google'd the canonical form: [ libdfftw ] and that revealed libs for Discrete Fourier Transforms like libdfftw.so.2 - aha, that fits the pattern; DFT is prolly something that 2D processing performs, yeah?

so, all this tells me that the current grace distributed by fink was built with refs to a lib we may not get or have. so, back to fink or the developer for answers.

hope that helps your investigation

dsk
02-03-2002, 10:39 PM
Yeah, you seem to have hit the nail on the head. Too bad, it looks like a cool program.

sao
02-03-2002, 11:15 PM
Please could you tell us:

-what version of fink?
-what version of XDarwin?
-XFree86 installed manually or via fink?
-if via fink, which package, and which version of that package?

It will be also helpful if you post the error messages you got while attempting to set up Grace.

Anyhow, is a problem between LessTif and the new XFree86-4.2.0 (and
Apple's dynamic linker). It happens for other applications that use
LessTif, too.


But try this:

Install XFree86 4.2
Then upgrade to the latest grace in CVS unstable it works fine with
XFree86 4.2.
and rebuilt lesstif

This setup is working for most people.

Let me know.

Cheers...

sao
02-04-2002, 05:20 AM
dyld: grace can't open library: /sw/lib/libdfftw.2.dylib \
(No such file or directory, errno = 2)

<<It's not dyld which is missing (dyld is part of the system, the DYnamic Link eDitor)
The problem is probably that one ore more of the packages have hidden
dependencies, soemthing that has to be fixed by the respective
maintainers.>>

dsk,

that's why I suggested in my previous post that you should install from unstable (some of the problems have been fixed there) if it doesn't work for you (it should), there is another way to make it work by installing:

f2c-20010618-1 (unstable)
fort77 1.18-3 (unstable)
netcdf 3.5.0-3 (unstable)

In this order.
That should give you also a working Grace.

Cheers...