#44384: libpaper fails to build on OS X Tiger -------------------------+-------------------------------- Reporter: djlambe11@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: tiger | Port: libpaper -------------------------+-------------------------------- When compiling libpaper (version 1.1.24) on OS X 10.4 the following error appears in the log: {{{ ... ld: unknown flag: -compatibility-version ... }}} This is due to the fact that earlier versions of OS X used {{{-dylib_compatibility_version}}}, and {{{-dylib_current_version}}}, which shows up later. The fix, then, is to patch ltmain.sh to use the {{{-dylib*}}} options where necessary. The problem with this is that the latest version of OS X I can currently run is Tiger, and I don't know when the switch was made. On the other hand, even the newest versions of OS X support the {{{-dylib*}}} options as a compatibility feature, so it doesn't harm anything to use them there. Therefore, I present a patch that enables a successful build. ---- Potentially Relevant Information: * Mac OS X 10.4.11 (Tiger) * XCode 2.5 * PowerBook G4 -- Ticket URL: <https://trac.macports.org/ticket/44384> MacPorts <http://www.macports.org/> Ports system for OS X