[MacPorts] #43922: Pallet can not install/compile with Xcode 5.1.1
MacPorts
noreply at macports.org
Thu Jun 5 17:11:52 PDT 2014
#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
More information about the macports-tickets
mailing list