Friday, July 20, 2007

Installing JWeed on Linux

There is a nasty glitch in the Linux installation for JWeed. The IRIS website downloads install.bin, but it has two bad lines. FIRST, run the installer thusly to fix one bad line without changing the checksum

cat install.bin | sed "s/export LD_ASSUME_KERNEL/#xport LD_ASSUME_KERNEL/" > temp
sh temp

Then comment out lines 1335 and 1375 of JWeedv2.9.8, which is the executable script that embodies JWeed. These are the lines

1335 export LD_ASSUME_KERNEL=2.2.5

1375 LD_ASSUME_KERNEL=2.2.5

After these changes, there is still a little complaint about an extra backslash, which I tracked down to line 1343:
split ($3, ver, "[\._-]")

I took the backslash out and the code still worked.


Thanks to Alex Nikulin and Garrett Leahy for the tip!

No comments:

 
Link