On Jun 4, 2007, at 10:17 PM, Alan W. Irwin wrote: > On 2007-06-04 21:17-0400 Hazen Babcock wrote: > >> On Jun 3, 2007, at 7:30 PM, Alan W. Irwin wrote: > >>> (1) the 'ldd -r cairo.so' test showed the >>> following problems: >>> >>> undefined symbol: cairo_ps_surface_create (./cairo.so) >>> undefined symbol: cairo_pdf_surface_create (./cairo.so) >>> undefined symbol: cairo_svg_surface_create (./cairo.so) >>> >>> It's fairly urgent to solve these problems since it excludes any >>> testing >>> of >>> the pscairo, pdfcairo, or svgcairo devices on Linux. >> >> Maybe this is because I have Cairo v1.2.6 and debian testing is >> v1.2.4? >> According the cairo docs these functions have been in the library >> since 1.2. > > That's the best background I can give you about how relevant > libcairo-1.0.4 > will be in the future, and I will let you be the judge whether you > want to > support this older version of libcairo or not. I hope to install > debian > testing some time this summer after I finish my current research > project, > and after that old libcairo versions won't be an issue for me.
Since it seems to work for xcairo I don't think there should be a problem supporting it. We'll turn off the ps,pdf and svg drivers for those with older versions of libcairo. >>> (2) ./x08c -dev xcairo shows only the first page of that example. >> >> Hm. On OS-X I get a bus error. It is interesting that it works >> fine if you >> just type ./x08c and then choose the driver. > > ./x08c -dev xcairo now actually pretty much works for me. I > finally figured > out that you should hit CR in the xterm where that command-line is > typed and > not the GUI (at least when threading is not turned on). > > Now that I know how to run it, "./x08c -dev xcairo" shows some issues. > > (1) The 3D labelling needs work on the transformation to determine the > rotation and slew of each letter. I thought there was now standard > code > in the plplot library for that? Or is it a bug in that standard code? It also looks kind of funny on my machine. I'll have a look. There is a function for this now called plRotationShear(), perhaps it using the wrong coordinate system, i.e. device versus physical versus world? > (2) Memory management issues > > Here is the associated error message (after I hit one additional CR > after > the last page of example 8 is displayed) > > *** glibc detected *** double free or corruption (!prev): > 0x08050358 *** > > Unless there is some internal problem in the Ubuntu Dapper > libraries (this > is possible since these are old versions of each library) it sounds > like > your code might be trying to free something that has already been > freed. I'm not seeing this in OS-X. If you are so inclined, could you go to the sub-routine plD_tidy_xcairo(), line 783, in cairo.c and comment out the call to plD_tidy_cairo() and/or the call to free() on line 796 and let me know which one (if either) makes this message go away? thanks, -Hazen ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel