I've found a way to configure my compiler. After setting CC=gcc I was
able to complete the compilation. But when I test it :

python anim.py

The import of the numpy version of the _transforms module,
_ns_transforms, failed.  This is is either because numpy was unavailable
when matplotlib was compiled, because a dependency of _ns_transforms
could not be satisfied, or because the build flag for this module was
turned off in setup.py.  If it appears that _ns_transforms was not
built, make sure you have a working copy of numpy and then re-install
matplotlib. Otherwise, the following traceback gives more details:

Traceback (most recent call last):
  File "anim.py", line 19, in <module>
    import pylab as p
  File "/Produits/tmp/rla/AIX/lib/python2.5/site-packages/pylab.py",
line 1, in <module>
    from matplotlib.pylab import *
  File
"/Produits/tmp/rla/AIX/lib/python2.5/site-packages/matplotlib/pylab.py",
line 203, in <module>
    from axes import Axes, PolarAxes
  File
"/Produits/tmp/rla/AIX/lib/python2.5/site-packages/matplotlib/axes.py",
line 14, in <module>
    import artist
  File
"/Produits/tmp/rla/AIX/lib/python2.5/site-packages/matplotlib/artist.py"
, line 4, in <module>
    from transforms import identity_transform
  File
"/Produits/tmp/rla/AIX/lib/python2.5/site-packages/matplotlib/transforms
.py", line 223, in <module>
    from _transforms import Value, Point, Interval, Bbox, Affine
  File
"/Produits/tmp/rla/AIX/lib/python2.5/site-packages/matplotlib/_transform
s.py", line 17, in <module>
    from matplotlib._ns_transforms import *
ImportError: No module named _ns_transforms

Of course, I have numpy installed and tested.

During the compilation, I get this error (using gcc-4.1.1):

/usr/local/lib/python2.5/config/ld_so_aix cc_r
-bI:/usr/local/lib/python2.5/config/python.exp
build/temp.aix-5.3-2.5/src/_na_transforms.o
build/temp.aix-5.3-2.5/src/mplutils.o
build/temp.aix-5.3-2.5/CXX/IndirectPythonInterface.o
build/temp.aix-5.3-2.5/CXX/cxx_extensions.o
build/temp.aix-5.3-2.5/CXX/cxxsupport.o
build/temp.aix-5.3-2.5/CXX/cxxextensions.o -L/usr/local/lib
-L/opt/freeware/lib -L/Produits/publics/powerpc.AIX.5.3/lib
-L/Produits/publics/powerpc.AIX.5.3/gcc/3.1/lib
-L/Produits/publics/powerpc.AIX.5.2/zlib/1.1.4/lib
-L/Produits/tmp/JL/AIX-5.2/TestInstall/lib -lstdc++ -lm -o
build/lib.aix-5.3-2.5/matplotlib/_na_transforms.so
ld: 0711-317 ERROR: Undefined symbol: _ZTISt9exception
ld: 0711-317 ERROR: Undefined symbol: ._Unwind_Resume
ld: 0711-317 ERROR: Undefined symbol:
._ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_
ld: 0711-317 ERROR: Undefined symbol:
._ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base
ld: 0711-317 ERROR: Undefined symbol:
._ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base
ld: 0711-317 ERROR: Undefined symbol: _ZNSs4_Rep20_S_empty_rep_storageE
ld: 0711-317 ERROR: Undefined symbol:
._ZN9__gnu_cxx18__exchange_and_addEPVii
ld: 0711-317 ERROR: Undefined symbol: _ZTISt11logic_error
ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_acquire
ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_release
ld: 0711-317 ERROR: Undefined symbol: .__cxa_guard_abort
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information. building 'matplotlib._ns_transforms' extension

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Matplotlib-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to