Changes between Initial Version and Version 3 of Ticket #63251


Ignore:
Timestamp:
Jul 20, 2021, 12:41:24 AM (3 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
Comment:

Why does MacPorts says "this installation is configured to use libc++"?

Because MacPorts installations on Mac OS X 10.6 and later are configured by default to use libc++. The setting is cxx_stdlib. It can be changed in macports.conf. The setting does not appear in the default macports.conf because it is not really intended to be changed, and if you change it you must uninstall and reinstall all C++-using ports.

What should be done to avoid this error?

The port should not compile C++ software using g++. If that cannot be avoided, and if the port does not use any C++ libraries installed by another port, and if the port does not install any C++ libraries that are to be used by other ports, then the port can suppress the warning by setting (IIRC) configure.cxx_stdlib macports-libstdc++.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #63251

    • Property Status changed from new to assigned
    • Property Owner set to bardeau
    • Property Port gildas added
  • Ticket #63251 – Description

    initial v3  
    11I've been trying to install gildas on macOS Big Sur 11.4 (Xcode version 12.5, M1 chip) without success:
    2 - at first I got a "ld: framework not found CoreFoundation" error. Following [https://trac.macports.org/ticket/59347 this ticket], I reinstalled gcc11 and python38 from source
     2- at first I got a "ld: framework not found CoreFoundation" error. Following [ticket:59347 this ticket], I reinstalled gcc11 and python38 from source
    33- now, on the other hand, this warning appears:
    44{{{