Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > Hmm, what version of wx are you using? wxPython-2.6.3.2-i486-1asz (on Slackware) Rich -- Richard B. Shepard, Ph.D. |The Environmental Permitting Applied Ecosystem Services, Inc.| Accelerator(TM)

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > Can you > > import matplotlib.backends._wxagg > > successfully? Yes. > matplotlib.backends.backend_wxagg still supports using the older, > slower, python transfer. If you edit backend_wxagg.py and edit the > bottom of the file replacing the block > >

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > I didn't see the attachment. John, Mea culpa! I forgot to stick them on. > > python myscript.py --verbose-debug -dAgg >& runagg.out > > python myscript.py --verbose-debug -dPS >& runps.out > > python myscript.py --verbose-debug -dGTK >& rungtk.out >

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: Rich>simple_plot.py and the output (matplot.log) are Rich> attached. It is when the show() command is run that the Rich> problem appears. I didn't see the attachment. Rich> How do I specify the backend for a run of th

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > If you recompiled cleanly (ie removed the build subdir) with VERBOSE=True > as instructed, you should be getting tons and tons of output whenever you > run a script (eg can you run simple_plot.py?). John, I was looking for verbose output during the bu

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: >> If that shed additional light, again flush the build and >> install dirs, and try setting VERBOSE=True in setup.py before >> doing a clean install. The VERBOSE setting will generate lots >> of extra output and may help ind

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > # How to diagnose where a segfault is occurring > Try importing these packages individually > > import matplotlib._image > import matplotlib._transforms > import matplotlib.backends._ns_backend_agg # for numpy > import matplotlib.backends._tkagg > im

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > If that shed additional light, again flush the build and install dirs, and > try setting VERBOSE=True in setup.py before doing a clean install. The > VERBOSE setting will generate lots of extra output and may help indicate > where the segfault is occurring

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > # How to diagnose where a segfault is occurring > Try importing these packages individually [EMAIL PROTECTED] ~]$ ipython In [1]: import matplotlib._image In [2]: import matplotlib._transforms In [3]: import matplotlib.backends._ns_backend_agg In [4]: i

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, Simson Garfinkel wrote: > Perhaps you have a second installation that you are not aware of. Good thought, Simon. I have the new /usr/local/matplotlib-0.87.7, /usr/share/matplotlib (with images and fonts), and another directory with docs and examples. That's all. There are

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: Rich>Is matplotlib-0.87.7 dependent on specific versions of Rich> gcc or glibc? Not that I know of... I'm pasting in our "SEGFAULTS" instructions below, which are located in the svn repository # How to diagnose where a segfaul

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Simson Garfinkel
Perhaps you have a second installation that you are not aware of. On Jan 11, 2007, at 12:18 PM, Rich Shepard wrote: > On Thu, 11 Jan 2007, John Hunter wrote: > >> sudo rm -rf your build dir and site-packages/matplotlib and >> rebuild/reinstall. > > John, > >Rats! That did not change the resu

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > sudo rm -rf your build dir and site-packages/matplotlib and > rebuild/reinstall. John, Rats! That did not change the result. Is matplotlib-0.87.7 dependent on specific versions of gcc or glibc? Rich -- Richard B. Shepard, Ph.D. |

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: Rich> In [3]: show() Segmentation fault sudo rm -rf your build dir and site-packages/matplotlib and rebuild/reinstall. JDH - Take Surveys. Earn Cash. Influence th

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > You may also want to append /usr/local/pkgconfig/ to that path... John, pkgconfig is only in /usr/local/lib. > Glad it's working for you. Well, let's not be too hasty. I replaced ~/.matplotlib/matplotlibrc with the newer copy from today's ins

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: Rich>Regardless, I added 'export Rich> PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/' to .bash_profile Rich> and sourced that file. Did the same for root's Rich> .bash_profile. Now it's building. You may also want to append

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread Rich Shepard
On Thu, 11 Jan 2007, John Hunter wrote: > In your build environment, see if these directories show up with > > > pkg-config --cflags-only-I pygtk-2.0 John, Nobody's home. > That is what mpl uses to find your pygtk headers. If not, set your > PKG_CONFIG_PATH environment variable accordingly

Re: [Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-11 Thread John Hunter
> "Rich" == Rich Shepard <[EMAIL PROTECTED]> writes: >> From 'python setup.py build': Rich> src/_ns_backend_gdk.c:17:25: pygtk/pygtk.h: No such file or Rich> directory Rich>However, ... Rich> [EMAIL PROTECTED] ~]$ locate pygtk.h Rich> /usr/local/pygtk-2.8.6/gtk/py

[Matplotlib-users] matplotlib-0.87.7 Build Failure

2007-01-10 Thread Rich Shepard
>From 'python setup.py build': src/_ns_backend_gdk.c:17:25: pygtk/pygtk.h: No such file or directory However, ... [EMAIL PROTECTED] ~]$ locate pygtk.h /usr/local/pygtk-2.8.6/gtk/pygtk.h /usr/local/include/pygtk-2.0/pygtk/pygtk.h Do I need to add /usr/local/include/pygtk-2.0/ somewhere in