swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tcl/tk error in RedHat 7.3


From: Paul E Johnson
Subject: Re: tcl/tk error in RedHat 7.3
Date: Mon, 30 Sep 2002 14:01:24 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

Dear Pietro


I have the same tcl/tk that you do, the ones from the standard RH 7.3 distribution.


So let me see if I understand your situation correctly.

You have started with a "clean" RH 7.3 system, and then installed from my rpms:

1. gcc3-3.0.4
2. hdf5
3. Swarm


And you are able to run Objective-C, but when you get the SUn self extracting binary package (not the rpm one) install the Sun JDK in /usr/local/j2sdk1.4.0, then you cannot "make" or run things like jheatbugs?

Can I see the output of what happens if you cd into the heatbugs dir and do:


$ export SWARMHOME=/usr
$ make
$ javaswarm StartHeatbugs

Also, it might help to see the output of

$ eval javaswarm


My output is like this:

_JAVASWARM_LIBPATH="/usr/lib/swarm::/usr/local/j2sdk1.4.0/jre/lib/"
LD_LIBRARY_PATH=":/usr/lib:/usr/lib/swarm:/usr/X11R6/lib:"
CLASSPATH=".:/usr/share/swarm/swarm.jar:/usr/share/swarm/kawa.jar:/usr/local/j2sdk1.4.0/jre/lib/rt.jar:"
export _JAVASWARM_LIBPATH LD_LIBRARY_PATH CLASSPATH

Pietro Terna wrote:
        Dear Paul,

in the last few day I made a lot of attempts to solve the problem below, both following your suggestions and in other directions, without success.

A check about tcl/tk version: in my RedHat 7.3 box I've tcl and tk 8.3.3-67

        What version do you have in yours Linux box?

        Yours, Pietro

At 16.37 21/09/2002 -0500, you wrote:

I talked to a couple of people last month with the same problem. RedHat does something bad to the java files when they repackage them, and we never found a way around it.

Don't use the java RPMs.

Get the Sun tarball, put it in /usr/local/j2sdk1.4.0. If it untars to /usr/local/j2sdk1.4.0_01 either rename the directory or sym link it.

It will work.

The alternative is to take the Swarm SRPM file I have, edit the SPEC file to tell it where the java home is, and rebuild the rpm.

pj

Pietro Terna wrote:

        Hi Paul,
        Sun rpms have installed java in /usr/java/j2sdk1.4.0_01
        (I've set JAVA_HOME=/usr/java/j2sdk1.4.0_01).
Now I've moved j2sdk1.4.0_01 contents to /usr/local/j2sdk1.4.0 also modifying JAVA_HOME, but the error is the same.
        ('javac *java' works fine).
What I remember about this kind of problem is a message of yours, about the necessity of recompiling something ...
        Pietro
At 09.32 21/09/2002 -0500, you wrote:




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700


                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.edu/~pauljohn
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66044-3177           FAX: (785) 864-5700


                 ==================================
  Swarm-Support is for discussion of the technical details of the day
  to day usage of Swarm.  For list administration needs (esp.
  [un]subscribing), please send a message to <address@hidden>
  with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]