[matplotlib-devel] installation on AIX with XLC compiler

2013-07-23 Thread Bruno L. Amadio Caires

Hi

I am trying install scipy on AIX 6.1 power7, I saw how to install here 
https://sourceforge.net/mailarchive/forum.php?thread_name=4EFB7DC6.6020805%40ucar.edu&forum_name=matplotlib-devel


But I got this error:
/
//bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # xlC -ma 
-I/opt/freeware/include -DAIX_GENUINE_CPLUSCPLUS -Wl,-brtl 
-bI:/opt/freeware/lib/python2.6/config/python.exp -qcpluscmt -qmkshrobj 
build/temp.aix-6.1-2.6/src/agg_py_transforms.o 
build/temp.aix-6.1-2.6/src/_tkagg.o 
build/temp.aix-6.1-2.6/CXX/IndirectPythonInterface.o 
build/temp.aix-6.1-2.6/CXX/cxx_extensions.o 
build/temp.aix-6.1-2.6/CXX/cxxsupport.o 
build/temp.aix-6.1-2.6/CXX/cxxextensions.o -LI:/usr/lib/libtcl8.4.exp 
-LI:/usr/lib/libtk8.4.exp -L/usr/local/lib -L/usr/local/lib64 
-L/opt/freeware/lib -L/usr/local/lib -L/usr/local/lib64 -lm -lfreetype 
-lz -lm -o build/lib.aix-6.1-2.6/matplotlib/backends/_tkagg.so//

//ld: 0711-224 WARNING: Duplicate symbol: guesses//
//ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.//

//ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateCommand//
//ld: 0711-317 ERROR: Undefined symbol: .Tk_MainWindow//
//ld: 0711-317 ERROR: Undefined symbol: .Tk_FindPhoto//
//ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoBlank//
//ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoPutBlock_NoComposite//
//ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendResult//

Some informations :

bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep tcl
tcl-8.4.7-3
tcl-8.5.13-1
tcllib-1.11.1-1
bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep tk
tk-8.4.7-3
atk-1.12.3-2
tkinter-2.6.7-1
gtk2-2.10.6-4
tk-8.5.13-1

/
/Please get back to me with solution, how can I get Matplotlib in AIX 6.1?

tks

/

--
Bruno L. Amadio Caires
Informática - FT
Universidade Estadual de Campinas
Fone:(19)2113-3470

--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] installation on AIX with XLC compiler

2013-07-23 Thread Benjamin Root
On Tue, Jul 23, 2013 at 12:18 PM, Bruno L. Amadio Caires <
[email protected]> wrote:

>  Hi
>
> I am trying install scipy on AIX 6.1 power7, I saw how to install here
> https://sourceforge.net/mailarchive/forum.php?thread_name=4EFB7DC6.6020805%40ucar.edu&forum_name=matplotlib-devel
>
> But I got this error:
> *
> **bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # xlC -ma
> -I/opt/freeware/include -DAIX_GENUINE_CPLUSCPLUS -Wl,-brtl
> -bI:/opt/freeware/lib/python2.6/config/python.exp -qcpluscmt -qmkshrobj
> build/temp.aix-6.1-2.6/src/agg_py_transforms.o
> build/temp.aix-6.1-2.6/src/_tkagg.o
> build/temp.aix-6.1-2.6/CXX/IndirectPythonInterface.o
> build/temp.aix-6.1-2.6/CXX/cxx_extensions.o
> build/temp.aix-6.1-2.6/CXX/cxxsupport.o
> build/temp.aix-6.1-2.6/CXX/cxxextensions.o -LI:/usr/lib/libtcl8.4.exp
> -LI:/usr/lib/libtk8.4.exp -L/usr/local/lib -L/usr/local/lib64
> -L/opt/freeware/lib -L/usr/local/lib -L/usr/local/lib64 -lm -lfreetype -lz
> -lm -o build/lib.aix-6.1-2.6/matplotlib/backends/_tkagg.so**
> **ld: 0711-224 WARNING: Duplicate symbol: guesses**
> **ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.**
> **ld: 0711-317 ERROR: Undefined symbol: .Tcl_CreateCommand**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_MainWindow**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_FindPhoto**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoBlank**
> **ld: 0711-317 ERROR: Undefined symbol: .Tk_PhotoPutBlock_NoComposite**
> **ld: 0711-317 ERROR: Undefined symbol: .Tcl_AppendResult**
>
> Some informations :
>
> bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep
> tcl
> tcl-8.4.7-3
> tcl-8.5.13-1
> tcllib-1.11.1-1
> bruno@xcat01 /home/bruno/local/sources/matplotlib-1.2.0 # rpm -qa | grep
> tk
> tk-8.4.7-3
> atk-1.12.3-2
> tkinter-2.6.7-1
> gtk2-2.10.6-4
> tk-8.5.13-1
>
> *
> *Please get back to me with solution, how can I get Matplotlib in AIX 6.1?
>
> tks
>
> *
>

So, all of the errors appear related to linking _tkagg.so to the various
tkinter and tcl libraries. I see that you have tcl-8.4.7 and tcl-8.5.13,
and it is the 8.4 version that the linker is picking up.  Which version of
tcl do you have the development package for?  Perhaps you have the 8.5
version of the dev packages, would would have newer symbols and the linker
then tries linking against the older library without those symbols? This is
completely a guess, though.

Cheers!
Ben Root
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.0rc5 tagged

2013-07-23 Thread Benjamin Root
Just checked out rc5 from git and did an install, and ran into a pyparsing
version check issue.  Turns out I completely forgot to do a "git clean
-fxd".  Doing that fixed the problem.  When we officially announce this,
perhaps it would be best to mention that command?  In addition, it would
probably be a good idea to include this tidbit into the INSTALL?

Cheers!
Ben Root
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.3.0rc5 tagged

2013-07-23 Thread Michiel de Hoon
I noticed that this release candidate will always skip the Mac OS X backend,
as the .check() method of BackendMacOSX in setupext.py returns None. Adding
    return "darwin"
or some other string solves the issue.
Also, if I am not mistaken, the files under 
lib/matplotlib/backends/Matplotlib.nib (as returned by the get_package_data() 
method of BackendMacOSX in setupext.py) are needed by the cocoaagg backend, not 
by the MacOSX backend.

Best,
-Michiel.
___

Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel