Cairo error during install on Mac 10.8, NCL 6.1

From: David B. Reusch <dreusch_at_nyahnyahspammersnyahnyah>
Date: Mon Jan 07 2013 - 11:51:09 MST


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'?




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 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 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.


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:
Received on Mon Jan 7 11:51:17 2013

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