[ncl-install] "make includes" in ni/src/ncl/ failed due to NclNewGroup.h

Mary Haley haley at ucar.edu
Fri Mar 21 16:04:04 MDT 2014


Hi Armelius,

Sorry for the confusion on that documentation, and thanks for letting us know about it.
I'll get that fixed soon.

--Mary

On Mar 21, 2014, at 2:49 PM, Armelius Cameron <armeliusc at gmail.com> wrote:

> Hello,
> Sorry for the delay, but I was finally able to get back to this and
> have NCL built and installed.
> 
> I believe that my earlier issue was with the Makefile, as Mary pointed
> out. I have downloaded the yMakefile.ncl.fix, thinking that I needed
> that. The documentation tripped me out
> (http://www.ncl.ucar.edu/Download/build_from_src.shtml). Right at the
> bottom of the section "Download the Source Code for NCL", after the
> instruction for ncl 6.1.2, there's this paragraph:
> 
> "Note: there's a minor bug in one of the yMakefiles in the source
> code. If you plan to build NCL with GDAL support turned off, you will
> need to download this yMakefile.ncl.fix file, rename it to
> "yMakefile", and put it in the $NCARG/ni/src/ncl directory before you
> start the build."
> 
> Apparently this is no longer needed since 6.1.2. This is mentioned at
> the top of the page, but I guess I didn't remember that when I tried
> to follow the documentation to install. I believe it should be
> removed.
> 
> So, thanks again for pointing out the issue with the Makefile.
> 
> Best,
> AC
> 
> 
> 
> On Fri, Mar 7, 2014 at 2:58 PM, Mary Haley <haley at ucar.edu> wrote:
>> AC,
>> 
>> First, is there a reason you need to build from source code? We highly recommend people download one of our precompiled binaries, since the source code is difficult to build.
>> 
>> Something doesn't quite compute here, because "NclNewGroup.h" shouldn't be referenced in the NCL 6.1.2 source code. It almost seems like you have an old Makefile left over from an older build of NCL.
>> 
>> I believe NCL Version 6.1.0 was the last version that referenced this file.
>> 
>> 
>> Is it possible that somehow the 6.1.2 source code and the old Makefiles are getting mixed?  One possibility is that you have both "makefile" and "Makefile" in your directory?
>> 
>> --Mary
>> 
>> On Mar 7, 2014, at 7:16 AM, Armelius Cameron <armeliusc at gmail.com> wrote:
>> 
>>> Hello,
>>> I am trying to build NCL from source, following the instruction on the
>>> website. The build (make Everything) finish but I didn't get a complete build
>>> when I compare my list of files with the one in
>>> http://www.ncl.ucar.edu/Download/files/NCL_NCARG_files.txt.
>>> 
>>> Especially, the binary "ncl" was not built for some reason.
>>> 
>>> Looking at make-output, the first sign of trouble seems to be on this line:
>>> 
>>> Making includes in ./ni/src/ncl
>>> make[4]: Entering directory `/sw/ncl/6.1.2/ncl_ncarg-6.1.2/ni/src/ncl'
>>> make[4]: *** No rule to make target `NclNewGroup.h', needed by `includes'.
>>> Stop.
>>> make[4]: Leaving directory `/sw/ncl/6.1.2/ncl_ncarg-6.1.2/ni/src/ncl'
>>> 
>>> I did a search for that file in the entire code base (with "find") but couldn't
>>> find it. It that include file supposed to be generated somehow?
>>> 
>>> Thank you in advance for any help.
>>> 
>>> AC
>>> _______________________________________________
>>> ncl-install mailing list
>>> List instructions, subscriber options, unsubscribe:
>>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
>> 



More information about the ncl-install mailing list