Opened 13 years ago
Closed 3 years ago
#34502 closed defect (fixed)
ogre@1.7.3 - pbxcp command execution failed, build failed.
Reported by: | knitter.is@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.0 |
Keywords: | Cc: | karl.smeltzer@…, mescalinum@…, cooljeanius (Eric Gallager), arto@… | |
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: {} \;
Attachments (1)
Change History (15)
Changed 13 years ago by knitter.is@…
comment:1 Changed 13 years ago by nerdling (Jeremy Lavergne)
Cc: | marin.saric removed |
---|---|
Owner: | changed from macports-tickets@… to marin.saric@… |
comment:2 Changed 13 years ago by marin@…
Owner: | changed from marin.saric@… to marin@… |
---|
comment:3 Changed 13 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) |
---|
comment:9 Changed 11 years ago by mescalinum@…
The patch to this issue has been around for a long time:
Why it didn't land here at macports? :-)
comment:13 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)
Owner: | changed from marin@… to macports-tickets@… |
---|
comment:14 Changed 3 years ago by catap (Kirill A. Korinsky)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Just came back from a trip. Picking up this ticket. I need to install the newest XCode first to verify the changes myself.