[MacPorts] #43922: Pallet can not install/compile with Xcode 5.1.1
MacPorts
noreply at macports.org
Thu Jun 5 19:37:11 PDT 2014
#43922: Pallet can not install/compile with Xcode 5.1.1
--------------------------+--------------------------------
Reporter: waitsnake@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: duplicate | Keywords:
Port: Pallet |
--------------------------+--------------------------------
Changes (by ryandesign@…):
* status: new => closed
* milestone: MacPorts Future =>
* keywords: Pallet =>
* resolution: => duplicate
* port: pallet => Pallet
Old description:
> 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:
> 1) "sudo port install clang-mp-3.5"
> 2) 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 ???)
> 3) now I try to change the Xcode compiler manually
> "cd
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
> 4) "mv clang clang_xcode"
> 5) "ln -s /opt/local/bin/clang-mp-3.5 clang"
> 6) "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...)
New description:
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:
1. "sudo port install clang-mp-3.5"
2. I try to force that this compiler is used:
"sudo port install Pallet configure.compiler=macports-clang-3.5"[[br]]
-> but it was still not working[[br]]
-> I saw in build_log that it uses clang from xcode anyway (Is the
compiler hard coded in build script ???)
3. now I try to change the Xcode compiler manually
"cd
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
4. "mv clang clang_xcode"
5. "ln -s /opt/local/bin/clang-mp-3.5 clang"
6. "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...)
--
Comment:
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.
--
Ticket URL: <https://trac.macports.org/ticket/43922#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list