<div dir="ltr"><div class="gmail_default" style="font-size:small">Thanks Orion, I'll check with our developers to make sure they get this fix in.</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 19, 2015 at 2:41 PM, Orion Poplawski <span dir="ltr"><<a href="mailto:orion@cora.nwra.com" target="_blank">orion@cora.nwra.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Mary:<br>
<br>
Here's my full Site.local:<br>
<br>
#define YmakeRoot $(DESTDIR)/usr<br>
#define ManRoot $(DESTDIR)/usr/share/man<br>
#define LibRoot $(DESTDIR)/usr/lib64/ncarg<br>
#define SharePath $(DESTDIR)/usr/share<br>
<br>
#define BuildWithF90 TRUE<br>
#define IncSearch -I/usr/include/hdf -I/usr/include/netcdf<br>
-I/usr/include/udunits2 -I/usr/include/freetype2 -I/usr/include/gdal<br>
#define LibSearch -L/usr/lib64/hdf<br>
<br>
#define BuildNetCDF4 1<br>
#define NetCDF4lib -lnetcdf<br>
#define BuildCAIRO 1<br>
#define CAIROlib -lcairo -lfreetype<br>
#define BuildGDAL 1<br>
#define GDALlib -lgdal -lproj<br>
<span class="">#define BuildHDFEOS 0<br>
#define BuildHDFEOS5 0<br>
</span>#define BuildTRIANGLE 0<br>
#define HDFlib -lmfhdf -ldf -ljpeg -lz<br>
#define HDF5lib -lhdf5_hl -lhdf5<br>
#define BuildUdunits 1<br>
#define UdUnitslib -ludunits2<br>
<br>
I run:<br>
<br>
./config/ymkmf<br>
<br>
to update the Makefiles.<br>
<br>
I think the problem is in ni/src/lib/nio/yMakefile, where NclNewHDFEOS5 is<br>
listed in STATIC_SRCS/STATIC_OBJS instead of being conditionally added to<br>
HDFEOF5_SRCS/OBJS or similar. Removing it from the STATIC_SRCS/OBJS allows my<br>
build to complete.<br>
<br>
- Orion<br>
<span class=""><br>
On 03/19/2015 02:15 PM, Mary Haley wrote:<br>
> Hi Orion,<br>
><br>
> I did a test build a few days ago where I turned off *all* the optional<br>
> features and it worked fine for me.<br>
><br>
> I just now tried it by just turning off these two features, and it also worked<br>
> fine for me.<br>
><br>
> I have only four lines in my Site.local file:<br>
><br>
> #define BuildHDFEOS 0<br>
> #define BuildHDFEOS5 0<br>
> #define LibSearch ....<br>
> #define IncSearch ....<br>
><br>
> You have to make sure to update your Makefiles if you change the Site.local file;<br>
><br>
> cd $NCARG<br>
> make Makefiles<br>
><br>
> or, to try it locally in a directory:<br>
><br>
> cd $NCARG/ni/src/ncl<br>
> make me<br>
> make<br>
><br>
> --Mary<br>
><br>
><br>
> On Thu, Mar 19, 2015 at 12:45 PM, Orion Poplawski <<a href="mailto:orion@cora.nwra.com">orion@cora.nwra.com</a><br>
</span><span class="">> <mailto:<a href="mailto:orion@cora.nwra.com">orion@cora.nwra.com</a>>> wrote:<br>
><br>
> I'm compiling without HDFEOS support:<br>
><br>
> config/Site.local:#define BuildHDFEOS 0<br>
> config/Site.local:#define BuildHDFEOS5 0<br>
><br>
> but it still insists on trying (and failing) to compile NclHDFEOS5.c:<br>
><br>
> NclNewHDFEOS5.c:34:27: fatal error: HE5_HdfEosDef.h: No such file or directory<br>
><br>
> which then fails to build libnio.<br>
><br>
><br>
> --<br>
> Orion Poplawski<br>
> Technical Manager <a href="tel:303-415-9701%20x222" value="+13034159701">303-415-9701 x222</a><br>
</span>> <tel:303-415-9701%20x222><br>
> NWRA, Boulder/CoRA Office FAX: <a href="tel:303-415-9702" value="+13034159702">303-415-9702</a> <tel:<a href="tel:303-415-9702" value="+13034159702">303-415-9702</a>><br>
> 3380 Mitchell Lane <a href="mailto:orion@nwra.com">orion@nwra.com</a><br>
> <mailto:<a href="mailto:orion@nwra.com">orion@nwra.com</a>><br>
<div class="HOEnZb"><div class="h5">> Boulder, CO 80301 <a href="http://www.nwra.com" target="_blank">http://www.nwra.com</a><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>
><br>
<br>
<br>
--<br>
Orion Poplawski<br>
Technical Manager <a href="tel:303-415-9701%20x222" value="+13034159701">303-415-9701 x222</a><br>
NWRA, Boulder/CoRA Office FAX: <a href="tel:303-415-9702" value="+13034159702">303-415-9702</a><br>
3380 Mitchell Lane <a href="mailto:orion@nwra.com">orion@nwra.com</a><br>
Boulder, CO 80301 <a href="http://www.nwra.com" target="_blank">http://www.nwra.com</a><br>
</div></div></blockquote></div><br></div>