[ncl-install] failed to install

Mary Haley haley at ucar.edu
Mon May 12 08:19:01 MDT 2014


Hi Frank,

I couldn't let your original post go through because of the size of the attachment, but I got the attachment because I'm one of the admins for ncl-install.

The issue with your NCL build is with this error in your make-output file:

gcc -ansi -fPIC -fopenmp  -O  -I../../../.././include -I/usr/include -I/usr/include/udunits2  -DLinux    -DCTXT -DX11 -DPS -DPDF\
 -DPIX  -DSYSV -D_POSIX_SOURCE -D_XOPEN_SOURCE -DByteSwapped -DNeedFuncProto    -c -o cro_device.o cro_device.c
In file included from cro.h:147,
                 from cro_device.c:26:
/usr/include/cairo/cairo-ft.h:60: error: expected ‘)’ before ‘face’
/usr/include/cairo/cairo-ft.h:64: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cairo_ft_scaled_font_lock_face’

This is not an NCL build issue, but rather an issue with your version of cairo. This issue is causing the GKS library to not get build, which will in turn cause the "ncl" application to not get built.

I googled this error, and one post indicated it had something to do with having too old a version of cairo. 

What version do you have?  We use version 1.12.16. 

You may want to consider upgrading cairo if you have an older version.

--Mary

