<div dir="ltr">Dear Sir or Madam, <div><br></div><div>I still have problem with running NCAR; As you mentioned I went through the steps and configure, make install all the packages including cairo. Then I changed the path as follows in my .bashrc.</div><div><br></div><div><div><font color="#9900ff">export NCARG_ROOT=/usr/local/ncl-6.3.0</font></div><div><font color="#9900ff">export PATH=$NCARG_ROOT/bin/ncargf77:$PATH</font></div><div><font color="#9900ff"><br></font></div><div><font color="#9900ff">set syslibdir = &quot;-L/usr/lib64&quot;</font></div><div><font color="#9900ff">set xlib = &quot;-lX11 -lXext&quot;</font></div><div><font color="#9900ff">set cairolib = &quot;-lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2&quot;</font></div><div><font color="#9900ff">set fortran = &quot;/usr/bin/gfortran&quot;</font></div><div><font color="#9900ff">set loadflags = &quot;-fPIC -fno-second-underscore -fno-range-check -fopenmp -O &quot;</font></div><div><font color="#9900ff">set libdir = `ncargpath lib`</font></div><div><font color="#9900ff">set ro = &quot;$libdir/ncarg/robj&quot;</font></div><div><font color="#9900ff">set libpath = &quot;$libdir $syslibdir&quot;</font></div><div><font color="#9900ff"><br></font></div><div><font color="#9900ff"><br></font></div><div style=""><font color="#000000">And I changed set syslibdir = &quot;<span style="font-size:13px">-L/usr/X11R6/lib64&quot;</span> to set syslibdir = &quot;-L/usr/lib64&quot; in three files in the /usr/local/ncl-6.3.0/bin/. </font><br></div><div><font color="#000000">These files are : ncargf77, ncargcc, and ncargf90. </font></div><div><br></div><div><font color="#000000">Then I ran the code again: </font></div><div><font color="#000000"><br></font></div><div><div style="color:rgb(153,0,255)">[neginm@civ-1215x ~]$ ncargex cpex08 -clean</div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)">NCAR Graphics Fortran  Example &lt;cpex08&gt;</div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)">  Copying cpex08.f</div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)">  Copying cpexcc.f</div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)">Compiling and linking...</div><div style="color:rgb(153,0,255)">/usr/bin/gfortran -fPIC -fno-second-underscore -fno-range-check -fopenmp -O -o cpex08 cpexcc.f cpex08.f -L/usr/local/ncl-6.3.0/lib -L/usr/lib64 -lncarg -lncarg_gks -lncarg_c -lX11 -lXext -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lXrender -lbz2</div><div style="color:rgb(153,0,255)">/usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function `cro_OpenWorkstation&#39;:</div><div style="color:rgb(153,0,255)">cro.c:(.text+0x3efd): undefined reference to `cairo_recording_surface_create&#39;</div><div style="color:rgb(153,0,255)">/usr/local/ncl-6.3.0/lib/libncarg_gks.a(cro.o): In function `cro_ClearWorkstation&#39;:</div><div style="color:rgb(153,0,255)">cro.c:(.text+0x4be5): undefined reference to `cairo_recording_surface_create&#39;</div><div style="color:rgb(153,0,255)">collect2: ld returned 1 exit status</div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)">The compile and link failed.</div><div style=""><font color="#000000"><br></font></div><div style=""><font color="#000000">When I use the command :</font></div><div style=""><font color="#000000"><br></font></div><div style=""><font color="#000000"> [neginm@civ-1215x ~]$ </font><font color="#9900ff">grep X11  /usr/local/ncl-6.3.0/bin/ncar*</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargcc:set xlib     = &quot;-lX11 -lXext&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargcc:    case &quot;-noX11&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:# Default is to load in the X11 library. If the      #</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:# user specifies &quot;-noX11&quot; or &quot;-NCGMonly on the       #</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:# of the X11 library                                 #</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:set X11_option</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:    case &quot;-noX11&quot;:</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:      set X11_option = &quot;-noX11&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:      echo &quot;  This example was set up to demonstrate the X11&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:# &quot;-noX11&quot; only works if going to an NCGM    #</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:if (&quot;$X11_option&quot; == &quot;-noX11&quot; &amp;&amp; &quot;$ws_type&quot; != &quot;1&quot;) then</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:    echo &quot;Warning:  You can only use the &#39;-noX11&#39; option if you are&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:    echo &quot;          sending your output to an NCGM file. The &#39;-noX11&#39;&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:    set xoption = $X11_option</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:# If the workstation type is &quot;8&quot; (X11)  #</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:  echo &quot;      create an X11 window that you must click on with your&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargex:      ctrans -d X11 -geometry 1142x865+10+0 $graphic_file</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargf77:set xlib     = &quot;-lX11 -lXext&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargf77:    case &quot;-noX11&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargf90:set xlib     = &quot;-lX11 -lXext&quot;</font></div><div><font color="#000000">/usr/local/ncl-6.3.0/bin/ncargf90:    case &quot;-noX11&quot;</font></div><div><font color="#000000">Binary file /usr/local/ncl-6.3.0/bin/ncargworld matches</font></div><div><br></div><div><font color="#000000">Please let me know why NCAR still is not working?</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Thank you</font></div><div><font color="#000000"><br></font></div><div><font color="#000000">Negin</font></div><div style="color:rgb(153,0,255)"><br></div><div style="color:rgb(153,0,255)"><br></div></div></div></div>