HOW Compile Harbour in Linux Mint

445 views
Skip to first unread message

hherrera

unread,
Apr 3, 2019, 11:43:53 PM4/3/19
to Harbour Users
hi friends,
Someone to help me compile Harbor in linux mint.

which would be the instructions. Besides that graphical interface would work on both windows and linux
Thanks


Alain Aupeix

unread,
Apr 5, 2019, 3:40:36 AM4/5/19
to harbou...@googlegroups.com
Le 04/04/2019 à 05:43, hherrera a écrit :
> hi friends,
> Someone to help me compile Harbor in linux mint.
Hi,
First you must install the prerequite deb packets:

sudo apt-get install bash git gcc binutils fakeroot debhelper valgrind
upx uncrustify

To build contribs, you need these packets :

for gtcrs terminal lib: $ sudo apt-get install libncurses-dev
for gtsln terminal lib: $ sudo apt-get install libslang2-dev OR
$ sudo apt-get install libslang1-dev
for gtxwc terminal lib: $ sudo apt-get install libx11-dev
for console mouse support: $ sudo apt-get install libgpm-dev OR
$ sudo apt-get install
libgpmg1-dev
for contrib/gtalleg lib: $ sudo apt-get install liballegro4.2-dev
for contrib/hbcairo lib: $ sudo apt-get install libcairo2-dev
for contrib/hbcups lib: $ sudo apt-get install libcups2-dev
for contrib/hbcurl lib: $ sudo apt-get install libcurl4-openssl-dev OR
$ sudo apt-get install
libcurl4-gnutls-dev
for contrib/hbfbird lib: $ sudo apt-get install firebird2.1-dev OR
$ sudo apt-get install
libfirebird2.0-dev
for contrib/hbfimage lib: $ sudo apt-get install libfreeimage-dev
for contrib/hbgd lib: $ sudo apt-get install libgd2-xpm-dev OR
$ sudo apt-get install libgd-xpm-dev
for contrib/hbgs lib: $ sudo apt-get install libgs-dev
for contrib/hbmagic lib: $ sudo apt-get install libmagic-dev
for contrib/hbmysql lib: $ sudo apt-get install libmysqlclient15-dev
for contrib/hbodbc lib: $ sudo apt-get install unixodbc-dev
for contrib/hbpgsql lib: $ sudo apt-get install libpq-dev
for contrib/hbqt lib: $ sudo apt-get install libqt5-dev

Optional, to override locally hosted sources (generally not needed):

for bzip2 support: $ sudo apt-get install libbz2-dev
for zlib support: $ sudo apt-get install zlib1g-dev
for pcre (regex) support: $ sudo apt-get install libpcre3-dev
for contrib/hbsqlit3 lib: $ sudo apt-get install libsqlite3-dev
for contrib/hbexpat lib: $ sudo apt-get install libexpat1-dev

Warning : I' m now not able to build gtqtc with Xubuntu 16.04. It seems
that libqt5 doesn(t exist anymore

Then you need to download the harbour source:

git clone http://github.com/harbour/core.git harbour

After, you'll just need to launch :

git pull

Then to build you need to launch (from the harbour folder):

make

But all is explained in README.md

A+
--
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 & Xu.buntu 16.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev
(2019-01-25 11:26) | Hw.Gui (2771)
------------------------------------------------------------------------

Srđan

unread,
Apr 20, 2020, 1:29:29 PM4/20/20
to Harbour Users
This is not OK.
sudo apt-get install libqt5-dev
E: Unable to locate package libqt5-dev

Alain Aupeix

unread,
Apr 20, 2020, 2:36:33 PM4/20/20
to harbou...@googlegroups.com
Le 20/04/2020 à 19:29, 'Srđan' via Harbour Users a écrit :
> This is not OK.
> sudo apt-get install libqt5-dev
> E: Unable to locate package libqt5-dev
>
> On Friday, April 5, 2019 at 9:40:36 AM UTC+2, Alain Aupeix wrote:
>
> Le 04/04/2019 à 05:43, hherrera a écrit :
>
> Warning : I' m now not able to build gtqtc with Xubuntu 16.04. It
> seems
> that libqt5 doesn(t exist anymore
>
Yes, libqt5-dev doesn't seem to exist (I'm also under Xubuntu 16.04)

A+
--
------------------------------------------------------------------------
*Alain Aupeix*
Sites web : JujuLand <http://jujuland.pagesperso-orange.fr/> |
Pissobi-Lacassagne <http://pissobi-lacassagne.pagesperso-orange.fr/> |
Gadel <https://www.gadel-environnement.org/>
------------------------------------------------------------------------
X.ubuntu 16.04 [ H.arbour 3.2.0dev (r2020-02-24 15:33) | Hw.gui 2.22-4
(r2817) | G.ramps 5.0.1
------------------------------------------------------------------------

Alain Aupeix

unread,
Apr 20, 2020, 2:58:47 PM4/20/20
to harbou...@googlegroups.com
I have listed the avalaible dev paquets using synaptic.

Perhaps one ou a few can help ...

https://www.dropbox.com/s/icczq6b4zivm15i/qt5dev.png?dl=1

Srđan

unread,
Apr 21, 2020, 4:40:19 AM4/21/20
to Harbour Users
I build with this.
Screenshot from 2020-04-21 10-39-25.png

Diego F

unread,
Apr 21, 2020, 6:16:52 AM4/21/20
to Harbour Users
Reply all
Reply to author
Forward
0 new messages