On Wed, 28 Apr 1999, Marcel Ruff wrote:

> Moses DeJong wrote:
> 
> > On Wed, 28 Apr 1999, Marcel Ruff wrote:
> >
> > > Hi,
> >
> > Was there a compile problem or was this just a runtime problem? I am

There was a note about that in the known_issues.txt file but I have only
tested it out using lesstif not motif. If this motif set of libs works
for you then I am tempted to add it as the default set of libs for
the linux motif hack.
 
> Runtime problem only.
> After many tries, the only way i could invoke a demo without segmentation violation 
>was with exactly this setting (in jtclsh and in Makefile)
> 
>    TCLBLEND_LD_PRELOAD="${TCLBLEND_LD_PRELOAD} libXm.so libXpm.so libXt.so libSM.so 
>libICE.so libXext.so libX11.so"
>    TCLBLEND_LD_BIND_NOW=1

Yeah!

> So now the gluepkg , packDemo, simplepkg , watchpkg are running fine !
> 
> 
> But gridDemo.tcl still gives an error:
>       unknown floating-point error, errno = 84
> 
> 

The pyramid demo only works in Jacl. I really should fix that so
that the pyramid demo does not get included in the Tcl Blend dist.
The problem is that the pyramid demo uses an applet which does
not work (and never will) in Tcl Blend.

> The pyramid demo errors as well:
> /usr2/tclBlend1.2.2/unix/demos/pyramidpkg> appletviewer pyramid.html
> java.lang.IllegalMonitorStateException: current thread not owner
>         at tcl.lang.Interp.<init>(Interp.java:126)
>         at Pyramid.init(Pyramid.java:57)
>         at sun.applet.AppletPanel.run(AppletPanel.java:281)
>         at java.lang.Thread.run(Thread.java)
> 
> The situation with make tests remained the same, most tests run fine,
> but quite a few give errors as reported befor (see below).
> 
> >
> > 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.
> 
> I have 1.2.2, but you are right, the --with-javaarchlib had no effect at all.
> 
> >
> >
> > > --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 your quick help,
> 
> Marcel

I am glad you like it. If you find it useful tell others. Other users
on the list might also like to hear about what you are using Jacl
or Tcl Blend for. For instance, I am currently writing a JTAPI front
end that uses Tk for the GUI and Java for the nasty low level stuff.

> PS: This TclBlend is a great project, allowing us C++ , TCL, Java interaction in a 
>very easy way. Thanks!

JDK1.2 on linux is not all that stable (it is an alpha after all). I was
able to use Tcl Blend with 1.2 but only for simple non AWT stuff.
You might want to check the JDK1.2 on linux FAQ about crashing problems
in the AWT.

later
mo dejong

> PS: How stable is JDK 2 on Linux with TclBlend? Do you use it?
> On my Linux box i succeeded to run own JNI tests, but when i wanted to
> invoke some Swing GUIs from my C++ main modul, JNI crashed.
> 
> 
> ----------------------------------------------------------------
> 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/
> 

----------------------------------------------------------------
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/

Reply via email to