Re: PyNGL/PyNIO binary for MacOS 10.9?

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Nov 21 2013 - 15:58:40 MST

On Nov 21, 2013, at 3:34 PM, Louis Wicker <Louis.Wicker@noaa.gov> wrote:

> Mary - I just tried installing this on my system, I just upgraded to Mavricks.
>
> Nio went okay, but import Ngl error exits as
>
> ImportError: dlopen(/Volumes/Master/Users/wicker/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/PyNGL/fplib.so, 2): Library not loaded: /opt/X11/lib/libfontconfig.1.dylib
> Referenced from: /Volumes/Master/Users/wicker/Library/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/PyNGL/fplib.so
> Reason: Incompatible library version: fplib.so requires version 10.0.0 or later, but libfontconfig.1.dylib provides version 8.0.0
>
> Is this hard to fix at your or my end?

Hi Lou,

I can try to fix this by building in fontconfig statically or perhaps first you can try installing this package via MacPorts:

   port install fontconfig

or

  sudo port install fontconfig

You might also have to do:

  port install freetype

This software will be installed to /opt.

MacPorts is available from

http://www.macports.org/

If none of this works, let me know and I'll see if I can build things statically.

I've uploaded a PyNGL 1.5.0-alpha version and will send an email shortly about it. This still has the fontconfig dependency.

--Mary

>
> Lou
>
>
>
> On 11/21/13, 4:25 PM, Mary Haley wrote:
>> Hi Charlie,
>>
>> I don't have a MacOS 10.9 system handy, but 10.8 binaries should work fine (at least this is the case with other executables I've tried).
>>
>> I put PyNGL 1.4.0 and PyNIO 1.4.1, compiled with Python 275 and Numpy 162 on ftp:
>>
>> ftp
>> ftp.ucar.edu
>>
>> <log in as "anonymous">
>> <Use email address as password>
>> cd /pub/scd/haley
>> get PyNIO-1.4.1.macos-10.8-x86_64-py275-numpy162.tar.gz
>> get PyNGL-1.4.0.macos-10.8-x86_64-py275-numpy162.tar.gz
>> quit
>>
>> You'll want to "tar -zxvf" this file in the root directory of where your python is installed. I'm using a python that I built myself (and not the macports version), so my python installation is pretty basic:
>>
>> lib/python2.7/site-packages
>> bin/python2.7*
>> bin/python
>>
>> If your installation doesn't look like this, for example, if you have "lib64" instead of "lib", then you may need to untar the file somewhere temporary, and change the directories as necessary.
>>
>> --Mary
>>
>> On Nov 21, 2013, at 2:09 PM, Mary Haley
>> <haley@ucar.edu>
>> wrote:
>>
>>
>>> Hi Charlie,
>>>
>>> I can try to compile you a new version of both.
>>>
>>> Thanks for the numpy and python versions. I'll see what I can do.
>>>
>>> --Mary
>>>
>>> On Nov 20, 2013, at 12:45 PM, Charlie Koven
>>> <ckoven@gmail.com>
>>> wrote:
>>>
>>>
>>>> Hi Mary, Dave,
>>>>
>>>> I updated my laptop to the latest MacOS, version 10.9, up from version 10.6 where it had been before. Naturally this broke the PyNGL and PyNIO versions that had been on it. Any chance that there are binaries that would work on the new system? The basic info of my machine is below; I am using the python and numpy that is installed by macports.
>>>>
>>>> uname -a
>>>> Darwin xxxxxxx.dhcp.lbl.gov 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
>>>>
>>>> python
>>>> Python 2.7.5 (default, Aug 25 2013, 00:04:04)
>>>> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
>>>> Type "help", "copyright", "credits" or "license" for more information.
>>>>
>>>>>>> import numpy
>>>>>>>
>>>> numpy.__version__
>>>>
>>>>>>> numpy.__version__
>>>>>>>
>>>> '1.6.2'
>>>>
>>>>
>>>> Thanks,
>>>> Charlie Koven
>>>> Lawrence Berkeley Lab
>>>> _______________________________________________
>>>> pyngl-talk mailing list
>>>> List instructions, subscriber options, unsubscribe:
>>>>
>>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>>> _______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>>
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>> _______________________________________________
>> pyngl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>>
>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>
> --
>
> ----------------------------------------------------------------------------
> | Dr. Louis J. Wicker
> | NSSL/FRDD Rm 3366
> | National Weather Center
> | 120 David L. Boren Boulevard, Norman, OK 73072
> |
> | E-mail:
> Louis.Wicker@noaa.gov
>
> | HTTP:
> www.nssl.noaa.gov/~lwicker
>
> | Phone: (405) 325-6340
> | Fax: (405) 325-6780
> |
> |
> I "In fact the hardest part of research is always to find
> | a question that's big enough thats worth answering
> | but little enough that you can actually answer it"
> |
> | Edward Witten
> ----------------------------------------------------------------------------
> |
> | "The contents of this message are mine personally and
> | do not reflect any position of the Government or NOAA."
> |
> ----------------------------------------------------------------------------
>
> _______________________________________________
> pyngl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk

_______________________________________________
pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
Received on Thu Nov 21 15:58:47 2013

This archive was generated by hypermail 2.1.8 : Fri Nov 22 2013 - 09:37:03 MST