[cairo-bugs] [Bug 19283] New: typo in check for version of freetype in configure script

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Dec 25 09:14:51 PST 2008


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

           Summary: typo in check for version of freetype in configure
                    script
           Product: cairo
           Version: 1.8.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
        AssignedTo: cworth at cworth.org
        ReportedBy: ppetrovic at acm.org
         QAContact: cairo-bugs at cairographics.org


On line 29483 of configure script in cairo 1.8.6, the script is checking
for version of freetype, however, awk results with syntax error, thus
making the configure fail completely and refuse produce makefile.

It seems that the script is only missing \$X references in printf() call.

Current version:

{printf("%d\n", 10000* + 100* + )};


The following fix produced correct behavior:

{printf("%d\n", 10000*\$0 + 100*\$1 + \$2)};


Here is the output of configure with the current version:

...
checking for freetype-config... /usr/local/bin/freetype-config
checking freetype2 libtool version... awk: {printf("%d\n", 10000* + 100* + );}
awk:                                 ^ syntax error
awk: {printf("%d\n", 10000* + 100* + );}
awk:                                 ^ syntax error
9.7.3 - Too old
checking whether cairo's FreeType font backend feature could be enabled... no
(9.7.3 found; version 9.7.3 from release 2.1.9 required)
...

configure: error: Cairo requires at least one native font backend.  Please
install FreeType and fontconfig and try again.


I used the official cairo 1.8.6 tar.gz distribution.
Have a nice day.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list