[Slackbuilds-users] matplotlib does not build on 1 of 3 systems

Jim Diamond Jim.Diamond at acadiau.ca
Sat Dec 13 21:30:25 UTC 2014


Hi,

I'm trying to compile matplotlib on some Slackware64 14.1 systems, all
with multilib.

On 2 of the 3, it compiles fine using sboinstall and/or sboupgrade.

On the third, my attempts are rewarded with the following:

...
BUILDING MATPLOTLIB
            matplotlib: yes [1.4.2]
                python: yes [2.7.5 (default, May 29 2013, 02:28:51)  [GCC
                        4.8.0]]
              platform: yes [linux2]

REQUIRED DEPENDENCIES AND EXTENSIONS
                 numpy: yes [version 1.9.1]
                   six: yes [using six version 1.8.0]
              dateutil: yes [using dateutil version 2.2]
                  pytz: yes [using pytz version 2013.8]
               tornado: yes [using tornado version 4.0.2]
             pyparsing: yes [using pyparsing version 2.0.1]
                 pycxx: yes [Couldn't import.  Using local copy.]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [version 2.5.0]
                   png: yes [version 1.4.12]
                 qhull: yes [pkg-config information for 'qhull' could not be
                        found. Using local copy.]

OPTIONAL SUBPACKAGES
           sample_data: yes [installing]
              toolkits: yes [installing]
                 tests: no  [skipping due to configuration]
        toolkits_tests: no  [skipping due to configuration]

OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
Traceback (most recent call last):
  File "setup.py", line 155, in <module>
    result = package.check()
  File "/tmp/SBo/matplotlib-1.4.2/setupext.py", line 504, in check
    additional_info = self.check_requirements()
  File "/tmp/SBo/matplotlib-1.4.2/setupext.py", line 1989, in check_requirements
    msg = p.map(self.callback, [self])[0]
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 250, in map
    return self.map_async(func, iterable, chunksize).get()
  File "/usr/lib64/python2.7/multiprocessing/pool.py", line 554, in get
    raise self._value
RuntimeError: the sip module implements API v7.0 to v7.1 but the PyQt4.QtCore module requires API v9.1
...


On the good systems, I see

...
OPTIONAL BACKEND EXTENSIONS
                macosx: no  [Mac OS-X only]
                qt5agg: no  [PyQt5 not found]
                qt4agg: yes [installing, Qt: 4.8.4, PyQt: 4.8.4]
                pyside: no  [PySide not found]
               gtk3agg: no  [Requires pygobject to be installed.]
             gtk3cairo: no  [Requires pygobject to be installed.]
                gtkagg: yes [installing, Gtk: 2.24.20 pygtk: 2.24.0]
                 tkagg: yes [installing, version 81008]
                 wxagg: yes [installing, version 2.8.12.1]
                   gtk: yes [installing, Gtk: 2.24.20 pygtk: 2.24.0]
                   agg: yes [installing]
                 cairo: yes [installing, pycairo version 1.8.10]
             windowing: no  [Microsoft Windows only]

OPTIONAL LATEX DEPENDENCIES
                dvipng: yes [version 1.14]
           ghostscript: yes [version 9.07]
                 latex: yes [version 3.14159265]
               pdftops: yes [version 0.24.3]

running install
...


I've compared the packages installed (and their versions) on all three
systems, and while there are a few differences, I didn't see any
difference which looked like it should affect any of Python, PyQt or
Qt.  (Admittedly, I may have missed some significant difference.)


Does anyone have any insight as to what I might be looking for?
Obviously I can copy over the package from one of the successful
systems and install it (whether it would work correctly is another
issue), but I'd rather have some idea about what the real problem is.

Thanks.

                                Jim


More information about the SlackBuilds-users mailing list