<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Mary,<br>
<br>
Thanks, Yes, the function cairo_recording_surface_create() is a replacement since 1.9.x.<br>
<br>
From cairo NEWS file:<br>
<br>
"<br>
API changes (to API new in the cairo 1.9.x series)<br>
--------------------------------------------------<br>
cairo_recording_surface_create()<br>
cairo_recording_surface_ink_extents()<br>
<br>
These are the replacement names for the functions previously named<br>
cairo_meta_surface_create and cairo_meta_surface_ink_extents.<br>
"<br>
<br>
<br>
Lin<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF1965"><font color="#000000" face="Tahoma" size="2"><b>From:</b> Mary Haley [haley@ucar.edu]<br>
<b>Sent:</b> Friday, March 13, 2015 1:38 PM<br>
<b>To:</b> Li, Lin (Lin)<br>
<b>Cc:</b> ncl-install@ucar.edu<br>
<b>Subject:</b> Re: [ncl-install] ncargex test failed<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-size:small">Your version of cairo is too old. NCAR Graphics and NCL are built against at least version 1.12.16.</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
<div class="gmail_default" style="font-size:small">--Mary</div>
<div class="gmail_default" style="font-size:small"><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 12, 2015 at 12:47 PM, Li, Lin (Lin) <span dir="ltr">
<<a href="mailto:linli@osc.edu" target="_blank">linli@osc.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt">Hi,<br>
<br>
I have a rhel 6 box, installed ncl-6.2.1 binary. ncl test successfully, but ncargex test failed.<br>
<br>
ncargex -areas<br>
<br>
NCAR Graphics Fortran Example <arex01><br>
<br>
Copying arex01.f<br>
<br>
Compiling and linking...<br>
/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<br>
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':<br>
cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create'<br>
/usr/local/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation':<br>
cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create'<br>
collect2: ld returned 1 exit status<br>
<br>
The compile and link failed.<br>
<br>
The cairo and cairo-devel rpm are installed on this Linux box.<br>
<br>
# rpm -qa | grep cairo<br>
cairo-1.8.8-3.1.el6.x86_64<br>
cairo-1.8.8-3.1.el6.i686<br>
cairo-devel-1.8.8-3.1.el6.x86_64<br>
<br>
Is there any other rpm I should install?<br>
<br>
Thanks,<br>
Lin<br>
</div>
</div>
<br>
_______________________________________________<br>
ncl-install mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
</body>
</html>