[MacPorts] #60739: SFML 2.4.2 fails to build because it picks the wrong compiler

MacPorts noreply at macports.org
Tue Jun 30 00:14:41 UTC 2020


#60739: SFML 2.4.2 fails to build because it picks the wrong compiler
-----------------------------+----------------------------
 Reporter:  programmingkidx  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:  MacPorts 2.6.3
Component:  ports            |    Version:
 Keywords:  SFML             |       Port:  SFML
-----------------------------+----------------------------
 I tried building SFML on Mac OS 10.4 (intel) and it failed to build.

 Here is the error:

 :info:configure Error when bootstrapping CMake:
 :info:configure Cannot find a C++ compiler that supports both C++11 and
 the specified C++ flags.
 :info:configure Please specify one using environment variable CXX.
 :info:configure The C++ flags are "-pipe -Os -fpermissive -stdlib
 =macports-libstdc++ -D_GLIBCXX_USE_CXX11_ABI=0 -arch i386".
 :info:configure They can be changed using the environment variable
 CXXFLAGS.
 :info:configure See cmake_bootstrap.log for compilers attempted.

 I'm thinking a good fix to this issue is to scan the /opt/local/bin/
 folder for compilers that should work. I do have gcc-7 install. For some
 reason it picked /opt/local/bin/clang++-mp-3.4 instead.

-- 
Ticket URL: <https://trac.macports.org/ticket/60739>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list