On Jan 24, 2011, at 5:36 AM, Tom Marsh wrote:
>
> I am trying once more after a long break to update my package pamela but have been unable to build starlink starting from a read/write git clone command. I got through the bootstrap, but on 'make configure-deps' it fell over in tclsys/blt with the same error as 8 months or so ago, which is appended below. After much fiddling including installing tcl and expat development libraries, still no luck.
>
This problem seems to come up a lot on the mailing list.
> The best I could come up with is that it is not passing through a HAVE_LIBXFT directive because if I comment out a couple of line as follows in bltPictDraw.c it seems to proceed.
>
You can just do that if you want the build to work since BLT is only used in GAIA anyhow (so you'll be able to get pamela updated).
> Any help appreciated, as otherwise I am going to have to give up again,
>
No!!!!
>
> 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’
The solutions in the past have been:
- is there an old freetype2 library in the system (eg in /usr/local)
- is xorg-x11-devel installed (provides Xft.h) (although as Peter pointed out last July, if that was missing then Tk would not build).
in your blt/config.log did it look like the Xft.h usability test was including any strange -I arguments?
I see that last summer there were some patches to the repository so it might be time for me to sync up with the blt CVS repository.
--
Tim Jenness
Joint Astronomy Centre
|