Re: [Matplotlib-users] Postscript problem

2008-04-30 Thread Johann Cohen-Tanugi
hello, so the freetype.rc is defined with env variables that are supposed to be fed in when packaging it. LIBZ seemingly was missing when the fedora 8 packaging of freetype was done. I added -lz directly to freetype.rc and rebuilt successfully matplotlib. I have no clue which mailing list to pi

Re: [Matplotlib-users] Postscript problem

2008-04-29 Thread John Hunter
On Tue, Apr 29, 2008 at 2:06 AM, Johann Cohen-Tanugi <[EMAIL PROTECTED]> wrote: > hi John, > for the record, I have a fedora 8 box, and the shipped version of > pkgconfig (pkgconfig-0.22-4.fc8) gives me : > > [EMAIL PROTECTED] matplotlib]$ /usr/bin/pkg-config --libs freetype2 > -lfreetype > >

Re: [Matplotlib-users] Postscript problem

2008-04-29 Thread Johann Cohen-Tanugi
hi John, for the record, I have a fedora 8 box, and the shipped version of pkgconfig (pkgconfig-0.22-4.fc8) gives me : [EMAIL PROTECTED] matplotlib]$ /usr/bin/pkg-config --libs freetype2 -lfreetype No -lz here, if I am not wrong in my querying this tool . best, Johann ---

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Johann Cohen-Tanugi
yes it does! -lz now shows up and the pstest runs fine. Any idea what is failing wrt pkgconfig? thanks, Johann John Hunter wrote: > On Mon, Apr 28, 2008 at 3:55 PM, Johann Cohen-Tanugi > <[EMAIL PROTECTED]> wrote: > >> Hi Michael, >> >> ok, here it is attached. For completion, from the matplo

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread John Hunter
On Mon, Apr 28, 2008 at 3:55 PM, Johann Cohen-Tanugi <[EMAIL PROTECTED]> wrote: > Hi Michael, > > ok, here it is attached. For completion, from the matplotlib directory, I > issued : > [EMAIL PROTECTED] matplotlib]$ \rm -rf build > [EMAIL PROTECTED] matplotlib]$ python setup.py build > build.log

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Michael Droettboom
Arthur M. Greene wrote: > The replies have been helpful, but I'm still trying to figure out where > the problem lies, but I have noticed that matplotlib-0.90.1 apparently > doesn't use ttconv. That is correct. ttconv is a tool to convert and subset Truetype fonts to Postscript fonts for embedd

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Michael Droettboom
Johann Cohen-Tanugi wrote: > After browsing the web a little, it seems that the matplotlib build of > ft2font2 is missing the linking of libz.so : if I add it to the command > line > [EMAIL PROTECTED] matplotlib]$ g++ -pthread -shared > build/temp.linux-i686-2.5/src/ft2font.o > build/temp.linux

Re: [Matplotlib-users] Postscript problem

2008-04-28 Thread Johann Cohen-Tanugi
After browsing the web a little, it seems that the matplotlib build of ft2font2 is missing the linking of libz.so : if I add it to the command line [EMAIL PROTECTED] matplotlib]$ g++ -pthread -shared build/temp.linux-i686-2.5/src/ft2font.o build/temp.linux-i686-2.5/src/mplutils.o build/temp.li

Re: [Matplotlib-users] Postscript problem

2008-04-27 Thread Arthur M. Greene
The replies have been helpful, but I'm still trying to figure out where the problem lies, but I have noticed that matplotlib-0.90.1 apparently doesn't use ttconv. I have this version installed at home and am able to generate poscript without a problem. Are you able to tell which package is comp

Re: [Matplotlib-users] Postscript problem

2008-04-27 Thread Johann Cohen-Tanugi
Sorry for the preceding mis-threaded version. Here it is again : I dont know if it is related, but I am actually failing an exemple : [EMAIL PROTECTED] matplotlib]$ ipython examples/pstest.py --- ImportError

Re: [Matplotlib-users] Postscript problem

2008-04-27 Thread Johann Cohen-Tanugi
hmm, I did not use matplotlib recently, but looking at the library, I would guess that I have the same issue : [EMAIL PROTECTED] ~]$ ldd /usr/lib/python2.5/site-packages/matplotlib/ttconv.so linux-gate.so.1 => (0x0011) libpython2.5.so.1.0 => /usr/lib/libpython2.5.so.1.0 (0x001

[Matplotlib-users] Postscript problem

2008-04-27 Thread Arthur M. Greene
Hello Matplotlib users, I'm having difficulty generating postscript, and receiving an error that I'm guessing reflects a version conflict, but I'm not sure exactly which version of what needs to be changed. If I generate a plot (backend is QtAGG, so I get a window), then click on the save butto