Opened 15 years ago

Closed 14 years ago

#17779 closed defect (fixed)

x11/fox does not compile on Tiger when Xft2 is not installed

Reported by: jjstickel@… Owned by: lyle@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: x11 Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: fox

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

On Tiger (10.4.11), x11/fox fails during build:

$ sudo port install fox
--->  Fetching fox
--->  Verifying checksum(s) for fox
--->  Extracting fox
--->  Configuring fox
--->  Building fox
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_fox/work/fox-1.6.34" && make all " returned error 2
Command output: FXFont.cpp:509: error: 'FC_WIDTH_SEMICONDENSED' was not declared in this scope
FXFont.cpp:510: error: 'FC_WIDTH_NORMAL' was not declared in this scope
...
(more errors with FXFont.cpp)

But if I first install the Macports Xft2, then fox builds and works fine. I recommend that the fox dependency "lib:libXft.2:Xft2" be changed to "port:Xft2" at least for Tiger (darwin 8).

Change History (5)

comment:1 Changed 15 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to lyle@…

Assigning to maintainer.

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

Cc: jeremyhu@… added
Description: modified (diff)
Summary: x11/fox does not compile on Tigerx11/fox does not compile on Tiger when Xft2 is not installed

Don't forget WikiFormatting.

The dependency was deliberately changed from port:Xft2 to lib:libXft.2:Xft2 by Jeremy in r43662. He will have to comment on this issue.

comment:3 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Odd... this worked for me on Tiger with no Xft2 ... hmm... I'll take a look at it when I get back to my Tiger box, but for now, I'm going to agree and change these back to port:Xft2 until we figure out why it wasn't working

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

This was fixed by r45603.

Note: See TracTickets for help on using tickets.