Just got around to installing Komodo on my Fedora 9 laptop. There's apparently something I have to tell SELinux to let it work:
[znmeb@DreamTimeF Komodo-IDE-4.3.2-17463-linux-libcpp6-x86]$ ./install.sh
Enter directory in which to install Komodo. Leave blank and
press 'Enter' to use the default [~/Komodo-IDE-4].
Install directory:
install: Installing ActiveState Komodo to '/home/znmeb/Komodo-IDE-4'...
relocate this Python to '/home/znmeb/Komodo-IDE-4/lib/python'
relocate '/home/znmeb/Komodo-IDE-4/lib/python/bin/python2.5-config'
relocate '/home/znmeb/Komodo-IDE-4/lib/python/bin/python2.5'
relocate '/home/znmeb/Komodo-IDE-4/lib/python/bin/python-config'
relocate '/home/znmeb/Komodo-IDE-4/lib/python/lib/python2.5/config/Makefile'
relocate '/home/znmeb/Komodo-IDE-4/lib/python/lib/python2.5/site-packages/activestate.py'
install: 'Komodo IDE 4.3' desktop shortcut created at '/home/znmeb/Desktop/komodo-ide-4.3.desktop'
chcon: unrecognized option '--quiet'
Try `chcon --help' for more information.
chcon: unrecognized option '--quiet'
Try `chcon --help' for more information.
chcon: unrecognized option '--quiet'
Try `chcon --help' for more information.
chcon: unrecognized option '--quiet'
Try `chcon --help' for more information.
install: error: could not set SELinux security context for '/home/znmeb/Komodo-IDE-4/lib/mozilla/libnspr4.so': 'texrel_shlib_t', 'textrel_shlib_t', 'shlib_t', 's0' contexts failed
[znmeb@DreamTimeF Komodo-IDE-4.3.2-17463-linux-libcpp6-x86]$
I am obviously SELinux ignorant ... what's the secret word??
The errors above might not even necessarily mean the install failed, it just means we tried to set the SELinux context and failed because, well, they change the SELinux stuff all the time.
If you run Komodo, does it work?
--
JeffG
It looks like it's running. What's the "chcon" message? I've never seen that one either.
I had the same issue with the same distro. Just change line 172 of support/selinuxlib.py from
cmd = 'chcon -t %s --quiet "%s"' % (context, path)to
cmd = 'chcon -t %s "%s"' % (context, path)and it works without issues.