hello all,
after numerous attempts to install gtk+-2.8.9 from its source (which i must say is an ardous task in itself :-( ), i'm constantly getting some error or the other. Now am stuck up with the following error:
i installed all the dependencies mentioned (i.e libtiff,libpng,jpegsrc,glib,atk,pango,cairo) with versions as mentioned and which were available at the home site gtk.org. Now when i'm installing cairo, i'm getting the following configure error
...
...
...
checking for supported warning flags...
checking whether gcc supports -Wall... yes
checking whether gcc supports -Wextra... yes
checking whether gcc supports -Wsign-compare... yes
checking whether gcc supports -Werror-implicit-function-declaration... yes
checking whether gcc supports -Wpointer-arith... yes
checking whether gcc supports -Wwrite-strings... yes
checking whether gcc supports -Wstrict-prototypes... yes
checking whether gcc supports -Wmissing-prototypes... yes
checking whether gcc supports -Wmissing-declarations... yes
checking whether gcc supports -Wnested-externs... yes
checking whether gcc supports -Wpacked... yes
checking whether gcc supports -Wswitch-enum... yes
checking whether gcc supports -Wmissing-format-attribute... yes
checking whether gcc supports -Wstrict-aliasing=2... yes
checking whether gcc supports -Winit-self... yes
checking whether gcc supports -Wunsafe-loop-optimizations... no
checking whether gcc supports -Wdeclaration-after-statement... yes
checking whether gcc supports -Wold-style-definition... yes
checking whether gcc supports -Wno-missing-field-initializers... yes
checking whether gcc supports -Wno-unused-parameter... yes
checking which warning flags were supported... -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -Wno-unused-parameter
checking whether gcc supports -fno-strict-aliasing... yes
checking for MMX/SSE intrinsics in the compiler... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pixman/Makefile
config.status: creating pixman/src/Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating doc/Makefile
config.status: creating doc/public/Makefile
config.status: creating doc/public/version.xml
config.status: creating src/cairo.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing src/cairo-features.h commands
config.status: creating src/cairo-features.h
config.status: src/cairo-features.h is unchanged
cairo will be compiled with the following surface backends:
image: yes (always builtin)
Xlib: yes
Xlib Xrender: yes
Quartz: no (disabled, use --enable-quartz to enable)
XCB: no (disabled, use --enable-xcb to enable)
Win32: no (requires a Win32 platform)
PostScript: yes
PDF: yes
SVG: yes
glitz: no (disabled, use --enable-glitz to enable)
BeOS: no (disabled, use --enable-beos to enable)
DirectFB: no (disabled, use --enable-directfb to enable)
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: yes
and the following debug options:
gcov support: no
test surfaces: no
pdf testing: no (requires poppler-glib >= 0.4.1)
svg testing: no (requires librsvg-2.0 >= 2.14.0)
using CFLAGS:
-I/usr/local/include/libpng12 -Wall -Wextra -Wsign-compare -Werror-implicit-function-declaration -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wpacked -Wswitch-enum -Wmissing-format-attribute -Wstrict-aliasing=2 -Winit-self -Wdeclaration-after-statement -Wold-style-definition -Wno-missing-field-initializers -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/
but i already installed the above and even 'locate freetype' shows its there!!
PS: while configure i gave the option as ./configure -prefix=/opt/gtk
can anybody pls guide me where am i geting it wrong?
thnx in advance