swarm-support
[Top][All Lists]
Advanced

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

Re: First Attempt


From: Paul Johnson
Subject: Re: First Attempt
Date: Mon, 04 Nov 2002 08:04:10 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

Suppose you have a clean RH 7.3 system. From memory, I think you need to do this.

First, install gcc3 from here:

http://lark.cc.ku.edu/~pauljohn/Swarm/miscSupportSoftware/gcc-upgrades/3.0.4RH72/

You need gcc3, gcc3-objc, and libgcc.

Next, Go look at the stuff I have referred you to before:

http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.2x_RPMSforRH7.3/

Notice the hdf5 rpm in there?  Install that.

If you only need to use Swarm in Objective-C programs, all you need is the swarm rpm itself:

http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.2x_RPMSforRH7.3/swarm-2.1.140.20020514-1.i386.rpm

But if you want to run java programs, you need to install the jikes rpm from RH's cd, then you need to get the Sun j2sdk1.4.0 and put it in /usr/local/j2sdk1.4.0, and then install my swarm-jdk rpm.

Then you untar swarmapps-2.1.1, cd into heatbugs, type

# SWARMHOME=/usr
# make
# ./heatbugs

José Monserrat Neto wrote:
Dear Paul,

It's not still working... I re-intalled gcc (version 3.0.4) with all correspondent libraries (gcc3, gcc3-objc, etc) and in the end of the story it comes out the same error from hdf5 libray... :-( Is there a step-by-step guide to follow from the very beginning?

Moreover, what do you mean by "you need hdf5 rpm"? Is that one from your site? I've got one from www.rpmfind.org... Is it wrong?

When you say that "If you want to use Sun jdk", it means that I don't to install it, doesn't it? Or am I wrong?

Thanks beforehand for your attention,

Monserrat.


Paul E Johnson wrote:

I have Swarm RPMS for RH7.3 up here:

http://lark.cc.ku.edu/~pauljohn/Swarm/Swarm-2.2x_RPMSforRH7.3/

You need the hdf5 rpm.

You need either the gcc3 and gcc3-objc and libgcc3 rpms from the RH7.2 distribution or the rpms from my software page, where I offer gcc-3.0.4 which fits in just right with the existing compiler gcc-2.96 on your system. Those are here (it works for both RH7.2 and 7.3):

 http://lark.cc.ku.edu/~pauljohn/software/gcc-upgrades/3.0.4RH72/

If you want to use Sun jdk, please be sure you install the jikes RPM from redhat as well as the "self extracting tar.gz" archive (not the rpm) from www.javasoft.com. The swarm-jdk rpm assumes you have that in /usr/local/j2sdk1.4.0. It Assumes, it does not check. If you install a different j2sdk from the self extracting tarball, it is OK as long as you create a sym link

ln -sf /usr/local/whatever-java /usr/local/j2sdk1.4.0

If you switch to RH8.0, I've made RPMS for that too, but they assume you use the Sun RPM install for j2sdk1.4.0_01.

If you want to keep trying to compile swarm on RH7.3, you are well advised to install the gcc3-3.0.4 rpms from my page.


José Monserrat Neto wrote:

I'm a new attempting user of Swarm.

I'm trying to install Swarm 2.1.1 in a RH 7.3 Linux SO. After running all Rpms needed and the Swarm installed, I finally tried to 'make' the Helloworld, version v01, in the 'swarmapps-2.1.1.tar.gz' pack. It didn't work. So I tried the debugger running way, with gdb. Then I received the following message:



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



reply via email to

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