Re: [Plplot-devel] Java compile problems

2007-01-23 Thread Alan W. Irwin
I have tried vanilla swig 1.3.31, and I confirm the problem. Orion, I had a look at the swig documentation you recommended, and I must say I don't understand enough Java to be able to follow your conclusion that the -nopgcpp command-line option might help us out. However, I do know how to try such

Re: [Plplot-devel] Java compile problems

2007-01-23 Thread Orion Poplawski
Orion Poplawski wrote: > Can be suppressed with -nopgcpp, which I may try to use for the time > being. Suggestions for how to pass this argument? > I ended up with: --- plplot-5.7.2/bindings/java/CMakeLists.txt.nopgcpp 2007-01-21 17:46:00.0 -0700 +++ plplot-5.7.2/bindings/java/CMake

Re: [Plplot-devel] Java compile problems

2007-01-23 Thread Orion Poplawski
Alan W. Irwin wrote: > > So my guess is you have run into a problem with the version of swig that > Fedora has adopted. Just in case Fedora have made some bad patches to the > latest swig (1.3.31) or are using a bad earlier version, could you try to > replicate the problem with vanilla swig downl

Re: [Plplot-devel] Java compile problems

2007-01-23 Thread Orion Poplawski
Alan W. Irwin wrote: > > Both plplotjavacJNI.java and PLGraphicsIN.java are files that are generated > by swig. I just checked, and plplotjavacJNI.java generated on my Ubuntu > Dapper system with swig-1.3.27 has no type PLGraphicsIn for any of the > arguments. For example, in replacement for the

Re: [Plplot-devel] Java compile problems

2007-01-22 Thread Alan W. Irwin
On 2007-01-17 11:51-0700 Orion Poplawski wrote: > Orion Poplawski wrote: >> I'm getting the following trying to compile on Fedora Core 6 with the >> GNU java compiler: >> >> [ 15%] Generating plplot/core/plplotjavacJNI.class >> cd /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java && >> /usr/

Re: [Plplot-devel] Java compile problems

2007-01-22 Thread Orion Poplawski
Orion Poplawski wrote: > > Looks like a circular dependency - plplotjavacJNI depends on > PLGraphicsIN and vice versa. I'm no java person but it looks like you > need an include file or forward class declaration in the source files. > Is anyone able to compile this with gcj? This is a deal

Re: [Plplot-devel] Java compile problems

2007-01-17 Thread Orion Poplawski
Orion Poplawski wrote: > I'm getting the following trying to compile on Fedora Core 6 with the > GNU java compiler: > > [ 15%] Generating plplot/core/plplotjavacJNI.class > cd /builddir/build/BUILD/plplot-5.7.1/fedora/bindings/java && > /usr/bin/javac -classpath > /builddir/build/BUILD/plplot-5