[gradsusr] gd Library

M.Mahakur mmahakur at tropmet.res.in
Mon Mar 4 05:01:09 EST 2013


Respected All,

I am trying to build ver-2 GrADS in ibm-aix5.3.0.0, trying to prepare the supp libs. The gd lib. copied from the link :

ftp://cola.gmu.edu/grads/Supplibs/2.1/src/gd-2.0.34.tar.gz

prompts:


gd-2.0.34/config/Makefile.am
...
...
...
gd-2.0.34/windows/Makefile
tar: A lone zero block at 7351

1. Is it ok?

Even if an error I tried to proceed further:
./configure --disable-shared \
--with-png=$HOME/supplibs/src/libpng \
--with-jpeg=$HOME/supplibs/src/jpeg \
--prefix=$HOME/supplibs/src/gd

It showed at the end:

** Configuration summary for gd 2.0.34:

   Support for PNG library:          
   Support for JPEG library:         yes
   Support for Freetype 2.x library: no
   Support for Fontconfig library:   yes
   Support for Xpm library:          yes
   Support for pthreads:             yes

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/Makefile
config.status: creating config/gdlib-config
config.status: creating test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
bash-3.2$ 

2. WHETHER I NEED TO INSTALL "freetype" lib FIRST? The make leaves with errors:


 xlc -DHAVE_CONFIG_H -I. -I. -I. -I/gpfs2/home/mmahakur/supplibs/src/jpeg/include -q64 -I/usr/local/vni/imsl/cnl700/aixxl800a64/include -c gdfontt.c -o gdfontt.o
source='gdft.c' object='gdft.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/sh ./config/depcomp \
/bin/sh ./libtool --tag=CC --mode=compile xlc -DHAVE_CONFIG_H -I. -I. -I.   -I/gpfs2/home/mmahakur/supplibs/src/jpeg/include  -q64 -I/usr/local/vni/imsl/cnl700/aixxl800a64/include -c -o gdft.lo gdft.c
 xlc -DHAVE_CONFIG_H -I. -I. -I. -I/gpfs2/home/mmahakur/supplibs/src/jpeg/include -q64 -I/usr/local/vni/imsl/cnl700/aixxl800a64/include -c gdft.c -o gdft.o
"gdft.c", line 113.10: 1506-296 (S) #include file <freetype/freetype.h> not found.
"gdft.c", line 114.10: 1506-296 (S) #include file <freetype/ftglyph.h> not found.
"gdft.c", line 115.10: 1506-296 (S) #include file <freetype/ftsizes.h> not found.
"gdft.c", line 136.3: 1506-046 (S) Syntax error.
"gdft.c", line 145.3: 1506-046 (S) Syntax error.
"gdft.c", line 437.12: 1506-275 (S) Unexpected text err encountered.
"gdft.c", line 437.3: 1506-045 (S) Undeclared identifier FT_Error.
"gdft.c", line 448.6: 1506-022 (S) "library" is not a member of "struct {...}".
"gdft.c", line 448.19: 1506-022 (S) "library" is not a member of "struct {...}".
"gdft.c", line 477.25: 1506-022 (S) "library" is not a member of "struct {...}".
"gdft.c", line 477.54: 1506-022 (S) "face" is not a member of "struct {...}".
"gdft.c", line 477.3: 1506-045 (S) Undeclared identifier err.
"gdft.c", line 486.29: 1506-022 (S) "face" is not a member of "struct {...}".
"gdft.c", line 507.20: 1506-022 (S) "face" is not a member of "struct {...}".
"gdft.c", line 605.19: 1506-046 (S) Syntax error.
"gdft.c", line 621.27: 1506-045 (S) Undeclared identifier bitmap.
"gdft.c", line 633.40: 1506-045 (S) Undeclared identifier ft_pixel_mode_grays.
"gdft.c", line 642.45: 1506-045 (S) Undeclared identifier ft_pixel_mode_mono.
"gdft.c", line 786.8: 1506-166 (S) Definition of function FT_Library requires parentheses.
"gdft.c", line 786.19: 1506-276 (S) Syntax error: possible missing '{'?
"gdft.c", line 799.25: 1506-045 (S) Undeclared identifier library.
"gdft.c", line 823.26: 1506-045 (S) Undeclared identifier library.
"gdft.c", line 843.13: 1506-275 (S) Unexpected text matrix encountered.
"gdft.c", line 843.3: 1506-045 (S) Undeclared identifier FT_Matrix.
"gdft.c", line 844.13: 1506-275 (S) Unexpected text penf encountered.
"gdft.c", line 844.3: 1506-045 (S) Undeclared identifier FT_Vector.
"gdft.c", line 844.28: 1506-045 (S) Undeclared identifier delta.
"gdft.c", line 844.47: 1506-046 (S) Syntax error.
"gdft.c", line 844.73: 1506-045 (S) Undeclared identifier glyph_min.
"gdft.c", line 845.3: 1506-045 (S) Undeclared identifier FT_Face.
"gdft.c", line 846.3: 1506-045 (S) Undeclared identifier FT_CharMap.
"gdft.c", line 847.3: 1506-045 (S) Undeclared identifier FT_Glyph.
"gdft.c", line 848.3: 1506-045 (S) Undeclared identifier FT_GlyphSlot.
"gdft.c", line 849.3: 1506-045 (S) Undeclared identifier FT_Error.
"gdft.c", line 850.3: 1506-045 (S) Undeclared identifier FT_UInt.
"gdft.c", line 1401.10: 1506-296 (S) #include file <fontconfig/fontconfig.h> not found.
make[2]: *** [gdft.lo] Error 1
make[2]: Leaving directory `/gpfs2/home/mmahakur/supplibs/src/gd-2.0.34'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/gpfs2/home/mmahakur/supplibs/src/gd-2.0.34'
make: *** [all] Error 2
bash-3.2$ 

The original source of gd seems to be down: http://www.boutell.com/gd/ !

Altough not in sequence I even installed the 'freetype-2.4.4' (obtained from the same URL). I do not know how to overcome this. I have problems with dap also.. I will sent separately...

Thanks and Regards,
Mahakur



More information about the gradsusr mailing list