<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>
<div>Mary,</div>
<div><br>
</div>
<div>Thanks. Actually, I am interested in NCAR graphics.</div>
<div><br>
</div>
<div>I don't understand your answer in the context of a binary install. I thought that binary installs do not require that all the dependencies are also installed. (Dependencies are discussed in the context of a source install, of course). </div>
<div><br>
</div>
<div>In any case, an earlier version is now installed, so our existing libraries are compatible with that.</div>
<div><br>
</div>
<div>I am not a root user, so cannot use yum, etc. I have made a request to our system administrators for the latest version to be installed. They will need to resolve the various dependencies.</div>
<div><br>
</div>
<div>Thanks again.</div>
<div><br>
</div>
<div>-Tony</div>
<div><br>
</div>
<div>
<div>
<div>-- </div>
<div>
<div>Tony Mannucci</div>
<div>Supervisor, Ionospheric and Atmospheric Remote Sensing Group</div>
<div> Mail-Stop 138-308, Tel > (818) 354-1699</div>
<div> Jet Propulsion Laboratory, Fax > (818) 393-5115</div>
<div> California Institute of Technology, Email > Tony.Mannucci@jpl.nasa.gov</div>
<div> 4800 Oak Grove Drive, http://scienceandtechnology.jpl.nasa.gov/people/a_mannucci/</div>
<div> Pasadena, CA 91109</div>
</div>
</div>
<div><br>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Mary Haley <<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>><br>
<span style="font-weight:bold">Date: </span>Thursday, February 27, 2014 9:26 AM<br>
<span style="font-weight:bold">To: </span>Tony Mannucci <<a href="mailto:Anthony.J.Mannucci@jpl.nasa.gov">Anthony.J.Mannucci@jpl.nasa.gov</a>><br>
<span style="font-weight:bold">Cc: </span>"<a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>" <<a href="mailto:ncl-install@ucar.edu">ncl-install@ucar.edu</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [ncl-install] Problems installing ncar graphics, follow up<br>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div>
<div>Hi Tony,</div>
<div><br>
</div>
<div>Just an FYI: if you are only interested in NCL and not in NCAR Graphics, then it is not important that you get "ncargex cpex08" to work. The fact that "ng4ex gsun01n.ncl" works means that NCL is working fine.</div>
<div><br>
</div>
<div>If you still want to get NCAR Graphics to work, then my guess is the same as yours : the cairo version is not matching up. NCL V6.1.2 was built with Cairo V1.10.2, I believe. We had another user that ran into the same problem, and they were using cairo
1.2.4.</div>
<div><br>
</div>
<div>I believe you should be able to get a newer cairo via yum or apt-get:</div>
<div><br>
</div>
<div> apt-get install libcairo-devel</div>
<div> yum install libcairo-devel</div>
<div><br>
</div>
<div><br>
</div>
<div>--Mary</div>
<div><br>
</div>
<div>On Feb 27, 2014, at 9:59 AM, "Mannucci, Anthony J (335G)" <<a href="mailto:anthony.j.mannucci@jpl.nasa.gov">anthony.j.mannucci@jpl.nasa.gov</a>> wrote:</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>I am trying to install ncar graphics on a Linux RedHat enterprise 5 system without root privileges. I downloaded the binary: ncl_ncarg-6.1.2.Linux_RHEL5.6_x86_64_nodap_gcc412.tar.gz .</div>
<div></div>
<div>After setting up the paths as recommended, the following test program works successfully:</div>
<div>ng4ex gsun01n –clean</div>
<div></div>
<div>However the other recommended test program fails:</div>
<div>ncargex cpex08 –clean</div>
<div></div>
<div>I looked online and found that including –lgfortran will resolve gfortran references. I have found two gfortran libraries on the system:</div>
<div>/usr/lib/gcc/x86_64-redhat-linux/4.1.1/libgfortran.a</div>
<div>and</div>
<div>/usr/lib64/libgfortran.so.1</div>
<div></div>
<div>I explicitly link to both libraries in the ncargf77 script. That resolves the libgfortran errors.
</div>
<div></div>
<div>The remaining errors are as follows:</div>
<div>Compiling and linking...</div>
<div>gfortran -fPIC -fno-second-underscore -O -o cpex08 cpexcc.f cpex08.f -L/tec/mannucci/tiegcm/ncarg/lib -L/usr/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender /usr/lib64/libgfortran.so.1
/usr/lib64/libcairo.so.2 /usr/lib/gcc/x86_64-redhat-linux/4.1.1/libgfortran.a</div>
<div>/tec/mannucci/tiegcm/ncarg/lib/libncarg_gks.a(cro.o): In function `GetCROClipping':</div>
<div>cro.c:(.text+0x12c3): undefined reference to `cairo_clip_extents'</div>
<div>/tec/mannucci/tiegcm/ncarg/lib/libncarg_gks.a(cro.o): In function `CROpict_init':</div>
<div>cro.c:(.text+0x13cc): undefined reference to `cairo_clip_extents'</div>
<div>/tec/mannucci/tiegcm/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation':</div>
<div>cro.c:(.text+0x4192): undefined reference to `cairo_ps_surface_set_eps'</div>
<div>/tec/mannucci/tiegcm/ncarg/lib/libncarg_gks.a(cro.o): In function `cro_Cellarray':</div>
<div>cro.c:(.text+0x4a0a): undefined reference to `cairo_pattern_get_rgba'</div>
<div></div>
<div>The compile and link failed.</div>
<div></div>
<div>This appears to be a cairo version problem. Cairo libraries are on the system, but no symbol such as cairo_clip_extents is found (using nm –D).
</div>
<div></div>
<div>I have since successfully binary-installed an earlier version of ncl/ncarg (5.x) that is useable for now.</div>
<div></div>
<div>Additional information is as follows:</div>
<div>gaim{mannucci}243: uname -a</div>
<div>Linux gaim 2.6.18-371.1.2.el5 #1 SMP Mon Oct 7 16:34:35 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux</div>
<div>gaim{mannucci}244: cat /etc/issue</div>
<div>Red Hat Enterprise Linux Server release 5.10 (Tikanga)</div>
<div>Kernel \r on an \m</div>
<div></div>
<div>Help is appreciated. Thanks. </div>
<div></div>
<div>-Tony</div>
<div></div>
<div>-- </div>
<div>Tony Mannucci</div>
<div>Supervisor, Ionospheric and Atmospheric Remote Sensing Group</div>
<div> Mail-Stop 138-308, Tel > (818) 354-1699</div>
<div> Jet Propulsion Laboratory, Fax > (818) 393-5115</div>
<div> California Institute of Technology, Email > <a href="mailto:Tony.Mannucci@jpl.nasa.gov">
Tony.Mannucci@jpl.nasa.gov</a></div>
<div> 4800 Oak Grove Drive, <a href="http://scienceandtechnology.jpl.nasa.gov/people/a_mannucci/">
http://scienceandtechnology.jpl.nasa.gov/people/a_mannucci/</a></div>
<div> Pasadena, CA 91109</div>
<div></div>
<div>_______________________________________________</div>
<div>ncl-install mailing list</div>
<div>List instructions, subscriber options, unsubscribe:</div>
<div><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a></div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>