Opened 10 years ago
Closed 10 years ago
#43922 closed defect (duplicate)
Pallet can not install/compile with Xcode 5.1.1
Reported by: | waitsnake@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.0 |
Keywords: | Cc: | ||
Port: | Pallet |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I tried to install Pallet with Macports 2.3.0 on OSX 10.9.3 with Xcode 5.1.1 (5B1008) but it did not work. Xcode 5.1.1 comes with clang-503.0.40.
The build logfile shows the following error when using this compiler:
error: garbage collection is no longer supported
As workaround I did the following:
- "sudo port install clang-mp-3.5"
- I try to force that this compiler is used:
"sudo port install Pallet configure.compiler=macports-clang-3.5"
-> but it was still not working
-> I saw in build_log that it uses clang from xcode anyway (Is the compiler hard coded in build script ???) - now I try to change the Xcode compiler manually "cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
- "mv clang clang_xcode"
- "ln -s /opt/local/bin/clang-mp-3.5 clang"
- "sudo port install pallet" ->installing of Pallet works now without error and the program runs fine (well except from that fact that Pallet can not find not the /Library/Tcl directory, but this will be an other ticket...)
Change History (2)
comment:1 Changed 10 years ago by waitsnake@…
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | Pallet removed |
Milestone: | MacPorts Future |
Port: | Pallet added; pallet removed |
Resolution: | → duplicate |
Status: | new → closed |
The Pallet port does not hardcode the compiler, but it uses Xcode, and Xcode cannot use arbitrary compilers, without some fiddling. But you should undo the changes you made in /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin.
The "garbage collection is no longer supported" bug is already reported in #43581.
Note: See
TracTickets for help on using
tickets.
For the problem with the Tcl directory that I mention in the description here I wrote the ticket #43923.