After reading and trying several of the methods suggested here to get Freebasic working on ubuntu 8.10 64 bits, I found the following one to be the easiest and quickest, and works perfectly fine.
Here are the steps:
1. Download the latest Freebasic available, normal install, not standalone:
http://ufpr.dl.sourceforge.net/sourcefo ... nux.tar.gz
Uncompress it and follow the instructions in the readme.txt to install it. Basically, all you gotta do is open up a terminal in your uncompressed folder and type in:
After installing you should be able to open up a terminal and type in "fbc -version" to see which version of the compiler you got. But if you try to compile any .bas file you'll get missing libraries errors. So here comes the solution.sudo ./install.sh -i
2. Download and install the "getlibs" deb file, which installs the required 32 bit libraries on your 64 bit system. Download it here (BTW, thanks to Cappy for his wonderful deb file; it really does a great job and simplifies the library installation process to the max):
http://www.boundlesssupremacy.com/Cappy ... bs-all.deb
Just double click on it and it and follow the installation steps.
3. Now, the libraries that were missing in my system for freebasic to compile code properly were installed by opening up a terminal and typing:
then:sudo getlibs -p libxpm-dev
then:sudo getlibs -p libxrandr-dev
and finally:sudo getlibs -p libxrender-dev
4. To round things up, and to avoid the libncurses error, also install:sudo getlibs -p libncurses5-dev
andsudo apt-get install lib32ncurses5
After that, no more library errors when compiling .bas files with freebasic!! :Dsudo apt-get install lib32ncurses5-dev
hope it helps! This is the safest and easiest way to get it running in ubuntu 8.10 64 bits.
regards,
Alvaro
EDITED: I deliberately changed the code lines to quote lines as they were easier to read this way, and they weren't really code. ;)