Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi, i am using rh9 and i get this error when running ./configure for cairo-1.2.6. i downloaded and installed the tarballs for freetype and fontconfig as well as libpng (with ./configure --prefix=/usr). but i eventually did --disable-png to get further in the config process.
Code:
[schneidz@hyper cairo-1.2.6]$ ./configure --prefix=/usr --disable-win32 --disable-png --disable-freetype
...
the following features:
PNG functions: no (disabled, use --enable-png to enable)
and the following debug options:
gcov support: no
test surfaces: no
pdf testing: no (requires poppler-glib >= 0.4.1)
svg testing:
using CFLAGS:
-I/usr/X11R6/include -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wno-unused-parameter -fno-strict-aliasing
configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
It seems that the path to include dirs for freetype and fontconfig is not in the CFLAGS used. Check if .configure accept somethink like --with-extra-lib or --with-extra-inc to specify additional includedirs. Or you can add them to the shell variables CFLAGS, before doing ./configure, e.g.
thank you colucix, i tried what you said but i still dont know what it is looking for:
(i also tried --x-includes=/usr/include/ and --x-includes=/usr/include/freetype2/freetype)
Code:
[schneidz@hyper cairo-1.2.6]$ ./configure --prefix=/usr --disable-png --x-includes=/usr/include/freetype2/ --x-libraries=/usr/lib
...
the following font backends:
FreeType: no (requires fontconfig
Win32: no (requires a Win32 platform)
ATSUI: no (disabled, use --enable-atsui to enable)
the following features:
PNG functions: no (disabled, use --enable-png to enable)
and the following debug options:
gcov support: no
test surfaces: no
pdf testing: no (requires poppler-glib >= 0.4.1)
svg testing:
using CFLAGS:
-I/usr/include/freetype2/ -Wall -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wmissing-format-attribute -Wno-unused-parameter -fno-strict-aliasing
configure: error: Cairo requires at least one font backend.
Please install freetype and fontconfig, then try again:
http://freetype.org/ http://fontconfig.org/
checking for cairo's FreeType font backend...
checking for FONTCONFIG... checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig
where is it looking for fontconfig?
this is the first time i got a failed dependancy from something i compiled something from tarball so i dont know how to resolve the dependancy.
the following font backends:
FreeType: no (requires fontconfig
Win32: no (requires a Win32 platform)
ATSUI: no (disabled, use --enable-atsui to enable)
It seems it does not recognize the installed Freetype. I can't figure out the reason for this, but you can try to re-install.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.