<div dir="ltr"><div class="gmail_default" style="font-size:small">It looks to me like your system cairo library is either old or just incompatible with NCL.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Here's the error:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style><div class="gmail_default" style="font-size:small">pgcc -tp k8-64 -O -Msignextend -Mreentrant -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp -O -I../../../.././include -I/usr/include -I/usr/include/X11 -I/opt/cray/hdf5/1.8.13/PGI/141/include -I/opt/cray/netcdf/4.3.2/PGI/141/include -I/app/ncar/szip/2.1-pgi/include -I/app/ncar/udunits/2.2.17-pgi/include \</div><div class="gmail_default" style="font-size:small">-I/usr/include/freetype2 -I/app/ncar/hdf/hdf-4.2.10-1-1/include -DLinux -DCTXT -DX11 -DPS -DPDF -DPIX -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o cro_device.o cro_device.c</div><div class="gmail_default" style="font-size:small">PGC-S-0040-Illegal use of symbol, FT_Face (/usr/include/cairo/cairo-ft.h: 60)</div><div class="gmail_default" style="font-size:small">PGC-W-0156-Type not specified, 'int' assumed (/usr/include/cairo/cairo-ft.h: 60)</div><div class="gmail_default" style="font-size:small">PGC-S-0040-Illegal use of symbol, FT_Face (/usr/include/cairo/cairo-ft.h: 64)</div><div class="gmail_default" style="font-size:small">PGC-W-0156-Type not specified, 'int' assumed (/usr/include/cairo/cairo-ft.h: 64)</div><div class="gmail_default" style="font-size:small">PGC/x86-64 Linux 14.2-0: compilation completed with severe errors</div><div class="gmail_default" style="font-size:small">make[5]: *** [cro_device.o] Error 2</div><div style="font-size:small"><br></div><div style="font-size:small">My suggestion is to install your own version of cairo (and probably freetype and pixman-1 as well) using the instructions found here:</div><div style="font-size:small"><br></div><div style><a href="http://www.ncl.ucar.edu/Download/build_from_src.shtml#cairo">http://www.ncl.ucar.edu/Download/build_from_src.shtml#cairo</a><br></div><div style><br></div><div style>It's important to download cairo 1.12.16 or later.</div><div style><br></div><div style>You will then need to edit $NCARG/config/Site.local and add the new library and include paths, if you install these in different directories from where your other external software for NCL resides.</div><div style><br></div><div style>The place to add it to are these two lines (these are samples only):</div><div style><br></div><div style><div>#define LibSearch -L/usr/local/lib</div><div>#define IncSearch -I/usr/local/include -I/usr/local/include/freetype2 </div><div><br></div><div>Note, however, that in order for the freetype include files to be found, you need something of the form -I/xxx/yyy/include/freetype2</div><div><br></div></div><div style>--Mary</div><div style><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 10, 2014 at 12:16 PM, Mr. Darwin G. Adams (Contractor) <span dir="ltr"><<a href="mailto:adamsdg.ctr@afrl.hpc.mil" target="_blank">adamsdg.ctr@afrl.hpc.mil</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mary,<br>
I am attaching my current make.log file you requested.<br>
<br>
I added the link to the freetpye2 directory and resolved the PGC-F010206-cant find include file freetype.config/ftheader.h error messages.<br>
<br>
I still have probable issues with the GKS library. You suggested the snipped below, but no change obsevred in the make.log file.<br>
<br>
cd $NCARG/ncarg2d/src/libncarg_<u></u>gks<br>
rm awi/ggkwdr_stub.o<br>
make all install<br>
<br>
Also in the make.log file I have these:<br>
<br>
pgcc -c -DLINUX64 -tp k8-64 -O -Msignextend -Mreentrant -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O -I../../../.././include -I/usr/include -I/usr/include/X11 -I/opt/cray/hdf5/1.8.13/PGI/<u></u>141/include -I/opt/cray/netcdf/4.3.2/PGI/<u></u>141/include -I/app/ncar/szip/2.1-pgi/<u></u>include -I/app/ncar/udunits/2.2.17-<u></u>pgi/include -I/usr/include/freetype2 -I/app/ncar/hdf/hdf-4.2.10-1-<u></u>1/include -DLinux -DMAJOR=3 -DUSE_NETCDF4 -DBuildHDF5 -DNIO_LIB_ONLY -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto NclHDF.c<br>
PGC-F-0206-Can't find include file mfhdf.h (NclHDF.c: 32)<br>
PGC/x86-64 Linux 14.2-0: compilation aborted<br>
make[5]: *** [NclHDF.o] Error 2<br>
<br>
<br>
gcc -tp k8-64 -O -Msignextend -Mreentrant -fPIC -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -mp -O -I../../../.././include -I/usr/include -I/usr/include/X11 -I/opt/cray/hdf5/1.8.13/PGI/<u></u>141/include -I/opt/cray/netcdf/4.3.2/PGI/<u></u>141/include -I/app/ncar/szip/2.1-pgi/<u></u>include -I/app/ncar/udunits/2.2.17-<u></u>pgi/include -I/usr/include/freetype2 -I/app/ncar/hdf/hdf-4.2.10-1-<u></u>1/include -DLinux -DCTXT -DX11 -DPS -DPDF -DPIX -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto -c -o cro_device.o cro_device.c<br>
PGC-S-0040-Illegal use of symbol, FT_Face (/usr/include/cairo/cairo-ft.<u></u>h: 60)<br>
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/cairo/cairo-ft.<u></u>h: 60)<br>
PGC-S-0040-Illegal use of symbol, FT_Face (/usr/include/cairo/cairo-ft.<u></u>h: 64)<br>
PGC-W-0156-Type not specified, 'int' assumed (/usr/include/cairo/cairo-ft.<u></u>h: 64)<br>
PGC/x86-64 Linux 14.2-0: compilation completed with severe errors<br>
make[5]: *** [cro_device.o] Error 2<br>
<br>
<br>
<br>
The cario 1.8.8 libraries (at least the header files) appear to be installed.<br>
<br>
/usr/include/cairo<br>
include/cairo> ls -l<br>
total 136<br>
-rw-r--r-- 1 root root 9452 May 9 2010 cairo-deprecated.h<br>
-rw-r--r-- 1 root root 571 May 9 2010 cairo-features.h<br>
-rw-r--r-- 1 root root 2491 May 9 2010 cairo-ft.h<br>
-rw-r--r-- 1 root root 79860 May 9 2010 cairo.h<br>
-rw-r--r-- 1 root root 2305 May 9 2010 cairo-pdf.h<br>
-rw-r--r-- 1 root root 3586 May 9 2010 cairo-ps.h<br>
-rw-r--r-- 1 root root 2777 May 9 2010 cairo-svg.h<br>
-rw-r--r-- 1 root root 147 May 9 2010 cairo-version.h<br>
-rw-r--r-- 1 root root 2350 May 9 2010 cairo-xcb.h<br>
-rw-r--r-- 1 root root 2174 May 9 2010 cairo-xcb-xrender.h<br>
-rw-r--r-- 1 root root 3053 May 9 2010 cairo-xlib.h<br>
-rw-r--r-- 1 root root 2432 May 9 2010 cairo-xlib-xrender.h<br>
<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>