[MacPorts] #55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various issues building libuv
MacPorts
noreply at macports.org
Fri Mar 23 04:42:55 UTC 2018
#55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various
issues building libuv
------------------------+-----------------------
Reporter: ballapete | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: tiger
Port: cmake |
------------------------+-----------------------
Comment (by kencu):
{{{
77 Building CXX object
CMakeFiles/cmTC_ccf87.dir/cm_cxx_unique_ptr.cxx.o
78 /opt/local/bin/g++-mp-6 -pipe -Os -D_GLIBCXX_USE_CXX11_ABI=0
-m32 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4
-std=gnu++14 -o CMakeFiles/cmTC_ccf87.dir/cm_cxx_unique_ptr.cxx.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-3.10.3/Source/Checks/cm_cxx_unique_ptr.cxx
}}}
My guess here is that g++-mp-6 can't find /opt/local/lib/libstdc++.6.dylib
in `-isysroot /Developer/SDKs/MacOSX10.4u.sdk` Try a quick hack like this,
to link in /opt/local to the SDK so it can find it. (or figure out how to
change the -isysroot to "/".
{{{
cd /Developer/SDKs/MacOSX10.4u.sdk/
sudo ln -s /opt/local .
}}}
--
Ticket URL: <https://trac.macports.org/ticket/55415#comment:32>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list