[ncl-install] ncargex test failed

Li, Lin (Lin) linli at osc.edu
Fri Mar 13 11:44:02 MDT 2015


Mary,

Thanks, Yes, the function cairo_recording_surface_create() is a replacement since 1.9.x.

From cairo NEWS file:

"
API changes (to API new in the cairo 1.9.x series)
--------------------------------------------------
  cairo_recording_surface_create()
  cairo_recording_surface_ink_extents()

    These are the replacement names for the functions previously named
    cairo_meta_surface_create and cairo_meta_surface_ink_extents.
"


Lin
________________________________
From: Mary Haley [haley at ucar.edu]
Sent: Friday, March 13, 2015 1:38 PM
To: Li, Lin (Lin)
Cc: ncl-install at ucar.edu
Subject: Re: [ncl-install] ncargex test failed

​Your version of cairo is too old.  NCAR Graphics and NCL are built against at least version 1.12.16​.

--Mary


On Thu, Mar 12, 2015 at 12:47 PM, Li, Lin (Lin) <linli at osc.edu<mailto:linli at osc.edu>> wrote:
Hi,

I have a rhel 6 box, installed ncl-6.2.1 binary. ncl test successfully, but ncargex test failed.

 ncargex -areas

NCAR Graphics Fortran  Example <arex01>

  Copying arex01.f

Compiling and linking...
/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o arex01 arex01.f -L/usr/local/ncarg/lib -L/usr/X11R6/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':
cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':
cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'
collect2: ld returned 1 exit status

The compile and link failed.

The cairo and cairo-devel rpm are installed on this Linux box.

# rpm -qa | grep cairo
cairo-1.8.8-3.1.el6.x86_64
cairo-1.8.8-3.1.el6.i686
cairo-devel-1.8.8-3.1.el6.x86_64

Is there any other rpm I should install?

Thanks,
Lin

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-install/attachments/20150313/3d7877ac/attachment.html 


More information about the ncl-install mailing list