swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] Getting jheatbugs to compile


From: Paul Johnson
Subject: Re: [Swarm-Support] Getting jheatbugs to compile
Date: Fri, 01 Oct 2004 16:01:39 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

2 elements.

1. You need the swarm-jdk rpm if you want to use java.
2. There's an updated jheatbugs you need, you can get it in the ftp site, under the "testing" subdirectory of java/sdg, and also i just took a snapshot of the Swarm cvs apps directory, I think you find it in there too

http://lark.cc.ku.edu/~pauljohn/Swarm/MySwarmCode/swarmapps_snap_20040925.tar.gz




Alex Olivas wrote:
I installed swarm and swarmapps using rpms provided by Paul Johnson
and a FC1 machine.  I can compile objc applications just fine, but am
having trouble getting the java applications (e.g. jheatbugs) to work.
I have SWARMHOME set the same for both.  I'm assuming this doesn't
need to change from objc to java?  When I try to compile I get the
following error message...

address@hidden jheatbugs]$ make executable
echo /usr | grep    "swarm-[12]\.[01]" \
&& (grep "new FArgumentsImpl (this, sel)" HeatbugModelSwarm.java >/dev/null && \ perl -pi.bak -e's/new FArgumentsImpl \(this, sel\)/new FArgumentsImpl (this, sel, true)/' HeatbugModelSwarm.java \
       ) || :
echo /usr | grep -v "swarm-[12]\.[01]" \
&& (grep "new FArgumentsImpl (this, sel, true)" HeatbugModelSwarm.java >/dev/null && \ perl -pi.bak -e's/new FArgumentsImpl \(this, sel, true\)/new FArgumentsImpl (this, sel)/' HeatbugModelSwarm.java \
       ) || :
/usr
/usr/bin/javacswarm HeatbugModelSwarm.java
make: /usr/bin/javacswarm: Command not found
make: *** [HeatbugModelSwarm.class] Error 127
address@hidden jheatbugs]$

I found javacswarm in /usr/local/swarm-2.1.150.20040413/java/

address@hidden jheatbugs]$ locate javacswarm
/usr/local/Downloads/swarm/swarm-2.1.1/java/javacswarm.in
/usr/local/swarm-2.1.150.20040413/java/javacswarm.in
/usr/local/swarm-2.1.150.20040413/java/javacswarm

...but don't really want to hack the Makefiles to remove /bin.

Any ideas?
Thanks,
Alex.

_______________________________________________
Support mailing list
address@hidden
http://www.swarm.org/mailman/listinfo/support


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


reply via email to

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