[MacPorts] #50678: makeicns does not build on Snow Leopard with libc++
MacPorts
noreply at macports.org
Fri Feb 19 13:35:09 PST 2016
#50678: makeicns does not build on Snow Leopard with libc++
----------------------------+--------------------------------
Reporter: steven.dwyer@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts Future
Component: ports | Version: 2.3.4
Keywords: snowleopard | Port: makeicns
----------------------------+--------------------------------
The makeicns port does not link on Snow Leopard after following the
LibcxxOnOlderSystems.
{{{
:info:build /opt/local/bin/clang++-mp-3.7 -o makeicns makeicns.o
IconFamily.o NSString+CarbonFSRefCreation.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -stdlib=libc++ -arch i386 -framework
Foundation -framework AppKit -framework Carbon -isysroot
/Developer/SDKs/MacOSX10.6.sdk
:info:build MACOS_MAJOR = 10
:info:build MACOS_MINOR = 6
:info:build DARWIN_MAJOR = 10
:info:build SDK = /Developer/SDKs/MacOSX10.6.sdk
:info:build ld: library not found for -lc++
:info:build clang: error: linker command failed with exit code 1 (use -v
to see invocation)
:info:build make: *** [makeicns] Error 1
}}}
I'm using clang-3.7 as my default compiler, with my modified section of
macports.conf after following LibcxxOnOlderSystems looking like:
{{{
cxx_stdlib libc++
buildfromsource always
delete_la_files yes
default_compilers macports-clang-3.7 macports-clang-3.4 macports-
clang-3.3 gcc-4.2 apple-gcc-4.2 gcc-4.0
}}}
I had to use the LibcxxOnOlderSystems guide as I was trying to install the
mkvtoolnix port (for which makeicns is a pre-requisite).
--
Ticket URL: <https://trac.macports.org/ticket/50678>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list