|
From: Ethan M. (sfeam) <eam...@gm...> - 2009-12-06 23:07:33
|
On Sunday 06 December 2009, mw...@us... wrote: > Hi All, > > I tried to build 4.4 RC1 on Solaris 9. Here are the libraries I have. > > zlib 1.2.3 > libpng 1.2.18 > freetype 2.3.5 > gd 2.0.33 > gcc 3.4.6 or gcc 4.2.? ( I will try with Sun compiler soon) > > The failure came from the file breader.c. I got a link err for a call to GDImageCreateFromJPEG. I don't have JPEG libraries as part of the GD library. It looks like some pre-processor check need to be added around this call and maybe others? I don't see any other places outside of gd.trm itself. Please try the attached patch. > config.h has the proper settings for HAVE_GD_PNG and HAVE_GD_JPEG is undefined. So the configure script picked-up on the fact the JPEG libraries were not available. > > The ran quick tests after commenting out the 1 offending call. The X11 and PNG seem to work. I didn't test any other terminals yet. I do get a warning from 'set term png' about the 'arial' font not being found. I don't think you could find one font that is available on every operating system. Right, although the very latest libgd (2.0.37) itself does a more thorough job of querying the system for font information via fontconfig. Ethan |