[ncl-install] can't build ncl 6.1.2 on ubuntu 13.10 (can't find ncarg/hlu/hlu.h)

Mary Haley haley at ucar.edu
Thu Aug 15 13:08:29 MDT 2013


Hi Bill,

It looks the "Makefile" in the $NCARG/ni/src/lib/hlu directory didn't get generated properly, and hence the HLU include files didn't get installed to ncarg/hlu:

Making Makefiles in ./ni/src/lib/hlu
make[5]: Entering directory `/share/apps/ncl_ncarg-6.1.2/ni/src/lib/hlu'
make[5]: *** No rule to make target `Makefiles'.  Stop.

Did you by any chance modify the file "/share/apps/ncl_ncarg-6.1.2/ni/src/lib/hlu/yMakefile"?
If so, there may be something wrong with it.

--Mary

On Aug 15, 2013, at 11:57 AM, Bill Broadley wrote:

> 
> My system identified itself as LINUX, so I edited config/LINUX and 
> changed only:
> #define FcOptions      -fPIC -fno-second-underscore -fno-range-check
> #define ArchRecLibSearch
> #define ArchRecIncSearch
> 
> The -fno-range-check prevents a fatal error during compile, already 
> included for other platforms.
> 
> All my dependencies are handled by the CPATH and LIBRARY_PATH 
> environment variables.  I can't find any command not founds.  make -j 
> causes graphc and fontc to not be found.
> 
> My Site.local file:
> #ifdef FirstSite
> #endif /* FirstSite */
> #ifdef SecondSite
> #define YmakeRoot /share/apps/ncl_ncarg-6.1.2
> #define NetCDFlib -lnetcdf
> #define BuildHDFEOS 0
> #define HDFEOSlib
> #define BuildHDFEOS5 0
> #define HDFEOS5lib
> #define NoMakeDepend
> #endif /* SecondSite */
> 
> I searched the log with:
> $ cat make-output |egrep -i "not found|Command|no such|error|fatal|cannot"
> 
> Pretty much the only error I find is a bunch of:
> gcc -ansi -fPIC  -O    -o idt w_idt.o w_file.o file.o glob.o w_display.o 
> display
> .o w_dialog.o   commands.o talkto.o xrubber.o scroll.o w_text.o 
> spooler.o w_icon
> .o      xt_env.o animate.o animate_cb.o 
> -L../../../.././ncarview/src/lib/libcgm
> -lcgm -L../../../.././common/src/libncarg_c -lncarg_c 
> -L/share/apps/ncl_ncarg-6.1.2/lib  -lXaw -lXmu -lXt -lSM -lICE -lXext 
> -lX11 -lXext -lm
> wrapper.h:4:27: fatal error: ncarg/hlu/hlu.h: No such file or directory
> 
> Where does that hlu.h get copied from?  I'm guessing it's a relatively 
> silent error and I can look more closely at the makefile if I can figure 
> out which directory it's from.
> 
> The log is 20k lines, so I'll provide a link to it:
> http://cse.ucdavis.edu/bill/make-output
> _______________________________________________
> 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