[gradsusr] Errors for "make" and grads-2.1.0

Matt Bunkers - NWS Rapid City matthew.bunkers at noaa.gov
Wed Dec 7 10:53:20 EST 2016


Hi Jennifer,

1.  I believe so because of the following error I get.  Doing a Google
search says that the only way around this is to compile the source code.

matthew.bunkers at sac2-> /usr1/grads-2.1.0_bin/bin/grads
/usr1/grads-2.1.0_bin/bin/grads: /lib/libc.so.6: version `GLIBC_2.7' not
found (required by /usr1/grads-2.1.0_bin/bin/grads)
matthew.bunkers at sac2->

2.  The configure script said:  - cairo disabled

3.  This variable doesn't appear to be defined:

matthew.bunkers at sac2-> echo $SUPPLIBS
SUPPLIBS: Undefined variable.
matthew.bunkers at sac2->

Thanks,

-- Matt


On Wed, Dec 7, 2016 at 5:57 AM, Jennifer M Adams <jadams21 at gmu.edu> wrote:

> Hi, Matt -
> 1. Is it absolutely necessary for you to build GrADS from source?
> 2. Are you sure that the configure script reported that Cairo was enabled?
> 3. What is your environment variable $SUPPLIBS set to?
> —Jennifer
>
> On Dec 5, 2016, at 5:45 PM, Matt Bunkers - NWS Rapid City <
> matthew.bunkers at noaa.gov> wrote:
>
> Hi,
>
> I get the following error messages when running the make command for
> grads-2.1.0 (the configure command worked fine).  I did a search on the
> errors and I seem to have all of the needed software installed.
>
> Has anyone else noticed these errors and found a way around them?
>
> Thanks,
>
> -- Matt
>
> =============================================
>
> matthew.bunkers at sac2-> make
> Making all in src
> make[1]: Entering directory `/usr1/grads-2.1.0/src'
> make  all-am
> make[2]: Entering directory `/usr1/grads-2.1.0/src'
> gcc -DHAVE_CONFIG_H -I. -I. -I.                   -g -O2 -rdynamic -c gxX.c
> gxX.c:19:19: error: cairo.h: No such file or directory
> gxX.c:20:24: error: cairo-xlib.h: No such file or directory
> In file included from gxX.c:24:
> gxC.h:41: error: expected ‘)’ before ‘*’ token
> gxC.h:63: error: expected ‘)’ before ‘*’ token
> gxC.h:64: error: expected ‘)’ before ‘*’ token
> gxX.c:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
> ‘*’ token
> gxX.c: In function ‘gxdbgn’:
> gxX.c:222: error: ‘surface’ undeclared (first use in this function)
> gxX.c:222: error: (Each undeclared identifier is reported only once
> gxX.c:222: error: for each function it appears in.)
> gxX.c: In function ‘gxdend’:
> gxX.c:229: error: ‘surface’ undeclared (first use in this function)
> gxX.c: In function ‘gxddbl’:
> gxX.c:430: error: ‘surface2’ undeclared (first use in this function)
> gxX.c:430: error: ‘surface’ undeclared (first use in this function)
> gxX.c:430: error: ‘CAIRO_CONTENT_COLOR_ALPHA’ undeclared (first use in
> this function)
> gxX.c: In function ‘gxdswp’:
> gxX.c:444: error: ‘surface’ undeclared (first use in this function)
> gxX.c:444: error: ‘surface2’ undeclared (first use in this function)
> gxX.c: In function ‘gxdsgl’:
> gxX.c:453: error: ‘surface2’ undeclared (first use in this function)
> gxX.c:456: error: ‘surface’ undeclared (first use in this function)
> gxX.c: In function ‘gxdrdw’:
> gxX.c:477: error: ‘surface’ undeclared (first use in this function)
> make[2]: *** [gxX.o] Error 1
> make[2]: Leaving directory `/usr1/grads-2.1.0/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/usr1/grads-2.1.0/src'
> make: *** [all-recursive] Error 1
> matthew.bunkers at sac2->
>
>
> *I seem to have cairo.h and cairo-xlib.h per the output below:*
>
> matthew.bunkers at sac2-> locate cairo.h
> /usr/include/cairo/cairo.h
> /usr/include/gtk-2.0/gdk/gdkcairo.h
> /usr/include/pango-1.0/pango/pangocairo.h
> /usr/include/xulrunner-17.0.10/cairo/cairo.h
> /usr1/anaconda2/include/cairo/cairo.h
> /usr1/anaconda2/include/pycairo/pycairo.h
> /usr1/anaconda2/pkgs/cairo-1.12.18-6/include/cairo/cairo.h
> /usr1/anaconda2/pkgs/pycairo-1.10.0-py27_0/include/pycairo/pycairo.h
> matthew.bunkers at sac2->
>
> matthew.bunkers at sac2-> locate cairo-xlib.h
> /usr/include/cairo/cairo-xlib.h
> /usr/include/xulrunner-17.0.10/cairo/cairo-xlib.h
> /usr1/anaconda2/include/cairo/cairo-xlib.h
> /usr1/anaconda2/pkgs/cairo-1.12.18-6/include/cairo/cairo-xlib.h
> matthew.bunkers at sac2->
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
> --
> Jennifer Miletta Adams
> Center for Ocean-Land-Atmosphere Studies (COLA)
> George Mason University
>
>
>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161207/b3fa0a64/attachment.html 


More information about the gradsusr mailing list