<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Not sshing on a mac or otherwise. Installed 6.2.1, should also have
mentioned that after install the following test,<br>
<pre><small><font face="sans-serif">ncargex cpex08 -clean</font></small>
</pre>
<big><big><big><small><font face="sans-serif"><small>gave</small></font></small>
</big></big></big>the error below,<br>
<br>
<small>NCAR Graphics Fortran Example <cpex08><br>
<br>
Copying cpex08.f<br>
<br>
Copying cpexcc.f<br>
<br>
Compiling and linking...<br>
gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O
-o cpex08 cpexcc.f cpex08.f -L/home/davcra/ncl/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/bin/ld: cannot find -lX11<br>
/usr/bin/ld: cannot find -lXext<br>
/usr/bin/ld: cannot find -lcairo<br>
/usr/bin/ld: cannot find -lfontconfig<br>
/usr/bin/ld: cannot find -lpixman-1<br>
/usr/bin/ld: cannot find -lfreetype<br>
/usr/bin/ld: cannot find -lexpat<br>
collect2: error: ld returned 1 exit status<br>
<br>
The compile and link failed.<br>
</small><br>
<br>
<br>
On 24/01/15 21:05, Alan Brammer wrote:<br>
<blockquote
cite="mid:CA+V766SLHz2qme8LEg8M+5g4JVNLocQwxO7Yk_jeohirUNBZmg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div style="font-size:12.8000001907349px"><font
style="color:rgb(51,51,51);font-size:13.3333330154419px;line-height:16px;white-space:pre-wrap"
face="arial, helvetica, sans-serif">--Sorry for the double
mail David, forgot to cc ncl-talk.</font><font
style="color:rgb(51,51,51);font-size:13.3333330154419px;line-height:16px;white-space:pre-wrap"
face="courier"> </font><br>
</div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Are you sshing in from
a Mac? Sounds similar to the problems I used to have. In
which case it may be the below. If not, the next question
will be which version of ncl did you install? </div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div style="font-size:12.8000001907349px">Below taken from the
release page. <a moz-do-not-send="true"
href="http://www.ncl.ucar.edu/prev_releases.shtml"
target="_blank">http://www.ncl.ucar.edu/prev_releases.shtml</a></div>
<div style="font-size:12.8000001907349px"><br>
</div>
<div>
<ul style="font-size:13.3333330154419px;margin:0px 0px
5px;padding:0px;list-style-position:inside;color:rgb(0,0,0);font-family:verdana,sans-serif;line-height:16px">
<li style="margin:0px;padding:0px 0px 0px
25px;font-size:10pt;line-height:12pt;color:rgb(51,51,51)">There
is a bug in Apple's new XQuartz windowing system that
causes NCL's cairo X11 window to not display properly on
Mac systems running MacOS 10.8 or later, or on Macs that
have been upgraded to use XQuartz 2.7.x as the default X11
window system.
<p style="margin:10px 0px
20px;padding:0px;font-size:10pt;line-height:12pt"><b
style="margin:0px;padding:0px">Note: as of November
10, 2013, this bug has been fixed by XQuartz. You need
to download and install version 2.7.5 from <a
moz-do-not-send="true"
href="http://xquartz.macosforge.org/"
target="_blank"
style="color:rgb(133,45,133);margin:0px;padding:0px;text-decoration:none;font-weight:normal">http://xquartz.macosforge.org/</a>.
Be sure to kill any old XQuartz servers that are still
running.</b></p>
<p style="margin:10px 0px
20px;padding:0px;font-size:10pt;line-height:12pt">If you
can't upgrade your XQuartz for some reason, then a
work-around is to use "ncl.xq.fix". You must use this
executable in place of "ncl":</p>
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:10pt;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;text-indent:0em"> ncl.xq.fix myscript.ncl
</pre>
If this seems to fix the problem, then you can make this
your default "ncl":
<pre style="white-space:pre-wrap;margin-top:0px;margin-bottom:0px;padding:0px;font-size:10pt;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;text-indent:0em"> mv $NCARG_ROOT/bin/ncl $NCARG_ROOT/bin/ncl.bkp
mv $NCARG_ROOT/bin/ncl.xq.fix $NCARG_ROOT/bin/ncl</pre>
</li>
</ul>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Jan 24, 2015 at 3:09 PM, David
Craig <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:dcdavemail@gmail.com" target="_blank">dcdavemail@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I recently installed ncl on an a linux machine and am having
trouble<br>
with the x11 window. Figures do not plot fully, only a
portion of the<br>
plot displays and the axis etc are missing. My scripts run
fine if I<br>
save to pdf or another format the problem is just with the
x11 window.<br>
<br>
xeyes works correctly so I think the DISPLAY environment
variable is ok.<br>
I don't get any error or warning messages. My system info
is,<br>
<br>
uname -a<br>
Linux davcra-Lenovo-G570 3.13.0-24-generic #47-Ubuntu SMP
Fri May 2<br>
23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux<br>
<br>
Any advice?<br>
<br>
David<br>
<br>
_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>