Installing on Debian 8.8 x86

New to FreeBASIC? Post your questions here.
Post Reply
KenHorse
Posts: 56
Joined: Jan 27, 2012 0:08

Installing on Debian 8.8 x86

Post by KenHorse »

So I downloaded FreeBASIC-1.05.0-linux-x86 and ran the installation script (sudo ./install.sh -i ) and received that the installation was successful. All the files are there (libraries, /usr/local/bin/fbc). I created the usual helloworld.bas and tried to run it

Code: Select all

root@debian:~/FreeBASIC-1.05.0-linux-x86# fbc -lang qb hello.bas              
 -bash: /usr/local/bin/fbc: No such file or directory
fbc is there and is executable by all.

Help////
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Installing on Debian 8.8 x86

Post by St_W »

Have you installed all dependencies required by FB ?
see http://freebasic.net/wiki/wikka.php?wak ... Installing

If that doesn't help could you please add the argument "-v" to the fbc call and post its output?
(e.g. "fbc -v -lang qb hello.bas")
KenHorse
Posts: 56
Joined: Jan 27, 2012 0:08

Re: Installing on Debian 8.8 x86

Post by KenHorse »

Yes, all required libs and dependencies are there.

It think I may have found the problem - trying to install the 32 bit onto a 64 bit machine...duh....
St_W
Posts: 1626
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Installing on Debian 8.8 x86

Post by St_W »

KenHorse wrote:It think I may have found the problem - trying to install the 32 bit onto a 64 bit machine...duh....
But you did write "Debian 8.8 x86" in the title clearly indicating a 32-bit OS; so you're using Debian 8.8 amd64 in fact?

Nethertheless, 32-bit applications work just fine on 64-bit Linux if you install all the required dependencies.
See also https://wiki.debian.org/Multiarch

There is also a 64-bit version of FreeBasic which is usually more suitable for a 64-bit OS (especially as Debian doesn't come with 32-bit application support installed by default).
KenHorse
Posts: 56
Joined: Jan 27, 2012 0:08

Re: Installing on Debian 8.8 x86

Post by KenHorse »

Yes yes, I installed x86 on an AMD64 based Debian machine.. my bad....

Installed the 64 bit version solved my issue, thanks
Post Reply