Opened 7 years ago

Closed 7 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 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:

  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...)

Change History (2)

comment:1 Changed 7 years ago by waitsnake@…

For the problem with the Tcl directory that I mention in the description here I wrote the ticket #43923.

Last edited 7 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:2 Changed 7 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Keywords: Pallet removed
Milestone: MacPorts Future
Port: Pallet added; pallet removed
Resolution: duplicate
Status: newclosed

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.