[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo-bugs
Subject:    [cairo-bugs] [Bug 21717] New: Cannot compile but freetype and
From:       bugzilla-daemon () freedesktop ! org
Date:       2009-05-13 15:03:26
Message-ID: bug-21717-4039 () http ! bugs ! freedesktop ! org/
[Download RAW message or body]

http://bugs.freedesktop.org/show_bug.cgi?id=21717

           Summary: Cannot compile but freetype and fontconfig are
                    installed.
           Product: cairo
           Version: 1.6.4
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: freetype font backend
        AssignedTo: david@freetype.org
        ReportedBy: reilmb@gmail.com
         QAContact: cairo-bugs@cairographics.org


Cannot use the latest version because of the libsvg requirement to be later
than 2.15 when only 2.10 is available so I am using 1.6.4 and have run across
the following problem on linux that even though the freetype and fontconfig are
installed it will not compile.

LD_LIBRARY_PATH=/usr/lib:/usr/local/lib
PKG_CONFIG=/usr/bin/pkg-config
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig

[root@cbvapp-d1014 cairo-1.6.4]# rpm -qa |grep freetype
freetype-2.1.9-8.el4.6
freetype-devel-2.1.9-8.el4.6
[root@cbvapp-d1014 cairo-1.6.4]# rpm -qa |grep fontconfig
fontconfig-2.2.3-13.el4
fontconfig-devel-2.2.3-13.el4
[root@cbvapp-d1014 cairo-1.6.4]#



From ./configure
config.status: creating src/cairo-no-features.h
config.status: src/cairo-no-features.h is unchanged

cairo (version 1.6.4) will be compiled with the following surface backends:
  image:         yes (always builtin)
  Xlib:          yes
  Xlib Xrender:  yes
  Quartz:        no (CoreGraphics framework not found)
  Quartz-image:  no (disabled, use --enable-quartz-image to enable)
  XCB:           no (disabled, use --enable-xcb to enable)
  Win32:         no (requires a Win32 platform)
  OS2:           no (disabled, use --enable-os2 to enable)
  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)
  Quartz:        no (CoreGraphics framework not found)

the following features:
  PNG functions: yes

and the following debug options:
  gcov support:  no
  test surfaces: no
  ps testing:    yes
  pdf testing:   no (requires poppler-glib >= 0.8.0)
  svg testing:   no (requires librsvg-2.0 >= 2.15.0)

using CFLAGS:
-I/usr/include/libpng12 -I/usr/X11R6/include -I/usr/X11R6/include
-I/usr/include/pixman-1 -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-unused-parameter -Wno-long-long -Winline
-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/


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
cairo-bugs mailing list
cairo-bugs@lists.cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic