On 29/06/13 10:11, Armin K. wrote: > On 06/29/2013 01:52 AM, Wayne Blaszczyk wrote: >> Hi, >> >> I've found a couple of issues with the latest build instructions. >> The tar command has the wrong file name. >> The second sed command has a backslash missing. >> The config command fails with the following: >> >> which: no libpng-config in >> (/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/sbin:/usr/sbin) >> configure: error: `libpng-config' not found; >> either set the LIBPNG_CFLAGS and LIBPNG_LDFLAGS environment variables, >> or pass `--without-png' to the `configure' script. >> >> This tells me that both which and libpng are dependencies. >> >> Regards, >> Wayne. >> > > > From: include/freetype/config/ftoption.h > > PNG bitmap support. > > FreeType now handles loading color bitmap glyphs in the PNG format. > This requires help from the external libpng library. Uncompressed > color bitmaps do not need any external libraries and will be > supported regardless of this configuration. > > Define this macro if you want to enable this `feature'. > > /* #define FT_CONFIG_OPTION_USE_PNG */ > > > > It's disabled by default (probably because it's too new) and linking > freetype to libpng without having this defined is useless. I suggest we > disable png by default using the configure switch. Not sure if we want > to mention the deps or how to enable the feature. >
I'm not too sure if it is disabled by default. Looking at my install logs, I can see -DFT_CONFIG_OPTION_USE_PNG all over the place. -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page