Ubuntu 12.04 precise Pangolin
Ubuntu 12.04 precise Pangolin
Hello...
Does somebody use Freebasic on Ubuntu 12.04?
I can't install it.
As this is 64 bit system is that possible at all?
Does somebody use Freebasic on Ubuntu 12.04?
I can't install it.
As this is 64 bit system is that possible at all?
Re: Ubuntu 12.04 precise Pangolin
FB is 32bit only at the moment, but it can still be used on 64bit systems. Installing the following packages should allow fbc to compile FB programs:
gcc-multilib
g++-multilib
libncurses5-dev:i386 (or lib32ncurses5-dev)
libxrandr-dev:i386
libxpm-dev:i386
Re: Ubuntu 12.04 precise Pangolin
I can't finddkl wrote:FB is 32bit only at the moment, but it can still be used on 64bit systems. Installing the following packages should allow fbc to compile FB programs:
gcc-multilib
g++-multilib
libncurses5-dev:i386 (or lib32ncurses5-dev)
libxrandr-dev:i386
libxpm-dev:i386
g++-multilib
some hints?
Re: Ubuntu 12.04 precise Pangolin
It's perhaps not listed in the Ubuntu Software Center, but I can see it here:
http://packages.ubuntu.com/precise/g++-multilib
It should be available via:
http://packages.ubuntu.com/precise/g++-multilib
It should be available via:
or via the other package installation programs (synaptic, aptitude).sudo apt-get install g++-multilib
Re: Ubuntu 12.04 precise Pangolin
I install other via package manager, not from command line.
Ok I install that. But still can't install FB.
I start downloaded run package and fail
There was a problem opening the file /home/slavko/Downloads/FreeBASIC-0.23.0-linux.run.
The file you opened has some invalid characters. If you continue editing this file you could corrupt this document.You can also choose another character encoding and try again.
How I can install the FB onto Ubuntu 12.04?
Ok I install that. But still can't install FB.
I start downloaded run package and fail
There was a problem opening the file /home/slavko/Downloads/FreeBASIC-0.23.0-linux.run.
The file you opened has some invalid characters. If you continue editing this file you could corrupt this document.You can also choose another character encoding and try again.
How I can install the FB onto Ubuntu 12.04?
Re: Ubuntu 12.04 precise Pangolin
The .run file is a script that needs to be executed, not edited, it should work something like this:
sudo sh ./FreeBASIC-0.23.0-linux.run install
Re: Ubuntu 12.04 precise Pangolin
now fbc seems executable... but doesn't work..
That's error is returned.
slavko@ePodstresnik:~/xx$ fbc BasTest.bas
ld: cannot find -lncurses
slavko@ePodstresnik:~/xx$
That's error is returned.
slavko@ePodstresnik:~/xx$ fbc BasTest.bas
ld: cannot find -lncurses
slavko@ePodstresnik:~/xx$
Re: Ubuntu 12.04 precise Pangolin
looks like 32bit libncurses development files are not installed. Does installing libncurses5-dev:i386 or lib32ncurses5-dev help?
Re: Ubuntu 12.04 precise Pangolin
no.. It's even worse..
It's deinstal gcc! (I hit enter in wrong point)
but after
sudo apt-get install build-essential
they seems to work.
need little more testing..
It's deinstal gcc! (I hit enter in wrong point)
but after
sudo apt-get install build-essential
they seems to work.
need little more testing..
Re: Ubuntu 12.04 precise Pangolin
Now I had little more time and make few tests.
Console programs rum ok.
But when I try to use screen statment then I got compile error.
ld: cannot find -lXrendr
ld: cannot find -lXext
ld: cannot find -lXrandr
Now the problem come as library is installed but seems that i386 and default can't coexists.
I think if we wan't to use FB in Ubuntu someone should update libraryes and other thing to be able to compile.
So for me at that time the FB is ussable only in windows but fail on 64 bit ubuntu.
sadly I can't find simple compiler to be able to compile same source to linux and windows.
In era of ubuntu 6.06 all that works great.
Console programs rum ok.
But when I try to use screen statment then I got compile error.
ld: cannot find -lXrendr
ld: cannot find -lXext
ld: cannot find -lXrandr
Now the problem come as library is installed but seems that i386 and default can't coexists.
I think if we wan't to use FB in Ubuntu someone should update libraryes and other thing to be able to compile.
So for me at that time the FB is ussable only in windows but fail on 64 bit ubuntu.
sadly I can't find simple compiler to be able to compile same source to linux and windows.
In era of ubuntu 6.06 all that works great.
Re: Ubuntu 12.04 precise Pangolin
I just set up a fresh Ubuntu 12.04 amd64, and I got FB programs to compile after installing these packages:
Note that I used lib32ncurses5-dev and not libncurses5-dev:i386, because installing the latter, for some reason, wanted to remove gcc, g++, gcc-multilib, g++-multilib, etc. I guess that's the problem you encountered aswell. I don't know why that problem exists, perhaps it's a Debian/Ubuntu packaging bug...gcc-multilib
g++-multilib
libx11-dev:i386
libxext-dev:i386
libxrender-dev:i386
libxrandr-dev:i386
libxpm-dev:i386
libgl1-mesa-dev:i386
libglu1-mesa-dev:i386
lib32ncurses5-dev
Re: Ubuntu 12.04 precise Pangolin
Now compile there too..
Thanks.
..now just waiting for FB 64 bit :D
Thanks.
..now just waiting for FB 64 bit :D