Re: [OctDev] java-1.2.7 fails to install in octave-3.3.51

2010-08-11 Thread Michael Goffioul
On Tue, Aug 10, 2010 at 11:38 PM, Philip Nienhuis wrote: > Is there a way to make __java__.cc check the running octave version and > invoke the appropriate call? (#ifdef or so? - I'm not very proficient in > c++, sorry) Usually, this is better achieve with a configure test to check the actual fea

Re: [OctDev] java-1.2.7 fails to install in octave-3.3.51

2010-08-10 Thread Philip Nienhuis
Martin Helm wrote: > Am Donnerstag, 22. Juli 2010 00:58:46 schrieb Charles Yee: >> bool)’: __java__.cc:223: error: ‘getcwd’ is not a member of ‘octave_env’ > > I compiled the java package succesfully with octave 3.3.52 (should work the > same with 3.3.51) by changing the __java__.cc code. > > ge

Re: [OctDev] java-1.2.7 fails to install in octave-3.3.51

2010-08-07 Thread Martin Helm
Am Donnerstag, 22. Juli 2010 00:58:46 schrieb Charles Yee: > Hi, > > I am running octave-3.3.51. I wanted to install the java-1.2.7 package. > Unfortunately, I got the following warnings and errors. Is there fix > available or work around? > > Thank you. > > -Charles > > pkg -verbose install

[OctDev] java-1.2.7 fails to install in octave-3.3.51

2010-07-21 Thread Charles Yee
Hi, I am running octave-3.3.51. I wanted to install the java-1.2.7 package. Unfortunately, I got the following warnings and errors. Is there fix available or work around? Thank you. -Charles pkg -verbose install java-1.2.7.tar.gz __java__.cc: In function ‘std::string get_module_path(con