Manual installation of Sense on Linux

advertisement
Manual installation of Sense on
Linux
Manual installation of Sense on Linux ........................................................................ 2
Ubuntu additional steps........................................................................................ 2
Fedora additional steps ........................................................................................ 2
Troubleshooting ................................................................................................... 2
1
Manual installation of Sense on Linux
Download the zip file
As root:
unzip
chmod
chmod
chmod
/path/to/sense-linux-install-b137.zip -d /
a+rx /usr/bin/sense.sh
a+rx /usr/bin/scratch-squeak-vm
a+rwx /usr/lib/Sense
(To become root in Ubuntu, prefix commands with ‘sudo’ to run them as root. To
become root on Fedora, first issue the command ‘su’ to change identity to the root
user.)
Ubuntu additional steps
Ubuntu 11.04 requires two more packages to be installed. Give the command:
sudo apt-get install libssh2-1 libcurl3
Fedora additional steps
Fedora 15 uses a newer OpenSSL, which means you have to make it masquerade as
an older version. As root, do
ln -s /usr/lib/libssl.so.1.0.0e /usr/lib/libssl.so.0.9.8
ln -s /lib/libcrypto.so.1.0.0e /lib/libcrypto.so.0.9.8
Fedora 15 also needs additional permissions setting to allow access to the
SenseBoard. As root,
usermod -a -G dialout,uucp,lock YourUsername>
(e.g. if your username is ‘alice’, do the command: usermod -a -G dialout,uucp,lock
alice).
Reboot the machine to ensure the additional group permissions take effect.
You can now run Sense with
/usr/bin/sense.sh
(or just ‘sense.sh’).
You’ll probably want to create a shortcut to this file, for easier access.
Troubleshooting
2
If Sense doesn’t work properly, try checking that all the plug-ins have their correct
dependencies installed. Do
ldd /usr/lib/Sense/*Plugin | grep 'not found'
If any libraries are reported as not found, install them. You’ll need to find what
they are.
As more Linux distributions adopt OpenSSL 1.0 (and later), they’ll need to be
patched to pretend to OpenSSL 0.9.8 libraries, as above. If your /usr/lib/libssl and
/lib/libcrypto libraries are different versions than 1.0.0e, but still above 0.9.8,
modify the instructions above.
3
Download