#36043: quartz-wm fails to build on Tiger PPC because of an unknown cmd field --------------------------------------+------------------------------------- Reporter: Peter_Dyballa@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: xorg-server-devel --------------------------------------+------------------------------------- Comment(by Peter_Dyballa@…): Replying to [comment:4 jeremyhu@…]:
I don't actually have a Tiger box any more ...
This looks like a case of Tiger's linker not unerstanding some load commands in the dylib. Please try using a MacPorts compiler (like gcc- apple-4.2) instead of the default compiler.
I took from xorg-xcb-util's Portfile this block (with vi line numbers from quartz-wm's Portfile): {{{ 31 if {${configure.compiler} == "gcc-4.0"} { 32 configure.compiler gcc-4.2 33 if {![file exists ${configure.cc}]} { 34 depends_build-append port:apple-gcc42 35 configure.compiler apple-gcc-4.2 36 } 37 } }}} The build succeeded but the installation first failed because an unrecorded /opt/local/bin/quartz-wm of version 1.0.1 already existed. I renamed it manually and the installation then succeeded. Otool still reports: {{{ Load command 7 cmd ?(0x00000024) Unknown load command cmdsize 16 000a0400 00000000 }}} -- Ticket URL: <https://trac.macports.org/ticket/36043#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS