Raspberry Pi & Harbour

370 views
Skip to first unread message

Cotswold GB

unread,
Mar 13, 2024, 6:28:32 AM3/13/24
to Harbour Users
Hello All,

I’ve been a MicrosoftMan for a bit more than 40 years and now in my search for an Access alternative have come back to Clipper & Harbour. I'm Ok with it on Windows but Linux et al are taking a bit of getting used to.

I’ve a RaspberryPI4 and am wondering which version of Harbour I install and if it is installed directly, or if I need to install it on the Debian system on the RPi.

Which version of Harbour to install and where to find practical install instructions would be very helpful.


Daniele Federico

unread,
Mar 13, 2024, 8:19:20 AM3/13/24
to harbou...@googlegroups.com
I time i do, but was VERY VERY VERY very slow in compilation of harbour
Listen me, use hwgui in windows, when you finish compile all in linux or subsystem linux in windows ald after copy the exeguible in raspberry




Daniele Campagna

unread,
Mar 13, 2024, 2:24:24 PM3/13/24
to harbou...@googlegroups.com

Hi, I tested the PI. I have a Pi 0/512 Mb RAM and a Pi 4/1 Gb RAM.

Both work very well. Harbour executables run FAST and affordably.

The same memory card works flawlessly on both computers. That's to say, I develop in my Linux box, then compile the sources using Harbour 3.2 on the Pi. I use the Pi 4, it's obviously faster than the Pi 0, then I copy the executable or simply put the memory card in the Pi 0.

You need to compile Harbour on the Pi (this takes a while), then you are exactly in the same environment as standard Linux. The Pi Os is just Debian, so if you already use Linux there is nothing new.

On the PI I have Lighttpd that runs my CGI program, a super-quick browser (I tried Midori, Firefox, Chromium...). All is Ok.

These nanocomputers are amazing. And believe me, the RISC processor does its job decently. I am very happy with the Raspberry: low cost (very low!), low energy consumption (5-20 W), HDMI, super small, etc. Fantastic. And with Harbour you can do really a lot! My CGI cycles through images and MP4 or WebM videoclips. I mean, the small Pi runs the Os, Lighttpd, a browser, VNC server, and is able to decode and play HD videoclips. You need powerhorses to do all that. And the Pi 4 seems not to lag. OK the Pi 0 is slower, of course. I wouldn't recommend to play HD video on it. But low-res clips show up perfectly. I am planning to redesign my home network / server / workflow to use these cheap things wherever possible!...

Dan

--
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: https://groups.google.com/group/harbour-users
---
You received this message because you are subscribed to the Google Groups "Harbour Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to harbour-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/harbour-users/28f1ebc5-b91e-4688-8ffc-e87f3ae2587dn%40googlegroups.com.

Cotswold GB

unread,
Mar 14, 2024, 2:44:39 AM3/14/24
to Harbour Users
Many thanks for the advice from you both.

I'm totally new to Linux and after DOS & Windows I'm often pulled up with the case sensitivity.
I'll improve once I have learnt more about it.

The only other Linux PC I have is a Chromebook and that has Debian installed. So I could use 
the Chromebook for development. I haven't located a Debian Harbour. So am wondering if I 
should install the Ubuntu version of Harbour and if it will be Ok to do that.

Vincent

lai...@paysoft.com.br

unread,
Mar 14, 2024, 10:14:29 AM3/14/24
to Harbour Users
Hi Vincent,

You can install it in any distro. like Daniele said, Raspberry Pi is a tiny linux "debian".

The way to install is very easy. goto the terminal and follow the commands:

apt-get install make gcc git

// inside folder that you want.
git clone https://github.com/harbour/core.git harbour
cd harbour
make 

then just need to wait. it will build the harbour from the source.

in case you want to install it to the user folder
make install
it will put harbour /lib/includes to /usr/local normally.

that's it.

J Muller

unread,
Mar 14, 2024, 2:24:40 PM3/14/24
to Harbour Users
I use harbour in wsl2/Debian simply installed from the MS-store.. Works well, but most examples are made in mingw so you'd need to adept those.
But I prefer wsl2 to mingw.
Reply all
Reply to author
Forward
0 new messages