Changes between Initial Version and Version 2 of Ticket #43922


Ignore:
Timestamp:
Jun 6, 2014, 2:37:11 AM (10 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
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.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43922

    • Property Status changed from new to closed
    • Property Milestone changed from MacPorts Future to
    • Property Keywords Pallet removed
    • Property Resolution changed from to duplicate
    • Property Port Pallet added; pallet removed
  • Ticket #43922 – Description

    initial v2  
    33
    44The build logfile shows the following error when using this compiler:
    5 "error: garbage collection is no longer supported"
     5{{{
     6error: garbage collection is no longer supported
     7}}}
    68
    79As workaround I did the following:
    8 1) "sudo port install clang-mp-3.5"
    9 2) I try to force that this compiler is used:
    10 "sudo port install Pallet configure.compiler=macports-clang-3.5"
    11 -> but it was still not working
    12 -> I saw in build_log that it uses clang from xcode anyway (Is the compiler hard coded in build script ???)
    13 3) now I try to change the Xcode compiler manually
    14 "cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
    15 4) "mv clang clang_xcode"
    16 5) "ln -s /opt/local/bin/clang-mp-3.5 clang"
    17 6)  "sudo port install pallet"
    18 ->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...)
     101. "sudo port install clang-mp-3.5"
     112. I try to force that this compiler is used:
     12  "sudo port install Pallet configure.compiler=macports-clang-3.5"[[br]]
     13  -> but it was still not working[[br]]
     14  -> I saw in build_log that it uses clang from xcode anyway (Is the compiler hard coded in build script ???)
     153. now I try to change the Xcode compiler manually
     16  "cd /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin"
     174. "mv clang clang_xcode"
     185. "ln -s /opt/local/bin/clang-mp-3.5 clang"
     196.  "sudo port install pallet"
     20  ->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...)