[JGloss] Re: Compilation from source fails
Add readings and translations to Japanese text
Brought to you by:
tensberg
From: Michael K. <ten...@gm...> - 2004-03-22 11:51:55
|
> Are you sure this has to be jgloss.ui not jgloss/ui? Yes. The java compiler automatically converts package names to pathnames. > > or use the the cygwin-included function to convert UNIX to DOS > > pathnames (I think it is called "cygpath"). > > Yes, it is called cygpath, but what is that supposed to help? Please > note that I issued the make command in > /cygdrive/d/Quellcode/jgloss/jgloss-1.0.6 (forward slashes!). Cygwin > converts automatically between / and \ and the other way round. I've been experimenting with a cygwin install today. Replacing the CLASSPATH := line in the Makefile with CLASSPATH := $(shell cygpath -wp $(shell cygpath -up "$(CLASSPATH)"):./cls:./src) does the trick for me. This assumes that the environment variable $CLASSPATH uses DOS path conventions. The cygpath -up command converts the pathname to Unix convention, then the two directories cls and source are added (cls was only added recently, so it is not relevant if you try to compile JGloss 1.0.6). The outer cygpath -wp converts the full classpath back to DOS conventions. Javac is then called with the CLASSPATH in DOS convention, which works for me. > I tried this on my Debian Woody machine, but there it did not work > because Swing was not available (could not find package "javax/swing" > in ...). Debian does not include the SUN or IBM Java Development Kit because of licensing issues. The free Java tools which are bundled with Debian do not include Swing. You need to install the SUN development kit to compile and use JGloss. The Debian GNU/Linux Java FAQ is here: http://www.debian.org/doc/manuals/debian-java-faq/ch-debian-java-woody.html Michael Koch JGloss developer |