#34502: ogre@1.7.3 - pbxcp command execution failed, build failed. ---------------------------+---------------------- Reporter: knitter.is@… | Owner: marin@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.0 Resolution: | Keywords: Port: ogre | ---------------------------+---------------------- Description changed by ryandesign@…: Old description:
On OS X 10.7.4 with XCode 4.3.2, ogre fails to install due to wrong hardcoded path to pbxcp. Since XCode 4.3 the /Developer folder no longer exists and XCode files and frameworks are placed in /Applications/XCode.app/.
The current port's CMakeList files contain the old path and building will fail.
I don't have a patch since I don't really know what to change but with some help from the mailing list I was able to hack the source CMakeList.txt files that macport downloads and install using my changes.
From inside ogre's source folder I changed the paths with:
find . -name CMakeLists.txt -exec sed -i bak s:/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp:/Applications/Xcode.app/Contents//OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp: {} \;
New description: On OS X 10.7.4 with XCode 4.3.2, ogre fails to install due to wrong hardcoded path to pbxcp. Since XCode 4.3 the /Developer folder no longer exists and XCode files and frameworks are placed in /Applications/XCode.app/. The current port's CMakeList files contain the old path and building will fail. I don't have a patch since I don't really know what to change but with some help from the mailing list I was able to hack the source CMakeList.txt files that macport downloads and install using my changes. From inside ogre's source folder I changed the paths with: {{{ find . -name CMakeLists.txt -exec sed -i bak s:/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp:/Applications/Xcode.app/Contents//OtherFrameworks/DevToolsCore.framework/Versions/A/Resources/pbxcp: {} \; }}} -- -- Ticket URL: <https://trac.macports.org/ticket/34502#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS