help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JHandles packages installation


From: Miroslaw Kwasniak
Subject: Re: JHandles packages installation
Date: Fri, 23 May 2008 12:43:57 +0200
User-agent: Mutt/1.5.9i

On Tue, May 20, 2008 at 05:42:48PM +0200, Andrea Spadaccini wrote:
> Hello everybody,
> I'm experiencing some problems with the JHandles packages.
> 
> I'm running Octave 3.0.1 on Debian Lenny, with pinning I got the latest
> Octave packages from Debian Unstable. Everything works correctly,
> but I'm unable to install those two packages from octave-forge.

On my side (Debian Lenny) I use such script to invoke octave with
java+jhandles from sourceforge:

  #!/bin/bash
  export PATH="/usr/share/java/:$PATH"
  export JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
  export LD_LIBRARY_PATH=/usr/share/java:/usr/lib/jni
  export CPPFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux"
  octave-3.0.1 -q

and I changed a little jhandles-0.3.3.tar.gz (a recipe from list):

  --- jhandles-0.3.3/src/Makefile 2008-04-28 19:05:52.000000000 +0200
  +++ jhandles-0.3.3_MY/src/Makefile      2008-05-23 11:24:38.000000000 +0200
  @@ -38,4 +38,4 @@
          $(MKOCTFILE) -v -I. $(JAVA_INCS) -c $<

   __jhandles__.oct: __jhandles__.cc
  -       $(MKOCTFILE) '-I$(OCTAVE_JAVA_DIR)' $^ '-L$(OCTAVE_JAVAOCT_DIR)' 
-l__java__
  +       $(MKOCTFILE) '-I$(OCTAVE_JAVA_DIR)' $^ '-L$(OCTAVE_JAVAOCT_DIR)'


Mirek


reply via email to

[Prev in Thread] Current Thread [Next in Thread]