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

Jennifer M Adams jadams21 at gmu.edu
Wed Dec 7 07:57:20 EST 2016


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<mailto: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<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161207/4a4c3ec7/attachment-0001.html 


More information about the gradsusr mailing list