On Fri, 22 Feb 2008 10:59:58 +0100, Colomban Wendling wrote:

I had a quick look at this bug because I like tuxguitar :)

> After a simple installation, tuxguitar fails to start with the following 
> message:
> /usr/bin/tuxguitar: line 18: /usr/local/opt/java/jre/bin/java: Aucun fichier 
> ou répertoire de ce type
> It seems that the Java installation directory is bad in the startup script.

Agreed, the line
  d=/usr/local/opt/java
in /usr/bin/tuxguitar is not really helpful. I guess it should be a
fallback if neither sun-java-5 nor sun-java-6 are available but in
your case the script breaks.

But:

> Note that I've not installed Java manually, and I use GNU implementation.

In my experience it doesn't work with GNU java.
You can try with 
  JAVA_HOME=/usr/lib/jvm/java-gcj /usr/bin/tuxguitar
which breaks for me.

IMO the Depends: of tuxguitar are not entirely correct. The line
says:
  Depends: ..,  sun-java6-jre | java2-runtime
but AFAIK tuxguitar explicitly needs sun-java (or maybe icedtea but
that's not in Debian yet). I suggest to change the line to
  Depends: .., sun-java6-jre | sun-java5-jre
(which has the disadvantage of excluding users who might have a
different java-jre which actually works ...).

Cheers,
gregor

-- 
 .''`.   http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
 : :' :  debian: the universal operating system - http://www.debian.org/
 `. `'   member of https://www.vibe.at/ | how to reply: http://got.to/quote/
   `-    NP: Rolling Stones

Attachment: signature.asc
Description: Digital signature

Reply via email to