Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#16057 closed defect (duplicate)

cairo missing dependency on fontconfig, or internal misconfiguration of some sort

Reported by: gkshenaut Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: cairo

Description (last modified by ryandesign (Ryan Carsten Schmidt))

% sudo port install cairo
Portfile changed since last build; discarding previous state.
--->  Fetching cairo
--->  Verifying checksum(s) for cairo
--->  Extracting cairo
--->  Configuring cairo
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_cairo/work/cairo-1.6.4" && ./configure --prefix=/opt/local --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-glitz --disable-xcb --enable-freetype --enable-pdf --enable-png --enable-ps --enable-svg --enable-xlib --enable-xlib-xrender --with-x --enable-quartz --enable-quartz-font --enable-quartz-image " returned error 1
Command output: checking for cairo's Quartz backend... 
[...]
checking for cairo's FreeType font backend... 
checking for FONTCONFIG... yes
checking for FcFini... no
no
checking whether cairo's FreeType font backend could be enabled... no (requires fontconfig)
configure: error: requested FreeType font backend could not be enabled

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 16 years ago by blb@…

Milestone: Port Bugs
Owner: changed from macports-tickets@… to ryandesign@…

Assigning to maintainer.

cairo definitely lists a dependency on fontconfig, so perhaps an older version is installed? What does 'port installed fontconfig' report?

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Greg Shenaut responded by email saying:

fontconfig @2.2.3_1 (active)

So that is quite old. The current version of fontconfig is 2.6.0. Please "sudo port selfupdate" to update your MacPorts base and your ports tree, and then use "port outdated" to see what ports are outdated. fontconfig should be among those listed. Upgrade it and your other outdated ports to the latest version using e.g. "sudo port upgrade fontconfig". Then, once all your outdated ports are upgraded, and before trying to install cairo again, clean its work area using "sudo port clean --work cairo". Then you should be able to install cairo using "sudo port install cairo".

The other possibility is that you are trying to install cairo with the +universal variant. Unfortunately that does not work at this time, and the error one would see is the same as the one you report here. See #15451.

Please let us know if one of these matches your situation.

P.S: Please remember WikiFormatting when filing tickets.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Since I haven't heard back from the reporter, I'll assume this is a duplicate of #15451. If that's not the case, please re-open this ticket and explain.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: cairo added
Note: See TracTickets for help on using tickets.