I followed http://freebasic.net/forum/viewtopic.ph ... stall.sh+i to install fb 1.01 in linuxmint 17.1 32bit
then install geany
I try to compile hello.bas and it the result:
fbc -w all "hello.bas" (in directory: /media/irsyad/New Volume/data/freebasic/FreeBASIC-1.01.0-linux-x86/examples)
ld: cannot find /usr/local/bin/../lib/freebasic/linux-x86/fbextra.x: Permission denied
ld: cannot find /usr/local/bin/../lib/freebasic/linux-x86/fbrt0.o: Permission denied
ld: cannot find -lfb
Compilation failed.
what wrong?
[SOLVED] HELP FB1.01 in LinuxMint 17.1 32bit
[SOLVED] HELP FB1.01 in LinuxMint 17.1 32bit
Last edited by Loe on May 24, 2015 0:21, edited 1 time in total.
Re: HELP FB1.01 in LinuxMint 17.1 32bit
Hmm, strange...
Do the files exist under /usr/local/lib/freebasic/linux-x86/?
Are the permissions ok? (i.e. are they readable for non-root users?)
Do the files exist under /usr/local/lib/freebasic/linux-x86/?
Are the permissions ok? (i.e. are they readable for non-root users?)
Re: HELP FB1.01 in LinuxMint 17.1 32bit
yes it strange. Before that Ive tried to install fb in linuxmint x64 and it failed (I follow with additional 32bit lib in readme.txt)dkl wrote:Hmm, strange...
I think it isdkl wrote:Do the files exist under /usr/local/lib/freebasic/linux-x86/?
I logged as administrator, so permission was not the caused IMHOdkl wrote:Are the permissions ok? (i.e. are they readable for non-root users?)
Re: HELP FB1.01 in LinuxMint 17.1 32bit
try to compile in terminal, it failed with same error message.
try to compile with sudo fbc hello.bas, it give output hello but can not execute
anybody had succeeed install & compile fb 1.0 in linuxmint?
try to compile with sudo fbc hello.bas, it give output hello but can not execute
anybody had succeeed install & compile fb 1.0 in linuxmint?
Re: HELP FB1.01 in LinuxMint 17.1 32bit
I just tried with a fresh install of Linux Mint 17.1 Cinnamon inside VirtualBox, FB seems to work fine.
FB 1.02.1 downloaded and extracted, then installed with
FB 1.02.1 downloaded and extracted, then installed with
Permissions of the the FB libs looking ok:cd FreeBASIC-1.02.1-linux-x86
sudo ./install.sh -i
For compiling FB programs I had to install additional libs:daniel@vm ~ $ ls -l /usr/local/lib/freebasic/linux-x86/
total 1852
-rw-r--r-- 1 root root 396 May 20 17:39 fbextra.x
-rw-r--r-- 1 root root 1192 May 20 17:39 fbrt0.o
-rw-r--r-- 1 root root 684364 May 20 17:39 libfb.a
-rw-r--r-- 1 root root 243584 May 20 17:39 libfbgfx.a
-rw-r--r-- 1 root root 249620 May 20 17:39 libfbgfxmt.a
-rw-r--r-- 1 root root 701490 May 20 17:39 libfbmt.a
but after that, compiling in terminal or with Geany, no problem.sudo apt-get install libc6-dev libncurses5-dev .....
Re: HELP FB1.01 in LinuxMint 17.1 32bit
Permissions of the the FB libs looking ok:
I dont have permission, think have to re-install linuxmint as yours
thank you
I dont have permission, think have to re-install linuxmint as yours
thank you
Re: HELP FB1.01 in LinuxMint 17.1 32bit
This 3rd time i fresh install linuxmint
then with downloaded fb linux i follow your way:
dkl please give me step by step that realy work with linuxmin 17.1 Cinnamon and fb linux 1.01
thank you
then with downloaded fb linux i follow your way:
and this is the result:cd FreeBASIC-1.02.1-linux-x86
sudo ./install.sh -i
Im stuck.irsyad@irsyad-TA790GX-128M ~/Downloads/FreeBASIC-1.01.0-linux-x86 $ sudo ./install.sh -i
[sudo] password for irsyad:
sudo: ./install.sh: command not found
irsyad@irsyad-TA790GX-128M ~/Downloads/FreeBASIC-1.01.0-linux-x86 $
dkl please give me step by step that realy work with linuxmin 17.1 Cinnamon and fb linux 1.01
thank you
Re: HELP FB1.01 in LinuxMint 17.1 32bit
See the Linux section on: CompilerInstalling
If ./install.sh "can't be found"... then where is it? Is it really in that directory, or were the FB files extracted somewhere else? Also, were the executable permissions preserved while extracting?
If ./install.sh "can't be found"... then where is it? Is it really in that directory, or were the FB files extracted somewhere else? Also, were the executable permissions preserved while extracting?
Re: HELP FB1.01 in LinuxMint 17.1 32bit
I feel really dumb now
the most succesed installataion was as my first post, but it fail to compile with permission problem
sure install.sh existedirsyad@irsyad-TA790GX-128M ~/Downloads $ cd FreeBASIC-1.01.0-linux-x86
irsyad@irsyad-TA790GX-128M ~/Downloads/FreeBASIC-1.01.0-linux-x86 $ ls
bin changelog.txt doc examples include install.sh lib readme.txt
irsyad@irsyad-TA790GX-128M ~/Downloads/FreeBASIC-1.01.0-linux-x86 $ sudo ./install.sh -i
[sudo] password for irsyad:
sudo: ./install.sh: command not found
irsyad@irsyad-TA790GX-128M ~/Downloads/FreeBASIC-1.01.0-linux-x86 $
the most succesed installataion was as my first post, but it fail to compile with permission problem
Re: HELP FB1.01 in LinuxMint 17.1 32bit
Gotcha
it seem linuxmint disable root login by default, so I use this command to enable it
it seem linuxmint disable root login by default, so I use this command to enable it
and fb can install correctlysudo su