compile failure with git tree

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

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

···

On 07/02/2011 02:37 AM, Xavier Gnata wrote:

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

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

···

On 07/02/2011 02:37 AM, Xavier Gnata wrote:

Xavier