Print

Print


Looks like the standard "freetype  package is too old" error from BLT.

On Jul 1, 2010, at 11:25 AM, Malcolm J. Currie wrote:

> After Tim's submodule change I thought I'd rebuild on all systems.  No problems on 64-bit OpenSuSE and EEEbuntu.  On a 32-bit CentOS 5 machine, various odd things failed so I removed the tree and did a fresh clone
> and obtained the submodules.
> 
> At the "make configure-deps" stage the build fails.
> 
> make configure-deps
> cd thirdparty/tclsys/tcl \
>          && test -f config.status || ./configure >configure-output.log 2>configure-output.log.err || { cat configure-output.log.err; false; } \
>          && (make && make install) >make.log 2>make.log.err || { cat make.log.err; false; }
> cd thirdparty/tclsys/tk \
>          && test -f config.status || ./configure >configure-output.log 2>configure-output.log.err || { cat configure-output.log.err; false; } \
>          && (make && make install) >make.log 2>make.log.err || { cat make.log.err; false; }
> cd thirdparty/tclsys/blt \
>          && test -f config.status || ./configure >configure-output.log 2>configure-output.log.err || { cat configure-output.log.err; false; } \
>          && (make && make install) >make.log 2>make.log.err || { cat make.log.err; false; }
> Makefile:520: warning: overriding commands for target `distclean'
> Makefile:461: warning: ignoring old commands for target `distclean'
> configure: WARNING: Could not find Fortran module file extension.
> Makefile:520: warning: overriding commands for target `distclean'
> Makefile:461: warning: ignoring old commands for target `distclean'
> bltPictDraw.c:61: error: expected specifier-qualifier-list before 'XftFont'
> bltPictDraw.c: In function 'CreateSimpleTextLayout':
> bltPictDraw.c:538: error: 'FtFont' has no member named 'height'
> bltPictDraw.c:555: error: 'FtFont' has no member named 'ascent'
> bltPictDraw.c:576: error: 'FtFont' has no member named 'ascent'
> In file included from bltPictDraw.c:805:
> bltPaintDraw.c: In function 'PaintFilledCircle':
> bltPaintDraw.c:904: warning: unused variable 'd'
> bltPaintDraw.c:886: warning: unused variable 'd2'
> bltPaintDraw.c:886: warning: unused variable 'dy'
> bltPaintDraw.c: In function 'PaintRectangleShadow':
> bltPaintDraw.c:1334: warning: unused variable 'tmp'
> bltPaintDraw.c: At top level:
> bltPaintDraw.c:1381: warning: no previous prototype for 'Blt_PaintRectangle'
> bltPictDraw.c: In function 'PaintGrayGlyph':
> bltPictDraw.c:1298: warning: format '%d' expects type 'int', but argument 3 has type 'FT_Pos'
> bltPictDraw.c:1299: warning: format '%d' expects type 'int', but argument 3 has type 'FT_Pos'
> bltPictDraw.c: In function 'ScaleFont':
> bltPictDraw.c:1455: error: 'FtFont' has no member named 'height'
> bltPictDraw.c:1456: error: 'FtFont' has no member named 'ascent'
> bltPictDraw.c:1457: error: 'FtFont' has no member named 'descent'
> bltPictDraw.c: At top level:
> bltPictDraw.c:1904: warning: no previous prototype for 'Blt_PaintPolygon'
> bltPictDraw.c: In function 'TextOp':
> bltPictDraw.c:2819: error: 'FtFont' has no member named 'ascent'
> bltPictDraw.c:2832: error: 'FtFont' has no member named 'ascent'
> bltPictDraw.c: At top level:
> bltPictDraw.c:2984: warning: no previous prototype for 'Blt_PaintCheckbox'
> bltPictDraw.c:3034: warning: no previous prototype for 'Blt_PaintRadioButton'
> make[3]: *** [bltPictDraw.o] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all] Error 2
> make: *** [/export/soft/mjc/classic/manifests/blt] Error 1
> 
> 
> What have I forgotten to do?  The set up is as normal so the PATH and various environment variables are unset/set as normal.  Has some required software been lost?  I had done a system-software update as I don't have this machine on that often.
> 
> Malcolm

-- 
Tim Jenness
Joint Astronomy Centre