problem compiling matplotlib on AIX

Does anyone have any thoughts on this? Lila, can you provide
matplotlib, gcc and AIX version/platform info?

···

---------- Forwarded message ----------
From: chase3@...259... <chase@...575...>
Date: Nov 29, 2007 11:49 AM
Subject: problem compiling matplotlib on AIX
To: jdh2358@...149...

John,

I thought I'd go back and look at AIX again.
Any hints on the following errors?

running build_ext
building 'matplotlib.ft2font' extension
xlc -q64 -DNDEBUG -O -I/usr/apps/link/include -I/usr/local/include
-I/usr/include -I. -I/usr/apps/link/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/gapps/python/aix_5_64_fed/opt-2.5/include/python2.5 -c
src/ft2font.cpp -o build/temp.aix-5.3-2.5/src/ft2font.o
"/usr/vacpp/include/xlocinfo.h", line 140.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocinfo.h", line 149.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocinfo.h", line 161.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocale", line 455.22: 1540-0138 (S) The undefined
template "codecvt" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 456.22: 1540-0138 (S) The undefined
template "codecvt" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 760.21: 1540-0138 (S) The undefined
template "ctype" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 768.14: 1540-0120 (S) The out-of-line
member definition "std::ctype<wchar_t>" of an explicit specialization
should not use a template prefix.
"./CXX/Objects.hxx", line 1653.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1654.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1655.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1656.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1657.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1658.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1660.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1661.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1662.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1663.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
...

"./CXX/Objects.hxx", line 2702.102: 1540-0140 (S) The text "&" is
unexpected. "MapBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"src/ft2font.cpp", line 951.27: 1540-0274 (S) The name lookup for "__cos"
did not find a declaration.
"src/ft2font.cpp", line 952.27: 1540-0274 (S) The name lookup for "__sin"
did not find a declaration.
error: command 'xlc' failed with exit status 1

Thanks,
Lila

--
Lila Chase
lchase@...259...
925-422-4086

matplotlib-0.91.0: Added additional include paths for aix5 to
setupext.py.

freetype-2.3.5 because the system one was compiled old and compiled
32-bit; did have to make one patch.

AIX 5.3
I'm not using gcc, because the project I'm trying to help uses an
xlc-compiled Python. (I did read somewhere that someone was successful
compiling matplotlib using gcc.)
xlc does not seem to give a version number readily.

Lila

···

On Thu, 29 Nov 2007, John Hunter wrote:

Does anyone have any thoughts on this? Lila, can you provide
matplotlib, gcc and AIX version/platform info?

---------- Forwarded message ----------
From: chase3@...259... <chase@...575...>
Date: Nov 29, 2007 11:49 AM
Subject: problem compiling matplotlib on AIX
To: jdh2358@...149...

John,

I thought I'd go back and look at AIX again.
Any hints on the following errors?

running build_ext
building 'matplotlib.ft2font' extension
xlc -q64 -DNDEBUG -O -I/usr/apps/link/include -I/usr/local/include
-I/usr/include -I. -I/usr/apps/link/include/freetype2
-I/usr/local/include/freetype2 -I/usr/include/freetype2 -I./freetype2
-I/usr/gapps/python/aix_5_64_fed/opt-2.5/include/python2.5 -c
src/ft2font.cpp -o build/temp.aix-5.3-2.5/src/ft2font.o
"/usr/vacpp/include/xlocinfo.h", line 140.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocinfo.h", line 149.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocinfo.h", line 161.23: 1540-0040 (S) The text
"_Ptr" is unexpected. "__xlocale_ptr" may be undeclared or ambiguous.
"/usr/vacpp/include/xlocale", line 455.22: 1540-0138 (S) The undefined
template "codecvt" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 456.22: 1540-0138 (S) The undefined
template "codecvt" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 760.21: 1540-0138 (S) The undefined
template "ctype" must not be explicitly instantiated.
"/usr/vacpp/include/xlocale", line 768.14: 1540-0120 (S) The out-of-line
member definition "std::ctype<wchar_t>" of an explicit specialization
should not use a template prefix.
"./CXX/Objects.hxx", line 1653.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1654.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1655.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1656.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1657.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1658.96: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::iterator" may be undeclared, ambiguous, or may
require "typename" qualification.
"./CXX/Objects.hxx", line 1660.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1661.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1662.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"./CXX/Objects.hxx", line 1663.102: 1540-0140 (S) The text "&" is
unexpected. "SeqBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
...

"./CXX/Objects.hxx", line 2702.102: 1540-0140 (S) The text "&" is
unexpected. "MapBase<T>::const_iterator" may be undeclared, ambiguous, or
may require "typename" qualification.
"src/ft2font.cpp", line 951.27: 1540-0274 (S) The name lookup for "__cos"
did not find a declaration.
"src/ft2font.cpp", line 952.27: 1540-0274 (S) The name lookup for "__sin"
did not find a declaration.
error: command 'xlc' failed with exit status 1

Thanks,
Lila

--
Lila Chase
lchase@...259...
925-422-4086

--
Lila Chase
lchase@...259...
925-422-4086