> From: Kreienkamp Frank <Frank.Kreienkamp at dwd.de>
> Subject: AW: [ncl-install] failed to install
> Date: May 12, 2014 3:32:13 AM MDT
> To: 'Mary Haley' <haley at ucar.edu>
> Cc: "'ncl-install at ucar.edu'" <ncl-install at ucar.edu>
> 
> 
> Hello Mary,
> 
> please find attached the output of the make-procedures.
> 
> Thanks in advance ofr your help
> Frank
> 
> -----Ursprüngliche Nachricht-----
> Von: Mary Haley [mailto:haley at ucar.edu] 
> Gesendet: Freitag, 9. Mai 2014 16:41
> An: Kreienkamp Frank
> Cc: 'ncl-install at ucar.edu'
> Betreff: Re: [ncl-install] failed to install
> 
> Hi Frank,
> 
> This error looks like it's due to the GKS library (libncarg_gks.a) not getting built.
> 
> One "feature" of the NCL build system is that even though some libraries may not successfully build, the build will keep going until it gets to the end. This is because there are several pieces of the NCL build that are independent of each other, and so the build keeps going to get as much done as possible.
> 
> The GKS issue in your case is likely due to an issue with the external fontconfig or cairo library. The build system may not be able to find the necessary include files. 
> 
> Can you send me the full make-output from this failed build?
> 
> Thanks,
> 
> --Mary
> 
> On May 8, 2014, at 10:22 PM, Kreienkamp Frank <Frank.Kreienkamp at dwd.de> wrote:
> 
>> Hello,
>> 
>> we have ask our IT-department to install the current ncl-version on a certain machine. But the failed.
>> 
>> It is a SUSE Linux Enterprise Server 11 SP2 system
>> 
>> And they got the following error message.
>> 
>> gcc -ansi -fPIC -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -O
>> -rdynamic   -o ncl Ncl.o io.o NclHLUObj.o NclApi.o guiFuncs.o
>> NclDriver.o                        scanner.o parser.o MathFuncs.o
>> NclTypedouble.o NclTypefloat.o                    NclTypeint.o
>> NclTypelogical.o           NclTypelong.o NclTypeobj.o
>> NclTypeshort.o NclTypestring.o                  NclTypeint64.o
>> NclTypeuint64.o                   NclTypeubyte.o
>> NclTypeushort.o NclTypeuint.o NclTypeulong.o
>> NclTypebyte.o NclTypechar.o TypeSupport.o       NclMultiDValData.o
>> AddFileFormats.o AttSupport.o DataSupport.o FileSupport.o Formats.o GetGrids.o
>> AdvancedFileSupport.o                   NclAdvancedFile.o
>> NclAdvancedGroup.o                     InitData.o Memory.o NclAtt.o
>> NclCCM.o                   NclCoordVar.o NclData.o NclGroup.o NclFile.o
>> NclFileVar.o                        NclGRIB.o NclMultiDValnclfileData.o
>> NclNetCdf.o NclOneDValCoordData.o NclType.o             NclTypelist.o
>> NclVar.o VarSupport.o                      ctoiee.o date.o qu2reg3.o
>> rowina3.o scm0.o ncepcode.o                     NclHDF.o
>> NclNewHDF5.o NclHDF5.o h5reader.o h5writer.o
>> NclNetCDF4.o                    NclGRIB2.o  AddBuiltIns.o AddHLUObjs.o
>> AddIntrinsics.o Execute.o                       Machine.o OpsFuncs.o
>> SrcTree.o                   Symbol.o Translate.o
>> NclHLUVar.o HLUSupport.o
>> NclMultiDValHLUObjData.o                        BuiltInSupport.o
>> BuiltInFuncs.o                  javaAddProto.o javaAddFuncs.o
>> userAddProto.o userAddFuncs.o                    HLUFunctions.o yywrap.o
>> craybin.o                       complete.o editline.o sysunix.o
>> ListSupport.o                    NclList.o NclMultiDVallistData.o
>> NclProf.o NclTime.o fortranio.o  -L../../.././ni/src/lib/nfp -lnfp -L../../.././ni/src/lib/nfpfort -lnfpfort -L../../.././ni/src/lib/hlu -lhlu -L../../.././ncarg2d/src/libncarg -lncarg -L../../.././ncarg2d/src/libncarg_gks -lncarg_gks -L../../.././common/src/libncarg_c -lncarg_c -L../../.././ngmath/src/lib -lngmath -L/opt/ncarg.new/lib -L/usr/lib64 -lnetcdf -lcurl  -lhdf5_hl
>> -lhdf5  -lmfhdf -ldf -ljpeg -lz -lhdf5_hl -lhdf5  -lz    -ludunits2
>> -lexpat  -lgrib2c -ljasper -lpng -lz -ljpeg -lpng -lz -lcairo -lfontconfig -lpixman-1 -lfreetype -lexpat -lpng -lz -lpthread -lbz2 -lXrender -L../../.././external/sphere3.1_dp -lsphere3.1_dp -L../../.././external/fftpack5_dp -lfftpack5_dp -L../../.././external/lapack -llapack_ncl -L../../.././external/blas -lblas_ncl -lX11 -lXext -lgfortran -lm -lm  -ldl
>> ../../.././ncarg2d/src/libncarg_gks/libncarg_gks.a(gziqwk.o): In function `gziqwk_':
>> gziqwk.f:(.text+0x194): undefined reference to `ggkwdr_'
>> ../../.././ncarg2d/src/libncarg_gks/libncarg_gks.a(gztowk.o): In function `gztowk_':
>> gztowk.f:(.text+0x2e5): undefined reference to `ggkwdr_'
>> gztowk.f:(.text+0x726): undefined reference to `ggkwdr_'
>> gztowk.f:(.text+0xacc): undefined reference to `ggkwdr_'
>> ../../.././ncarg2d/src/libncarg_gks/libncarg_gks.a(s_gesc.o): In function `gescape':
>> s_gesc.c:(.text+0x95): undefined reference to `_NGCescape'
>> collect2: ld returned 1 exit status
>> make: *** [ncl] Fehler 1
>> 
>> 
>> Do you have an idea where the problem is?
>> 
>> Installing 6.1.2 works.
>> 
>> Thanks in advance
>> Frank
>> 
>> 
>> 
>> _______________________________________________
>> ncl-install mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-install
> 
> <make-output>
> 
> 
> From: ncl-install-request at ucar.edu
> Subject: confirm 16ea9a0f7a4d3402dd89292faec1f073840588b0
> 
> 
> If you reply to this message, keeping the Subject: header intact,
> Mailman will discard the held message.  Do this if the message is
> spam.  If you reply to this message and include an Approved: header
> with the list password in it, the message will be approved for posting
> to the list.  The Approved: header can also appear in the first line
> of the body of the reply.
> 



More information about the ncl-install mailing list