8000 Can't install matplotlib from source due to recent addition of QHULL_LIB_CHECK to src/qhull_wrap.c · Issue #8390 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
Can't install matplotlib from source due to recent addition of QHULL_LIB_CHECK to src/qhull_wrap.c #8390
Closed
@telamonian

Description

@telamonian

I'm currently trying to use pip (on a mac running osx El Capitan) to install a particular commit of matplotlib:

pip install -U --upgrade-strategy only-if-needed git+https://github.com/matplotlib/matplotlib.git@91e74257b770d#egg=matplotlib

I need this particular commit so I can fix an issue I (and others) are having with the width of type 42 fonts in v2.0. Unfortunately, this is failing with:

...

    building 'matplotlib._qhull' extension
    clang -Wno-unused-result -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/include -I/usr/local/opt/sqlite/include -DMPL_DEVNULL=/dev/null -DPY_ARRAY_UNIQUE_SYMBOL=MPL_matplotlib__qhull_ARRAY_API -DNPY_NO_DEPRECATED_API=NPY_1_7_API_VERSION -D__STDC_FORMAT_MACROS=1 -I/usr/local/lib/python3.4/site-packages/numpy/core/include -I/usr/local/include -I/usr/include -I/usr/X11/include -I/opt/X11/include -I. -I/usr/local/Cellar/python3/3.4.2_1/Frameworks/Python.framework/Versions/3.4/include/python3.4m -c src/qhull_wrap.c -o build/temp.macosx-10.9-x86_64-3.4/src/qhull_wrap.o
    src/qhull_wrap.c:112:5: error: use of undeclared identifier 'QHULL_LIB_CHECK'
        QHULL_LIB_CHECK
        ^
    1 error generated.
    error: command 'clang' failed with exit status 1

...

I know matplotlib is finding the relevant qhull library:

...

REQUIRED DEPENDENCIES AND EXTENSIONS

...

                     qhull: yes [Using system Qhull (version unknown, no pkg-
                            config info)]

...

so I'm not sure what the problem is. Examining qhull_wrap.c in the repo shows that the offending line was recently added in a recent commit with the note Update qhull to 2015.2. Is the fix that I should try to upgrade the qhull libs on my system? The matplotlib install doc makes it sound like the qhull libs are included with matplotlib, so I'm somewhat confused.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0