Debian package FBC-1.06.0~debian7_armhf

Linux specific questions.
TJF
Posts: 3324
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Debian package FBC-1.06.0~debian7_armhf

Postby TJF » Mar 02, 2015 14:21

A Debian package with an ARMv7 version of the FreeBASIC compiler (fbc-1.01) is now available, including binaries and header files. The package is reported to work on Beaglebone systems (Black / White, Debian / Ubuntu) as well as on Rasberry Pi 2 (Rasbian).

After downloading the package, install it by (execute in the download folder)

    sudo dpkg --install freebasic_1.06.0~debian7_armhf.deb
In case of unsolved dependency messages, resolve them by executing

    sudo apt-get -f install

As an alternative, the installation can also get done by a grafical installer, which auto-resolves the dependencies. I.e.start

    gdebi-gtk
Then open the package file and install it.

Here's the download



Note:

When you've an old installation on your box (ie. from package BBB-FBC (Version 1.00 v. 14.10.14)), then move the header files to the new package folder and remove the binary files by executing

    mv -R /usr/local/include/freebasic/BBB /usr/include/freebasic/
    rm /usr/local/bin/fbc
    rm -R -f /usr/local/lib/freebasic

[Edit]
Note on RPi2 added.
Note on old installation added.
Update 1.06.0
[/Edit]
Last edited by TJF on Jun 03, 2016 16:15, edited 3 times in total.
tinram
Posts: 86
Joined: Nov 30, 2006 13:35
Location: UK

Re: Debian package FBC-1.01~debian7_armhf

Postby tinram » Mar 10, 2015 13:46

Excellent work TJF.

Perhaps this is the first Linux FreeBASIC compiler that can be installed via a package manager?

Being ARMv7, I assume this package works well on a Raspberry Pi 2 ?
If so, it might be good to mention this in your English and German documentation?
TJF
Posts: 3324
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Re: Debian package FBC-1.01~debian7_armhf

Postby TJF » Mar 10, 2015 17:32

tinram wrote:Excellent work TJF.

Thanks! (I just adapted and run the build script in fbc/conrib/deb/bintar-to-bindeb.sh, so most of the work has been done by the FB developres.)

tinram wrote:Being ARMv7, I assume this package works well on a Raspberry Pi 2 ?
If so, it might be good to mention this in your English and German documentation?

I don't know, I have no RPi2 and cannot test.

To be honest, I didn't test on beagleboard either. But users reported that the package works well.

Did you test on RPi2? Does it work? If so, I'd add the note on the download pages as you mentioned.
phishguy
Posts: 1200
Joined: May 05, 2006 16:12
Location: West Richland, Wa

Re: Debian package FBC-1.01~debian7_armhf

Postby phishguy » Mar 13, 2015 5:28

I just got my RPi2 a couple of days ago. I finally had a chance today to plug it in, get Raspian installed, install Freebasic and it's dependencies, and install Geany. It took me a bit of forum research since I am very much a noob with Linux. Anyways, I would just like to report that so far it seems to be working. I haven't been following the status on the ARM port and was pleasantly surprised that native FB graphics now works. Thanks to the developers for all their hard work.
TJF
Posts: 3324
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Re: Debian package FBC-1.01~debian7_armhf

Postby TJF » Mar 13, 2015 9:07

Hello phishguy,

thanks for the report.

phishguy wrote:..., install Freebasic and it's dependencies, and install Geany. It took me a bit of forum research ...

For me it'd be interesting if the objective package did install all necessary dependencies. Was your "forum research" related to that issue? Or can I write 'package works on RPi2 under Rasbian'.
phishguy
Posts: 1200
Joined: May 05, 2006 16:12
Location: West Richland, Wa

Re: Debian package FBC-1.01~debian7_armhf

Postby phishguy » Mar 13, 2015 16:03

Yes, it works. I had just missed the second part of your post.
sudo apt-get -f install


After that, everything worked great.

Thanks again.
dasyar
Posts: 264
Joined: Dec 04, 2008 15:31

Re: Debian package FBC-1.01~debian7_armhf

Postby dasyar » May 17, 2015 17:30

Not sure what is going on, I just installed the 2015-02-16-raspian-wheezy image to a Raspberry Pi+ board. I installed the freeBasic package as described here, and when I try to run fbc I get "Segmentation fault" error. I have freebasic installed on other Raspberry Pi boards and it seems to run OK. Anybody have any clue as to what the problem could be?

Thanks
dasyar
Posts: 264
Joined: Dec 04, 2008 15:31

Re: Debian package FBC-1.01~debian7_armhf

Postby dasyar » May 17, 2015 19:26

I have just tried the newest 2015-05-05-raspian-wheezy image, and I get the same thing, "Segmentation fault". Anybody else getting the same results?
St_W
Posts: 1057
Joined: Feb 11, 2009 14:24
Location: Austria
Contact:

Re: Debian package FBC-1.01~debian7_armhf

Postby St_W » May 22, 2015 8:45

dasyar wrote:Not sure what is going on, I just installed the 2015-02-16-raspian-wheezy image to a Raspberry Pi+ board. I installed the freeBasic package as described here, and when I try to run fbc I get "Segmentation fault" error. I have freebasic installed on other Raspberry Pi boards and it seems to run OK. Anybody have any clue as to what the problem could be?

Do you also get the Segmentation fault with some more recent FreeBasic Build?
You can find nightly builds e.g. here: http://users.freebasic-portal.de/stw/bu ... -armv6-rpi

If these do not work either maybe there are some other library versions used on that specific system that are not binary compatible with the ones linked to fbc? I'm linking the fbc binary to a set of headers & libraries from an older raspian version, which can be found here: http://users.freebasic-portal.de/stw/fi ... d-libs.tgz
If you suspect this could be the reason I can update the headers & libs and provide a custom build for you to test it.

Unfortunately I do not have a RPI to test it myself.
TJF
Posts: 3324
Joined: Dec 06, 2009 22:27
Location: N47°, E15°

Re: Debian package FBC-1.01~debian7_armhf

Postby TJF » Jun 03, 2016 16:14

Update available

GIT source code from 2016, June 3 (version.mk says 1.06.0).

See first post for the download link.

Return to “Linux”

Who is online

Users browsing this forum: No registered users and 2 guests