[MacPorts] #43922: Pallet can not install/compile with Xcode 5.1.1
#43922: Pallet can not install/compile with Xcode 5.1.1 -------------------------+-------------------------------- Reporter: waitsnake@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.0 Keywords: Pallet | Port: pallet -------------------------+-------------------------------- 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...) -- Ticket URL: <https://trac.macports.org/ticket/43922> MacPorts <http://www.macports.org/> Ports system for OS X
#43922: Pallet can not install/compile with Xcode 5.1.1 --------------------------+-------------------------------- Reporter: waitsnake@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 2.3.0 Resolution: | Keywords: Pallet Port: pallet | --------------------------+-------------------------------- Comment (by waitsnake@…): For the problem with the Tcl directory that I mention in the description here I wrote the ticket [https://trac.macports.org/ticket/43923]. -- Ticket URL: <https://trac.macports.org/ticket/43922#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#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
participants (1)
-
MacPorts