Re: [Java-gnome-developer] cairo-java / getMatrix() problem
Brought to you by:
afcowie
From: Ismael J. <ml...@ju...> - 2005-12-01 21:35:10
|
On Thu, 2005-12-01 at 19:47 +0000, David Gilbert wrote: [...] > Thanks for the quick response. I'd like to try your patch, but so far I > have not succeeded in building cairo-java from CVS. I get this error > when I execute 'make': > > /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.6/../../../../i686-pc-linux-gnu/bin/ld: > cannot find -lglibjava > collect2: ld returned 1 exit status > make[1]: *** [libcairojava.la] Error 1 > make[1]: Leaving directory `/home/dgilbert/cairo-java-cvs/cairo-java' > make: *** [all] Error 2 > > I know nothing about this stuff, I only got cairo-java working via the > Gentoo ebuild. Any hints? I don't know much about the gentoo ebuilds myself, and from the error snippet, it's not apparent what's going wrong. The problem is occurring in the native compilation step, however, so you can skip that step while we're trying to figure out why the problem is happening if you so wish. This can be done by passing --without-gcj-compile to autogen.sh or configure. To help us figure out why the problem is happening, it would be useful if you could post the whole output instead of just that small fragment. > P.S. By the way, my interest in cairo-java is to create a > CairoGraphics2D class that can be used with JFreeChart (and any other > applications that use the Graphics2D API). I started that and got some > promising results before running into the getMatrix() problem. Here are > some PNG images I created with a very basic Graphics2D implementation > (I'm sure it can be improved a lot): > > http://www.object-refinery.com/jfreechart/cairo/PieChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/BarChartTest.png > > http://www.object-refinery.com/jfreechart/cairo/TimeChartTest.png > > This is running on Sun's JDK but I'm hopeful of getting the same thing > running on JamVM and GNU Classpath. Very cool! :) Regards, Ismael |