by eimime » Sat Nov 01, 2008 11:33 pm
For those installing on Ubuntu 8.04 -- the supported repository of libQT for 8.04 doesn't contain libQTWebKit and so KBASIC will install but will not run either when clicking on the icon or calling from the command line. And it's not safe to install libQtWebKit from another version of libQT. The easy solution is to go to Synaptic Package Manager-->Administration-->Software Sources, click on the Updates tab and then click to check the "Unsupported updates (hardy backports)" option and Close. IGNORE THE NOTIFICATION IN THE UPPER RIGHT PANEL THAT THERE ARE NOW NEW UPDATES TO BE INSTALLED -- this notification has appeared because "backports" has other updates you don't need and may not want! Go to Synaptic Package Manager and search for QT and select and install all of the libQT packages required in the KBASIC dependencies list (this includes libphonon.so.4). After these have all been installed, go back to Software Sources-->Updates tab and uncheck "Unsupported updates (hardy backports)" so that you will not continue getting notices to download software from backports!
You will find some of the libQT packages in the wrong locations (for example, packages in /usr/lib which are required in /lib, and libphonon.so.4 in /usr/lib/kde4 but required in /usr/lib). I found the easiest way to correct for this problem was to open Nautilus from the terminal console with super privileges ("sudo -s", enter password, then Nautilus). Then navigate to each of the library files that the misplaced lib dependencies point to (ALL OF THE MISPLACED FILES WERE ACTUALLY JUST links TO THE ACTUAL SHARED LIB FILES NEEDED BY KBASIC) and right click on each of the shared lib files and choose Make Link. You will then need to copy the new Link file to the expected dependency location, and rename it to the expected name -- for example, libphonon.so.4. You are now ready to install and run KBASIC, or just run it if already installed.
Any problem with icons which couldn't be installed because of a lack of a Desktop can be solved by running it from a console (./kbide.) or finding the kbide file in the KBASIC folder and creating a link which you can put on your equivalent of a desktop.
If the icons for KBASIC are on your desktop but locked, you can access them from the console as root and change their permissions, then use or move or delete them as you wish. In any case you should now be able to run KBASIC by clicking on the Desktop icon or by calling from a console (./kbide).