[matplotlib-devel] compile failure with git tree

2011-07-02 Thread Xavier Gnata
Hi,

I'm use to compile the mpl git tree but I get an error with the current one:


running build_ext
building 'matplotlib.backends._tkagg' extension
C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 
-Wall -fPIC

compile options: '-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API 
-DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
  -I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I. 
-I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc 
-Iagg24/include -I. 
-I/usr/local/lib/python2.7/dist-packages/numpy/core/include 
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. 
-I/usr/include/python2.7 -c'
gcc: CXX/cxxextensions.c
gcc: no input files
sh: -I/usr/include/tcl8.5: not found
gcc: no input files
sh: -I/usr/include/tcl8.5: not found
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv 
-O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API 
-DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
  -I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I. 
-I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc 
-Iagg24/include -I. 
-I/usr/local/lib/python2.7/dist-packages/numpy/core/include 
-I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I. 
-I/usr/include/python2.7 -c CXX/cxxextensions.c -o 
build/temp.linux-x86_64-2.7/CXX/cxxextensions.o" failed with exit status 127

Is it a known issue?

Xavier

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] compile failure with git tree

2011-07-02 Thread Eric Firing
On 07/02/2011 02:37 AM, Xavier Gnata wrote:
> Hi,
>
> I'm use to compile the mpl git tree but I get an error with the current one:
>
>
> running build_ext
> building 'matplotlib.backends._tkagg' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
> -Wall -fPIC
>
> compile options: '-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
>-I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc
> -Iagg24/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
> -I/usr/include/python2.7 -c'
> gcc: CXX/cxxextensions.c
> gcc: no input files
> sh: -I/usr/include/tcl8.5: not found
> gcc: no input files
> sh: -I/usr/include/tcl8.5: not found
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
> -O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
>-I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc
> -Iagg24/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
> -I/usr/include/python2.7 -c CXX/cxxextensions.c -o
> build/temp.linux-x86_64-2.7/CXX/cxxextensions.o" failed with exit status 127
>
> Is it a known issue?

No.  It looks like a spurious newline is getting into the command 
string.  I see it on my linux system, but for me it is not having any 
effect on the compilation--I don't know why not.

Definitely a bug, probably associated with the most recent attempts to 
navigate the ever-changing waters of Tk/Tcl installations.

Eric

>
> Xavier
>
> --
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] compile failure with git tree

2011-07-02 Thread Eric Firing
On 07/02/2011 02:37 AM, Xavier Gnata wrote:
> Hi,
>
> I'm use to compile the mpl git tree but I get an error with the current one:
>
>
> running build_ext
> building 'matplotlib.backends._tkagg' extension
> C compiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2
> -Wall -fPIC
>
> compile options: '-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
>-I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc
> -Iagg24/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
> -I/usr/include/python2.7 -c'
> gcc: CXX/cxxextensions.c
> gcc: no input files
> sh: -I/usr/include/tcl8.5: not found
> gcc: no input files
> sh: -I/usr/include/tcl8.5: not found
> error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv
> -O2 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API
> -DPYCXX_ISO_CPP_LIB=1 -I/usr/include/tcl8.5
>-I/usr/include/tcl8.5 -I/usr/local/include -I/usr/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include -Isrc
> -Iagg24/include -I.
> -I/usr/local/lib/python2.7/dist-packages/numpy/core/include
> -I/usr/include/freetype2 -I/usr/local/include -I/usr/include -I.
> -I/usr/include/python2.7 -c CXX/cxxextensions.c -o
> build/temp.linux-x86_64-2.7/CXX/cxxextensions.o" failed with exit status 127
>
> Is it a known issue?

This is now fixed by 984d83ed9 in v1.0.x-maint and master.

Eric

>
> Xavier

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Update Qt import logic for event loop handling?

2011-07-02 Thread Fernando Perez
Hi folks,

as indicated here:

https://github.com/ipython/ipython/pull/550#issuecomment-1490217

our Qt-handling logic has recently changed a little bit, so it would
be great if on the mpl side things could be updated to match the
current code.  If nobody has time to do it I can look into making a
PR, but I'm pretty swamped for the next couple of weeks so it won't
happen right away...  This should be an easy fix though.

Feel free to ping us if there are any questions.

Thanks!

f

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel