Page 1 of 1

Fontconfig and liblqr?

Posted: 2008-08-16T09:47:35-07:00
by rmagick
Does the configure script for 6.4.2 actually check for fontconfig and liblqr? I have both of these installed (on Ubuntu Gutsy) and I specify the --with-lqr and --with-fontconfig options, but the result is always "no" and I don't see any tests or test results in config.log. I know that at one point IM was using liblqr because I reported a bug in the LiquidRescaleImage method.

Here's what I have in config.log for LQR

Code: Select all

configure:38983: checking for LQR
configure:39048: result:
Here's what I have for Freetype

Code: Select all

configure:36111: checking for FONTCONFIG
configure:36176: result:
Here's the relevant part of the configure output

Code: Select all

FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=yes         no
FreeType          --with-freetype=yes           yes
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (8.61)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=/usr/share/fonts/type1/gsfonts
Ghostscript lib   --with-gslib=yes              yes
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=          no
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               yes
LQR               --with-lqr=yes                no
Magick++          --with-magick-plus-plus=no    no

Re: Fontconfig and liblqr?

Posted: 2008-08-16T10:04:42-07:00
by magick
Both these delegate libraries are validated with the autoconf / automake PKG_CHECK_MODULES() macro which requires a fontconfig.pc and lqr-1.pc package file. In addition you must have the development RPMS installed.

Re: Fontconfig and liblqr?

Posted: 2008-08-16T10:57:58-07:00
by rmagick
Thanks for the tip. For the record, liblqr was not properly installed so there was no lqr-1.pc file. Fontconfig was, and fontconfig.pc exists in the expected directory, but I needed to specify

export PKG_CONFIG=/usr/bin/pkg-config

before the configure script would use pkg-config.