On Wed, 28 Apr 1999, Marcel Ruff wrote:
> Hi,
Was there a compile problem or was this just a runtime problem? I am
using Tcl Blend with JDK 1.1.7 on a debian linux with 2.2.6 right
now and it works for me.
> I tried to install tclBlend on my Linux box but it didnt succeed.
> Could anybody give me a hint?
>
> ------------
> My environment:
> ------------
> Linux 2.2.5 (glibc)
>
> Blackdown Java jdk1.1.7
>
> Motif 2.0.1 (not the newest)
>
> tclBlend1.2.2
>
> ./configure --enable-shared --with-tcl=/usr2/tcl8.0.5/unix
> --prefix=/u/pia
Umm, do you really have TclBlend 1.2? I do not think you would be passing
the --with-javaarchlib option. The --with-jdk option is used in Tcl Blend
1.2. Keep in mind that Tcl Blend 1.1 does not work under Linux so you
need version 1.2.
> --with-javaarchlib=/usr/local/jdk/lib/i686/native_threads
> --with-jikes=/usr/local/jikes/jikes
>
> echo $LD_LIBRARY_PATH
> /u/pia/lib:.:/usr/local/jdk/lib/i686/native_threads:.
>
> echo $CLASSPATH
>
>
>.:/usr/local/jdk/lib/classes.zip:/usr/local/swing/swingall.jar:/usr/local/swing/swing.jar:/usr/local/swing/multi.jar:/usr/local/swing/windows.jar:/u/pia/lib/tcljava.jar:/u/pia/lib/tclblend.jar:/usr/local/www_packages/JAVA/JDBC/jdbc6.4.jar:/usr/local/www_packages/JAVA/JDBC/classes102.zip:/u/c/java:/u/pia/bin:/u/pia/lib
>
>
I have not seen this error before. When running the tests under Linux
I have seen other errors (Tcl itself does not even pass all the
tests under Linux).
>
> -------------------------------------
> The typical error output is when doing make test:
> -------------------------------------
> tcljava/JavaInvoke.test
>
>
> ==== invoke-10.1.25 convertTclObject - java.lang.Double, 0.0
> ==== Contents of test case:
>
> list [catch {
> [java::call -noconvert $INVCLS convertTclObject $interp
> $cls [jtest getobject $value]] toString
> } msg] $msg
>
> ==== Result was:
> 1 {tcl.lang.TclException: expected floating-point number but got
> "0.0"}
> ---- Result should have been:
> 0 0.0
> ---- invoke-10.1.25 FAILED
>
> .... and so on ....
>
I have not seen this one either. I will try to run the tests on
my box when I get a chance.
I hope that helps
Mo DeJong
dejong at cs.umn.edu
> --------------------------
> Or when i try to start the gridDemo:
> --------------------------
> % source gridDemo.tcl
> expected floating-point number but got "1.0"
>
>
>
>
> Thanks for any hint,
>
> Marcel
>
>
>
>
----------------------------------------------------------------
The TclJava mailing list is sponsored by WebNet Technologies.
To subscribe: send mail to [EMAIL PROTECTED]
with the word SUBSCRIBE as the subject.
To unsubscribe: send mail to [EMAIL PROTECTED]
with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'.
A list archive is at: http://www.findmail.com/listsaver/tcldallas/