[MacPorts] #34502: ogre at 1.7.3 - pbxcp command execution failed, build failed.
MacPorts
noreply at macports.org
Fri May 18 10:31:59 PDT 2012
#34502: ogre at 1.7.3 - pbxcp command execution failed, build failed.
----------------------------------+-----------------------------------------
Reporter: knitter.is@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.0
Keywords: | Port: ogre
----------------------------------+-----------------------------------------
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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list