swarm-support
[Top][All Lists]
Advanced

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

Re: Intall on Red Hat Linux


From: Paul Johnson
Subject: Re: Intall on Red Hat Linux
Date: Mon, 27 Sep 1999 17:08:16 -0500

"Jares, Timothy" wrote:
> 
> OK.  I 'm convinced the RPMs are the way to go.  I've never used them before
> but after digging through the man pages went ahead and used the command
> 
> rpm --  i -allfiles -vv swarmdemos-2_0_1-1_i386.rpm
More typically, use this

rpm -Uvh filename.

U will upgrade a package if it already exists, or install if it doesn't.
To only upgrade packages currently installed, use rpm -UFvh.


> Actually, in the end I used the above install command for each package
> available.  I then went to /usr/bin to run heatbugs as a test and it core
> dumped.  I figured it couldn't be that easy, but I really don't know what
> else I am supposed to do.

I'm going to lobby Alex to give up on the swarm demos.  It seems like
most users have your experience.

> 
> I suspect  I didn't need all of the packages and could erase them if
> necessary.  Should I be dealing with the SRPMS stuff?  
NO, those are needed if you want to build a new rpm, not to install the
one we provide.

If not, is there a
> step - configure or make - that I am missing?  Ultimately, WHEN I get
> heatbugs, etc. working, and I try to get my stuff to work again, where is
> SWARMHOME?

I'm adding this to the FAQ, so I'm writing in detail not just for your
benefit.

Install the swarm rpm from sfi.  

  rpm -Uvh swarm-2.0.1.i386.rpm

They want you to install jikes too. So do it.

Get the swarmapps-2.0.1.tar.gz package, put it someplace where you can
work as a user, say
/home/your_name/swarm/src.

Then cd /home/your_name/swarm and type
tar xzvf src/swarmapps-2.0.1.tar.gz

That should open a new directory /home/your_name/swarm/swarmapps-2.0.1. 

Then cd to swarmapps-2.0.1 and pick a program.

If you installed the swarm RPMs, your SWARMHOME is /usr.

You can tell Swarm to use that home either by editing the Makefile in
the application directory (that's my personal favorite) or by typing a
shell command

export SWARMHOME=/usr

Then type 

make

and it should compile.  If you compiled heatbugs, when you do "ls" you
should see the file "heatbugs" and you can execute it by

./heatbugs


If anybody is interested, I made some notes about Java kits and have
Swarm RPMS for i586 and i686 machines here
http://lark.cc.ukans.edu/~pauljohn/Swarm/Swarm-2.0_RPMSforRH6/

These are not SFI approved or anything, just things I thought were fun
and possibly performance enhancing.  And, unlike Viagra, you don't see
blue after using them.

> 
> Oh, I almost forgot.  I think my installation should be complete - I
> selected install everything when I started.  I tried a version of the rpm
> command you specified and found the types file in that directory.  The
> command I used was:
> 
> $rpm -qf /usr/include/linux/types.h
> kernel-headers-2.2.5-15
> 
> It does appear that maybe my version is slightly older/different, but I
> don't know if that's a big deal.
> 
No, I think you forgot the "make distclean" in between configure tries. 
That would explain the trouble you had.

> Thanks!
> 
> Timothy E. Jares, Ph.D.
> Assistant Professor of Finance
> College of Business Administration
> University of North Florida
>

-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.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]