[gradsusr] gd Library

Jennifer Adams jma at cola.iges.org
Mon Mar 4 10:10:44 EST 2013


On Mar 4, 2013, at 9:43 AM, M.Mahakur wrote:

> Respected Jennifer,
> 
> Thanks for your suggestions.
> I copied the gd from the link, the tar svf gives the same message.
I can't reproduce this error… 

> I have not build yet from this.
> But from the earlier gd when I install freetype and fontconfig the earlier error does not came. But, after some time it gives error:
> 
> make[2]: Entering directory `/gpfs2/home/mmahakur/supplibs/src/gd-2.0.34'
> /bin/sh ./libtool --tag=CC --mode=link xlc  -q64 -I/usr/local/vni/imsl/cnl700/aixxl800a64/include  -L/gpfs2/home/mmahakur/supplibs/src/freetype/lib  -L/gp
> fs2/home/mmahakur/supplibs/src/libpng/lib  -L/usr/X11R6/lib -L/gpfs2/home/mmahakur/supplibs/src/fontconfig/lib -L/gpfs2/home/mmahakur/supplibs/src/jpeg/li
> b -o libgd.la -rpath /gpfs2/home/mmahakur/supplibs/src/gd/lib -version-info 2:0:0  gd.lo gdfx.lo gd_security.lo gd_gd.lo gd_gd2.lo gd_io.lo gd_io_dp.lo gd
> _gif_in.lo gd_gif_out.lo gd_io_file.lo gd_io_ss.lo gd_jpeg.lo gd_png.lo gd_ss.lo gd_topal.lo gd_wbmp.lo gdcache.lo gdfontg.lo gdfontl.lo gdfontmb.lo gdfon
> ts.lo gdfontt.lo gdft.lo gdhelpers.lo gdkanji.lo gdtables.lo gdxpm.lo wbmp.lo -liconv -lXpm -lX11 -ljpeg -lfreetype -lpng12 -lz -lm
> grep: can't open /opt/freeware/lib/libintl.la
> sed: Cannot find or open file /opt/freeware/lib/libintl.la.
> libtool: link: `/opt/freeware/lib/libintl.la' is not a valid libtool archive
> make[2]: *** [libgd.la] 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
> 
> In this system there is no file name:  /opt/freeware/lib/libintl.la ! but there is a file with extension .a (not .la).
I have no idea what this is about. What is libintl.la? Is it part of the libm.a? Perhaps you can ask the system administrator. 

> 
> If dap is not that much essential it will be fine. 
Building libdap is hard, because the library version is old and not always easy to compile with newer compilers. 
> 
> 2. tiff: It did not showed error while make but 'make check' shows many:
If you got the library, forget about 'make check'. Don't make your life more difficult than it needs to be. It is highly unlikely that any of the stuff that is not working in the 'make check' protocol is used in GrADS. 

> 
> <snipped>
> 
> If I can get the deatils configure command files and setup from their that will help me.
I'm not sure what you mean by this. Have you seen http://iges.org/grads/gadoc/supplibs.html ?
--Jennifer

> 
> Thanks again.
> 
> With Regards,
> Mahakur
> 
> 
> 
> ----- Original Message -----
> From: Jennifer Adams <jma at cola.iges.org>
> To: GrADS Users Forum <gradsusr at gradsusr.org>
> Sent: Mon, 04 Mar 2013 19:34:38 +0530 (IST)
> Subject: Re: [gradsusr] gd Library
> 
> 
> On Mar 4, 2013, at 5:01 AM, M.Mahakur wrote:
> 
>> 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?
> I don't know! You could try this one: 
> ftp://cola.gmu.edu/grads/Supplibs/2.0/src/gd-2.0.34.tar.gz
> 
>> 
>> 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:
> 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… 
> 
> I have a colleague who has built some of the supplibs on AIX, I will ask him if he has any secrets. 
>> 
>> 
>> 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.
>> <snipped>
>> 
>> 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…
> 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.
> --Jennifer
> 
>> 
>> Thanks and Regards,
>> Mahakur
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
> 
> --
> Jennifer M. Adams
> IGES/COLA
> 4041 Powder Mill Road, Suite 302
> Calverton, MD 20705
> jma at cola.iges.org
> 
> 
> 
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130304/1644738f/attachment-0003.html 


More information about the gradsusr mailing list