<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 4, 2013, at 5:01 AM, M.Mahakur wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Respected All,<br><br>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 :<br><br><a href="ftp://cola.gmu.edu/grads/Supplibs/2.1/src/gd-2.0.34.tar.gz">ftp://cola.gmu.edu/grads/Supplibs/2.1/src/gd-2.0.34.tar.gz</a><br><br>prompts:<br><br><br>gd-2.0.34/config/Makefile.am<br>...<br>...<br>...<br>gd-2.0.34/windows/Makefile<br>tar: A lone zero block at 7351<br><br>1. Is it ok?<br></div></blockquote>I don't know! You could try this one: </div><div><a href="ftp://cola.gmu.edu/grads/Supplibs/2.0/src/gd-2.0.34.tar.gz">ftp://cola.gmu.edu/grads/Supplibs/2.0/src/gd-2.0.34.tar.gz</a></div><div><br><blockquote type="cite"><div><br>Even if an error I tried to proceed further:<br>./configure --disable-shared \<br>--with-png=$HOME/supplibs/src/libpng \<br>--with-jpeg=$HOME/supplibs/src/jpeg \<br>--prefix=$HOME/supplibs/src/gd<br><br>It showed at the end:<br><br>** Configuration summary for gd 2.0.34:<br><br> Support for PNG library: <br> Support for JPEG library: yes<br> Support for Freetype 2.x library: no<br> Support for Fontconfig library: yes<br> Support for Xpm library: yes<br> Support for pthreads: yes<br><br>configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: creating config/Makefile<br>config.status: creating config/gdlib-config<br>config.status: creating test/Makefile<br>config.status: creating config.h<br>config.status: executing depfiles commands<br>bash-3.2$ <br><br>2. WHETHER I NEED TO INSTALL "freetype" lib FIRST? The make leaves with errors:<br></div></blockquote>Even though the config summary says support for Freetype is not configured, it is still looking for freetype include files. So perhaps you need to specify --without-Freetype (or similar syntax) when you invoke configure. I'm not entirely sure whether that will work, it's always a bit of a guessing game and AIX compilers are notoriously fussy and annoying. You do not need the Freetype interface in gd for GrADS. You could also try editing the config.h file after running configure to see if it has some flag in there regarding Freetype that you could change from a 1 to a 0… </div><div><br></div><div>I have a colleague who has built some of the supplibs on AIX, I will ask him if he has any secrets. </div><div><blockquote type="cite"><div><br><br> 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<br>source='gdft.c' object='gdft.lo' libtool=yes \<br>DEPDIR=.deps depmode=none /bin/sh ./config/depcomp \<br>/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<br> 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<br>"gdft.c", line 113.10: 1506-296 (S) #include file <freetype/freetype.h> not found.<br>"gdft.c", line 114.10: 1506-296 (S) #include file <freetype/ftglyph.h> not found.<br>"gdft.c", line 115.10: 1506-296 (S) #include file <freetype/ftsizes.h> not found.<br><snipped><br><br>The original source of gd seems to be down: <a href="http://www.boutell.com/gd/">http://www.boutell.com/gd/</a> !<br><br>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. </div></blockquote><div><br></div><br><blockquote type="cite"><div>I have problems with dap also.. I will sent separately…<br></div></blockquote><div>Heh. I don't think you will succeed, BUT you only need the DAP library if you plan to access station data via opendap on your AIX system. Are you sure you need this feature? Opendap access for grids is built into the netcdf library now.</div>--Jennifer</div><div><br><blockquote type="cite"><div><br>Thanks and Regards,<br>Mahakur<br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></div></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span>
</div>
<br></body></html>