Opened 4 years ago
Last modified 4 years ago
#61108 closed defect
LyX fails to build because wrong complier — at Initial Version
Reported by: | metbic | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | yosemite | Cc: | |
Port: | LyX |
Description
Hello.
After half a year, I decided to upgrade my Macports. However, LyX doesn't build. The upgrade program tells me I use an too old compiler and fails to build. I cleaned LyX and tried again, failed again. How do I set the right compiler for LyX? Did I somehow trigger a wrong system variable? What is to be done?
Below is the Warning message I get before the build fails:
Warning: The port 'LyX' uses the cxx11 PortGroup which is deprecated.
Warning: Please instead specify the required c++ standard directly using
Warning: compiler.cxx_standard 2011
Warning: replacing 2011 with newer standards (e.g. 2014, 2017) as required.
Warning: For more details see https://trac.macports.org/wiki/CompilerSelection