octave-maintainers
[Top][All Lists]
Advanced

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

Re: [OctDev] Need for JHandles/Linux tester


From: Thomas Treichl
Subject: Re: [OctDev] Need for JHandles/Linux tester
Date: Sat, 07 Jul 2007 19:14:28 +0200
User-agent: Thunderbird 2.0.0.4 (Macintosh/20070604)

Paul, Michael,

as you expected java can be installed fine now via 'pkg install <java-VER.tar.gz>' also on my i386 Mac. But I was not successful with bringing jhandles working... The 'f.dispose ()' doesn't close my window (once again as expected).

So i continued and downloaded this jogl universal-binary from https://jogl.dev.java.net. I installed this in ~/tmp (where the real path for the jogl libs then is ~/tmp/jogl-1.1.1-pre-20070707-macosx-universal/lib).

I changed into extra/jhandles/src and edited the ./configure script with your suggestions:

Compile of jhandles is now working. Again I hacked the Makefile directly rather than dealing with autoconf immediately.

 HAVE_JAVA=yes
 JAVAC=javac
 JAR=jar
 JOGL_JAR=$(HOME)/Library/Java/Extensions/jogl.jar
 OCTAVE_JAR=$(HOME)/octave/java/octave.jar
 OCTAVE_PATHSEP=:

  HAVE_JAVA=yes
  JAVAC=javac
  JAR=jar
  JOGL_JAR=~/tmp/jogl-1.1.1-pre-20070707-macosx-universal/lib/jogl.jar
  OCTAVE_JAR=~/octave/java-1.2.0/octave.jar
  OCTAVE_PATHSEP=:

before this part of code in configure (in about line 2800):

  CONFIGURE_OUTPUTS="Makeconf"
  STATUS_MSG="
  octave commands will install into the following directories:
     m-files:   $mpath
     oct-files: $opath
     binaries:  $xpath

'./configure && make' does a good job then. But however I startup octave I get a 'jogl not found' error (doesn't matter if I export DYLD_LIBRARY_PATH and/or PATH environment).

  warning: JOGL could not be found, jhandles is not loaded
  warning: JOGL could not be found, jhandles is not loaded
  octave-2.9.12:1> getenv ("DYLD_LIBRARY_PATH")
  ans = /Applications/octave.app/Contents/Resources/lib/octave-2.9.12:
    /Applications/octave.app/Contents/Resources/lib:
    /Users/Me/tmp/jogl-1.1.1-pre-20070707-macosx-universal/lib/
  octave-2.9.12:2>

Thomas


reply via email to

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