[Java-gnome-developer] Running the make script twice
Brought to you by:
afcowie
From: <bi...@ma...> - 2002-03-29 23:06:21
|
The part of the make script that fails the first time you run the script, will actually fail continuesly if CLASSPATH does not exist. If CLASSPATH exists, but is empty (eg. "export CLASSPATH=3D") then the makescript will complete the second time its run (dunno why). The line in the script (test/Makefile) that fails is=20 this one: gcj -fPIC -fjni -g -O -o TestGTK --main=3DTestGTK \ -L../lib TestGTK.java -lGTKJar If its replaced with this one, then it will compile first time: gcj -fPIC -fjni -g -O -o TestGTK --main=3DTestGTK \ TestGTK.java -lGTKJar -classpath \ /home/benny/java-gnome-0.7.1/lib/gtk.jar:/home/benny/gcc/share/libgcj.jar I use absolute paths which obviously have to be done in=20 some other way. Compiling TestGNOME has to be rewritten=20 in a similar fashion. S=F8ren |