SourceForge logo
SourceForge logo
Menu

matplotlib-users

From: Dominique O. <Dom...@po...> - 2004年04月30日 23:21:50
Hi,
I have seen related issues recently on the mailing list. I have built 
the latest matplotlib from CVS in SuSE Linux 8.0 with gcc 3.3. The GTK 
backend works fine, but GTKAgg and TkAgg pop up a window but don't 
render the plot. Has anyone had the same problem?
Here is the output of ldd -r _tkagg.so
	libtk8.4.so => /usr/local/lib/libtk8.4.so (0x40003000)
	libtcl8.4.so => /usr/local/lib/libtcl8.4.so (0x400d2000)
	libpng.so.2 => /usr/lib/libpng.so.2 (0x40173000)
	libz.so.1 => /lib/libz.so.1 (0x401a5000)
	libstdc++.so.5 => /usr/local/lib/libstdc++.so.5 (0x401b4000)
	libm.so.6 => /lib/libm.so.6 (0x4026f000)
	libfreetype.so.6 => /usr/local/lib/libfreetype.so.6 (0x40292000)
	libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 (0x402f6000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x402ff000)
	libc.so.6 => /lib/libc.so.6 (0x40316000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4043e000)
	libdl.so.2 => /lib/libdl.so.2 (0x404fe000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
undefined symbol: _Py_NoneStruct	(./_tkagg.so)
undefined symbol: Py_BuildValue	(./_tkagg.so)
undefined symbol: Py_InitModule4	(./_tkagg.so)
undefined symbol: PyArg_ParseTuple	(./_tkagg.so)
It looks like these 'undefined symbols' are not the cause of the 
problem; they are missing from every .so in my site-packages. They must 
be linked in at run time from somewhere else.
I see that in a previous post, you recommend to link in -lX11 -lXaw,
what exactly do you mean by that? To which command should those be appended?
Thanks in advance !
Dominique
From: John H. <jdh...@ac...> - 2004年05月01日 13:47:27
>>>>> "Dominique" == Dominique Orban <Dom...@po...> writes:
 Dominique> Hi, I have seen related issues recently on the mailing
 Dominique> list. I have built the latest matplotlib from CVS in
 Dominique> SuSE Linux 8.0 with gcc 3.3. The GTK backend works
 Dominique> fine, but GTKAgg and TkAgg pop up a window but don't
 Dominique> render the plot. Has anyone had the same problem?
I don't think your issue is the same as the one Gerry was experiencing
because in his case he wasn't showing any links with tk/tcl/X11 and
you are. I think you may be experiencing a CVS specific problem.
I suggest building 0.53.1 at this point. There haven't been any
features added to CVS since the 0.53.1 release that justify the extra
difficulties and uncertainties associated with building from CVS.
There are several developers checking in to CVS and the mirrors w/o
ssh access often lag behind a day or two and this often makes it
difficult to debug a CVS problem.
If you still have the problem with 0.53.1, let me know!
Note, last night I made a significant change to the Agg backend which
affects TkAgg and GTKAgg and if you are interested in being a crash
test dummy I would be much obliged. To insure you have a fresh
checkout, you should do a new checkout and see if you get the CXX dir
in the matplotlib root. If you do, then it is likely you have the
most recent code. If not, it's not worth debugging the CVS problem
you are having because it is likely to change with the new code. It's
also important to insure you have a clean build by rm -rf your build
dir and the site-packages matplotlib dir. Let me know what happens if
you decide to go this route.
JDH
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /