| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
This is the "lazy" option. |
Sorry, something went wrong.
There was a problem hiding this comment.
Thanks @tacaswell, I tried
export CXXFLAGS=-std=c++11
before the install, but got the same error. Am I misunderstanding how to set this?
Sorry, something went wrong.
|
It seems like one have to set CFLAGS as gcc, not g++, is used to compile some cpp-files... (It is OK not to set CXXFLAGS, at least on my CentOS 7 install.) You will get a warning though for some of the compile steps: cc1: warning: command line option ‘-std=c++11’ is valid for C++/ObjC++ but not for C [enabled by default] |
Sorry, something went wrong.
|
Thanks @oscargus export CFLAGS=-std=c++11 worked for me too. I'm on RHEL7 (apparently next year we get RHEL9...) |
Sorry, something went wrong.
|
A small follow-up on this. Although it compiles and looks like it installs correctly there is also another message of interest: /local/data1/miniconda3/compiler_compat/ld: build/freetype-2.6.1/objs/.libs/libfreetype.a(ftinit.o): plugin needed to handle lto object and running mpl leads to ImportError: /local/data1/matplotlib/lib/matplotlib/ft2font.cpython-39-x86_64-linux-gnu.so: undefined symbol: FT_Load_Glyph Do you get similar behavior @rcomer or does it work for you? (This is for gcc 4.8.5, but I also have 7.3.1 and there it builds without problem, so back to a working version now...) |
Sorry, something went wrong.
|
@oscargus I don't see that message about the plugin, and I just used the environment to reproduce #24545. |
Sorry, something went wrong.
|
@tacaswell I see this is 2 commits. Should I squash-merge or just commit both or something else? |
Sorry, something went wrong.
Closes matplotlib#24530 This will produce warnings, but will compile.
|
I'll squash this to one (probably should have done that initially). We tend to reserve squash-merging for PRs with many commits and a contributor who does not feel comfortable squashing them selves. |
Sorry, something went wrong.
|
Cycling CI because it looked like a few checks had network errors that were likely temporary |
Sorry, something went wrong.
|
You can do that directly in Circle; no need to modify the PR. |
Sorry, something went wrong.
…ort for old gcc
…ort for old gcc
…540-on-v3.6.x Backport PR #24540 on branch v3.6.x (DOC: add note about enabling c++11 support for old gcc)
…540-on-v3.6.2-doc Backport PR #24540 on branch v3.6.2-doc (DOC: add note about enabling c++11 support for old gcc)
| Back | FazBrowse Home | New Git URL |
Closes #24530
@rcomer Can you confirm if this works for you?