Index of /Swarm/Swarm-2.2X_F9

      Name                    Last modified      Size  Description
Parent Directory - jdk-6u7-linux-i586.rpm 29-Aug-2008 11:15 62M swarm-2.2.5-1.fc9.i3..> 29-Aug-2008 11:07 1.0M swarm-2.2.5-1.fc9.sr..> 29-Aug-2008 11:08 3.0M swarm-debuginfo-2.2...> 29-Aug-2008 11:07 3.4M swarm-gcjswarm-2.2.5..> 29-Aug-2008 11:07 531K swarm-jdk-2.2.5-1.fc..> 29-Aug-2008 11:07 1.5M swarm-static-2.2.5-1..> 29-Aug-2008 11:07 1.2M
Swarm RPMs for Fedora 9
Paul E. Johnson pauljohn at ku dot edu
August 29, 2008

Instructions

install tcl, tk, blt from Fedora 9. the standard versions seem OK.

install libxpm and xorg.devel

For Swarm-java users only, install the javasoft.com jdk1.6.0, I used version _07.

to simplify maintenance and avoid re-building swarm with every minor version update, do this:

ln -sf /usr/java/jdk1.6.0_07 /usr/java/jdk1.6.0

The swarm RPM is built against /usr/java/jdk1.6.0, and I *believe* it will work. even if you install the sun jdk1.6.0_06 or whatever, as long as it links to /usr/java/jdk1.6.0. OK?

Install the swarm rpm if you only want to run objective-C swarm.

If you want to run Java swarm models, first install the sun jdk, then swarm and swarm-java.

swarm-debuginfo is now REQUIRED if you want to run your programs under the gdb debugger. Nothing will be informative without it.

I don't know what value swarm-static would have, have not bothered to find out.

I don't recall how to compile Java swarm into native code with swarm-gcjswarm, but I used to know because Marcus Daniels taught me, but I never really saw a big speed advantage in that approach and so I have not bothered with it.

Caution

When I tried to run Swarm programs using the F9 xorg and the "nv" driver, I encountered this error (a crash, actually) caused by blt graphs: ./heatbugs
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 149 (RENDER)
Minor opcode of failed request: 4 (RenderCreatePicture)
Serial number of failed request: 9015
Current serial number in output stream: 9024

As far as I can tell, there is a flaw in font rendering in nv that causes blt & tcl to have trouble because some anti aliased fonts don't render properly. From what I can tell, one must either upgrade the video/X11 driver or re-compile tcl/tk after disabling xft support. Honestly, though, as soon as I saw the nvidia driver fixed it, I lost interest in this. The F9 people put a beta version of xorg in their distribution and it is one of the reasons I switched to another distribution.