[Slackbuilds-users] possible matplotlib patch

Benjamin Trigona-Harany slackbuilds at jaxartes.net
Tue Dec 4 16:52:49 UTC 2018

On 2018-12-04 3:02 a.m., Serban Udrea wrote:
> And thank you for investigating the issue, reporting it and preparing 
> the patch. I'm not sure that disabling wxagg is always ok. I would put 
> its disabling as an option for now and try to find out more about this 
> issue.

Yeah I'm not sure if there are any drawbacks! After removing wxagg, 
matplotlib *seemed* to work just fine.

> I'm puzzled! Why should there be any need for accessing X? Did you 
> enable tests?

I didn't make any other changes. I assume it has something to do with 
other packages that I have installed. But wxPython and wxGTK3 are on 
both my Slackware current installs and only one shows this issue. I just 
realised that in my initial email, I forgot to say that this happened on 
*current* not 14.2, so feel free to ignore this request on that basis!

> Yes, SETUP.OUTPUT was intended just for me. I'll correct this. However, 
> could you please send me a SETUP.OUTPUT containing the error.


Thanks for looking at this!
-------------- next part --------------
Edit setup.cfg to change the build options

            matplotlib: yes [2.2.3]
                python: yes [2.7.15 (default, Jun 17 2018, 22:57:51)  [GCC
              platform: yes [linux2]

                 numpy: yes [version 1.14.3]
      install_requires: yes [all third-party python packages are present]
                libagg: yes [pkg-config information for 'libagg' could not
                        be found. Using local copy.]
              freetype: yes [version 2.9.1]
                   png: yes [version 1.6.35]
                 qhull: yes [pkg-config information for 'libqhull' could not
                        be found. Using local copy.]

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

                macosx: no  [Mac OS-X only]
                qt5agg: yes [installing, Qt: 5.11.0, PyQt: 5.10.1; PySide2
                        not found]
                qt4agg: yes [installing, Qt: 4.8.7, PyQt: 4.12.1; PySide not
No protocol specified
No protocol specified
               gtk3agg: yes [installing, version 3.1.24]
No protocol specified
No protocol specified
No protocol specified
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
No protocol specified
             gtk3cairo: yes [installing, version 3.1.24]
                gtkagg: yes [installing, Gtk: 2.24.32 pygtk: 2.24.0]
                 tkagg: yes [installing; run-time loading from Python Tcl /
Unable to access the X Display, is $DISPLAY set properly?

More information about the SlackBuilds-users mailing list