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: Pietro Terna
Subject: Re: tcl/tk error in RedHat 7.3
Date: Tue, 01 Oct 2002 00:14:50 +0200

        Dear Paul,

many thanks for your help. I hope we'll fix a problem also for other peoples ...

        Below you can find my replies.

        Pietro

At 14.01 30/09/2002 -0500, you wrote:
Dear Pietro


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

        Yes.



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

        Yes.


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?

        Yes!

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


$ export SWARMHOME=/usr
$ make
$ javaswarm StartHeatbugs

address@hidden jheatbugs-2001-03-28]$ export SWARMHOME=/usr

address@hidden jheatbugs-2001-03-28]$ make
/usr/bin/javacswarm Heatbug.java HeatCell.java HeatSpace.java HeatbugModelSwarm.java HeatbugObserverSwarm.java StartHeatbugs.java HeatbugBatchSwarm.java
/usr/bin/javacswarm: jikes: command not found
make: *** [all] Error 127

but bypassing jikes (I need to use jdk for my application) it's ok
address@hidden jheatbugs-2001-03-28]$ javac *java

address@hidden jheatbugs-2001-03-28]$ javaswarm StartHeatbugs
(Tcl -eval:) syntax error in expression " $tcl_version >= 8.0 "
    while executing
"if { $tcl_version >= 8.0 } {

followed by a lot or tcl error lines


Also, it might help to see the output of

$ eval javaswarm

address@hidden jheatbugs-2001-03-28]$ eval javaswarm
_JAVASWARM_LIBPATH="/usr/lib/swarm::/usr/local/j2sdk1.4.0/jre/lib/"
LD_LIBRARY_PATH=":/usr/lib:/usr/lib/swarm:/usr/X11R6/lib:/usr/lib/swarm"
CLASSPATH=".:/usr/share/swarm/swarm.jar:/usr/share/swarm/kawa.jar:/usr/local/j2sdk1.4.0/jre/lib/rt.jar:.:/usr/share/swarm/swarm.jar:/usr/share/swarm/kawa.jar"
export _JAVASWARM_LIBPATH LD_LIBRARY_PATH CLASSPATH



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.


                 ==================================
  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]