OK, fixed that one. (Actually figured it out myself ;) Now when I try to
load the java package in tcl, I get the
following (debug info turned on):
% package require java
called loadtclblend "/usr/local/lib/tclblend"
tclblend_shlib is libtclblend.so
found tclblend.jar at /usr/local/lib/tclblend/../tclblend.jar
found tcljava.jar at /usr/local/lib/tclblend/../tcljava.jar
found tcljava.jar on env(CLASSPATH) at
/usr/local/lib/tclblend/../tcljava.jar
found tclblend.jar on env(CLASSPATH) at
/usr/local/lib/tclblend/../tclblend.jar
before "load libtclblend.so", env(CLASSPATH) was
"/usr/local/lib/tclblend/../tcljava.jar:/usr/local/lib/tclblend/../tclblend.
jar:"
Attempting to figure out why "load libtclblend.so" failed
currently LD_LIBRARY_PATH is set to
"/usr1/schneider/tclBlend1.2.5/unix:/usr1/schneider/jdk1.2.2/jre/lib/i386:/u
sr/local/lib"
found duplicate libtclblend.so on LD_LIBRARY_PATH at
"/usr/local/lib/libtclblend.so", first was at
/usr1/schneider/tclBlend1.2.5/unix/libtclblend.so
found libtclblend.so on LD_LIBRARY_PATH at
"/usr1/schneider/tclBlend1.2.5/unix/libtclblend.so".
found libjava.so on LD_LIBRARY_PATH at
"/usr1/schneider/jdk1.2.2/jre/lib/i386/libjava.so".
"load libtclblend.so" failed:
couldn't load file "libtclblend.so": libtclblend.so: cannot open shared
object file: No such file or directory
%
It claims it can't load libtclblend, even though it says it located it.
At 11:37 AM 2/8/00 -0800, you wrote:
>Try using the --with-jdk=... option to configure
>
>-----Original Message-----
>From: Mike Schneider [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, February 08, 2000 10:57 AM
>To: [EMAIL PROTECTED]
>Subject: [Tcl Java] Problems compiling tclblend under Linux
>
>
>Hello,
>I'm trying to compile tclblend under Redhat Linux. I have Kaffe and Sun's
>jdk1.2.2 installed. CLASSPATH is set to nothing. Here's the error I get:
>
>
>[mpschnei@peace unix]$ ./configure
>loading cache ./config.cache
>srcdir is /usr1/schneider/tclBlend1.2.5/unix
>checking for javac... /usr/bin/javac
>Java found at /usr
>checking for zip or jar files to include on CLASSPATH... configure: error:
>could not find zip or jar files to include on CLASSPATH.
>
>What's happening?
>
>----------------------------------------------------------------
>The TclJava mailing list is sponsored by Scriptics Corporation.
>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]'.
>An archive is available at http://www.mail-archive.com/tcljava@scriptics.com
>
>----------------------------------------------------------------
>The TclJava mailing list is sponsored by Scriptics Corporation.
>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]'.
>An archive is available at http://www.mail-archive.com/tcljava@scriptics.com
----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
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]'.
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com