[lsst-dm-stack-users] matplotlib build failure: X connection to localhost:12.0 broken [solved]

Dustin Lang dstndstn at gmail.com
Fri Jun 13 08:17:49 PDT 2014


Hi,

Another one for the archives...

During matplotlib build I got:

Getting customized setupext.py...
Getting customized setup.cfg...
python setup.py install 
--home=/home/dstn/lsst/Linux/external/matplotlib/1.2.1+1
X connection to localhost:12.0 broken (explicit kill or server shutdown).
basedirlist is: ['/usr/local', '/usr']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.2.1
                python: 2.7.6 (default, Jun 13 2014, 07:07:08)  [GCC 4.1.2
                        20080704 (Red Hat 4.1.2-52)]
              platform: linux2

REQUIRED DEPENDENCIES
                 numpy: 1.6.1
             freetype2: 9.10.3

OPTIONAL BACKEND DEPENDENCIES
                libpng: 1.2.10


This was because my $DISPLAY variable was invalid (I was running in a 
'screen' and my ssh-tunneled X connection was no longer valid).

unset DISPLAY

solved it.

cheers,
--dustin



More information about the dm-users mailing list