Re: Cairo error during install on Mac 10.8, NCL 6.1

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Jan 10 2013 - 21:31:50 MST

On Jan 8, 2013, at 12:30 PM, David B. Reusch wrote:

> Hi,
>
> I was aware of some cairo changes/dependencies with NCL 6.1 but was
> hoping it wasn't that bad. Strictly speaking, I'm not in a huge rush to
> get PyNGL on this laptop partly because I don't actually use it much
> yet. I have PyNGL installed on my 10.6 desktop but, frustratingly, this
> fall I lost my modest set of new PyNGL scripts when a hard drive there
> crashed and, stupidly, I hadn't been backing it up.

Sorry to hear about the hard drive crash. Seems like we've all been
there at one time or another, myself included.

> Now I'm wondering
> (casually) whether that install still works after upgrading to NCL
> 6.1...I'm guessing not?

Correct, it won't work. I was having a good run on getting PyNGL 1.5.0
out the door, but then I got waylaid by a number of other projects.

We have to get NCL V6.1.1 out the door (this month), and then PyNGL should follow
shortly after. Hopefully PyNIO won't be too far either.

--Mary

>
> This install was actually just part of a "hey it's 2013, I should
> refresh my software installs and sync my Macs" project, so more like
> housekeeping than specific to wanting PyNGL urgently.
>
> I think my bottom line is: I can wait for a stable/official new PyNGL
> as long as it's not a long time off. I don't actually use X11 windows
> (I prefer postscript for some reason...) so the bug you mentioned
> probably wouldn't affect me. Thus I could probably use the 1.5.0 alpha
> if I needed to -- but I can afford to wait.
>
> Thanks,
> Dave
>
> Mary Haley said the following on 1/8/2013 12:14 PM:
>> Hi Dave,
>>
>> Unfortunately, you can't link PyNGL 1.4.1 against NCL 6.1, because 6.1 involves a major overhaul of the graphics, and hence a change to some internal names. The two software versions are not compatible. I'll add something to the build page about this.
>>
>> You will need to use NCL V6.0.0, or, I can give you a PyNGL 1.5.0 (alpha) that compiles against NCL V6.1.0. There's a weird X11 bug I'm still tracking down for PyNGL 1.5.0, which causes you to have to <ctrl-c> out of the last X11 window, because it doesn't close gracefully.
>>
>> --Mary
>>
>> On Jan 7, 2013, at 11:51 AM, David B. Reusch wrote:
>>
>>> Hi,
>>>
>>> I'm getting the following error when trying to build PyNGL on my Mac
>>> (10.8.2) with NCL 6.1 (and python 2.7.2):
>>>
>>> gsun.c:1831:25: error: use of undeclared identifier 'NhlcairoPSPDFWorkstationClass'; did you mean 'NhlcairoImageWorkstationClass'?
>>>
>>> NhlCreate(&wks,type,NhlcairoPSPDFWorkstationClass,NhlDEFAULT_APP,wk_rlist);
>>>
>>> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>
>>> NhlcairoImageWorkstationClass
>>>
>>>
>>> This looks like it's related to cairo but, as far as I can tell, all the
>>> PyNGL install prereqs have been met (per the install web page
>>> http://www.pyngl.ucar.edu/Download/build_pyngl_from_src.shtml). All but
>>> zlib are installed under fink.
>>>
>>> I've used the following script successfully on a different Mac (10.6):
>>> #!/bin/tcsh -f
>>> # build PyNGL
>>>
>>> setenv FC gfortran
>>> setenv F2CLIBS gfortran
>>> setenv F2CLIBS_PREFIX /usr/local/gfortran/lib
>>> setenv CXX g++
>>>
>>> python setup.py build >& build.out
>>>
>>> I'm also seeing about a dozen warnings about macros being redefined (out
>>> of ~37 warnings total).
>>>
>>> Happy to provide more info, I'm out of ideas myself.
>>>
>>> Thanks,
>>> Dave
>>>
>>> --
>>> Associate Research Professor of Climatology
>>> Dept of Earth and Environmental Science
>>> MSEC 304; 801 Leroy Place
>>> New Mexico Tech
>>> Socorro, NM 87801
>>>
>>> _______________________________________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/pyngl-talk
>>
>
> --
> Associate Research Professor of Climatology
> Dept of Earth and Environmental Science
> MSEC 304; 801 Leroy Pl
> New Mexico Tech
> Socorro, NM 87801
>
> _______________________________________________
> 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 Jan 10 21:32:01 2013

This archive was generated by hypermail 2.1.8 : Mon Jan 14 2013 - 14:34:44 MST