Opened 12 years ago
Last modified 3 years ago
#34502 closed defect
ogre@1.7.3 - pbxcp command execution failed, build failed. — at Version 8
Reported by: | knitter.is@… | Owned by: | marin@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | Cc: | karl.smeltzer@… | |
Port: | ogre |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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: {} \;
Change History (9)
Changed 12 years ago by knitter.is@…
comment:1 Changed 12 years ago by nerdling (Jeremy Lavergne)
Cc: | marin.saric removed |
---|---|
Owner: | changed from macports-tickets@… to marin.saric@… |
comment:2 Changed 12 years ago by marin@…
Owner: | changed from marin.saric@… to marin@… |
---|
comment:3 Changed 12 years ago by marin@…
Status: | new → assigned |
---|
comment:5 follow-up: 6 Changed 12 years ago by rectalogic (Andrew Wason)
pbxcp was removed from XCode 4.4, so this workaround no longer works. http://www.cocoabuilder.com/archive/xcode/319936-pbxcp-vanished-in-xcode-4-4.html
comment:6 Changed 12 years ago by philippe.groarke@…
I am currently running into this problem. Is there any temporary solution I could try? I am running the latest Xcode.
comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
Just came back from a trip. Picking up this ticket. I need to install the newest XCode first to verify the changes myself.