help-octave
[Top][All Lists]
Advanced

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

Re: How do I install the java and jhandles packages?


From: LUK ShunTim
Subject: Re: How do I install the java and jhandles packages?
Date: Sat, 19 Jul 2008 19:36:43 +0800
User-agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)

Matthias Brennwald wrote:
On Fri, 2008-07-18 at 14:48 +0200, Michael Goffioul wrote:
On Fri, Jul 18, 2008 at 12:43 PM, Matthias Brennwald
<address@hidden> wrote:

[snipped]

Can you use the -verbose flag with pkg to get the output of the
configure script?

octave:1> cd Desktop/
octave:2> pkg install -verbose jhandles-0.3.3.tar.gz make: *** [all] Error 255
mkdir (/tmp/oct-ugTPDw)
untar (jhandles-0.3.3.tar.gz, /tmp/oct-ugTPDw)
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for mkoctfile... mkoctfile
retrieving compile and link flags from mkoctfile
checking for F77_FUNC... yes
checking for octave... octave
checking for OCTAVE_VERSION in Octave... 3.0.0+
checking for octave_config_info('canonical_host_type') in Octave...
x86_64-unknown-linux-gnu
checking for octave_config_info('SHLEXT') in Octave... so
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking for java... java
'make' returned the following error: make: Entering directory
`/tmp/oct-ugTPDw/jhandles-0.3.3/src'
Java support not compiled
make: Leaving directory `/tmp/oct-ugTPDw/jhandles-0.3.3/src'
error: called from `configure_make' in
file /usr/local/share/octave/3.0.0+/m/pkg/pkg.m near line 1251, column 2
error: called from `install' in file `/usr/local/share/octave/3.0.0
+/m/pkg/pkg.m'
error: evaluating switch command near line 275, column 1
error: called from `pkg' in file `/usr/local/share/octave/3.0.0
+/m/pkg/pkg.m'


Hello all,

I had exactly the same error on debian/sid and it seems to be a jogl path problem. Here's the relevant error message:

octave:2> pkg -verbose install jhandles-0.3.3.tar.gz
...
octave-forge is configured with
   octave:      octave (version 3.0.1)
   mkoctfile:   mkoctfile for Octave 1
   java:        Can not find jogl.jar
   octave.jar:  /home/stluk/octave/java-1.2.4/octave.jar
   jogl.jar:    jogl.jar
...

In debian, jogl.jar (and gluegen-rt.jar) is installed under /usr/share/java. I tried setting CLASSPATH but it does not seem to help. How can I ask pkg to locate the jar files?

Regards,
ST
--



reply via email to

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