Página 1 de 1

Instalando Harbour 3.2 no Kubuntu

Enviado: 01 Jul 2020 12:44
por Itamar M. Lins Jr.
Ola!
a) Instalar o GIT

Código: Selecionar todos

itamar@itamar-desktop:~$ sudo apt install git
[sudo] senha para itamar: 
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
The following additional packages will be installed:
  git-man liberror-perl
Pacotes sugeridos:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
Os NOVOS pacotes a seguir serão instalados:
  git git-man liberror-perl
0 pacotes atualizados, 3 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 5.464 kB de arquivos.
Depois desta operação, 38,4 MB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] S
b) Puxar os fontes

Código: Selecionar todos

itamar@itamar-desktop:~$ sudo apt install git
[sudo] senha para itamar: 
Lendo listas de pacotes... Pronto
Construindo árvore de dependências       
Lendo informação de estado... Pronto
The following additional packages will be installed:
  git-man liberror-perl
Pacotes sugeridos:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
Os NOVOS pacotes a seguir serão instalados:
  git git-man liberror-perl
0 pacotes atualizados, 3 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
É preciso baixar 5.464 kB de arquivos.
Depois desta operação, 38,4 MB adicionais de espaço em disco serão usados.
Você quer continuar? [S/n] S
Gerando o .EXE no Linux/Unix chamamos de binários exectáveis, pq nestes ambientes não usamos extensões .EXE, .BAT para executáveis.

Código: Selecionar todos

itamar@itamar-desktop:~/hb32-fontes$ sudo make install
! Building Harbour 3.2.0dev from source - https://harbour.github.io
! MAKE: make 4.2.1 /bin/sh install  
! HB_HOST_PLAT: linux (x86_64)  HB_SHELL: sh
! LD_LIBRARY_PATH: /home/itamar/hb32-fontes/lib/linux/gcc:
! HB_PLATFORM: linux (x86_64) (auto-detected)
! HB_COMPILER: gcc (auto-detected: /usr/bin/)
! HB_HOST_PKGM: deb
! Component: 'zlib' found in /usr/include 
! Component: 'pcre' found in /usr/include 
! Component: 'gpm' not found
! Component: 'slang' found in /usr/include 
! Component: 'curses' not found
! Component: 'x11' found in /usr/include 
! Component: 'wattcp/watt-32' not supported on linux platform
! HB_INSTALL_PREFIX automatically set to: /usr/local
! GIT_REVISION: e5ab1e3
! Installing c_std.txt on /usr/local/share/doc/harbour
! Installing class_tp.txt on /usr/local/share/doc/harbour
! Installing clipper.txt on /usr/local/share/doc/harbour
! Installing cmdline.md on /usr/local/share/doc/harbour
...
Vejam o detalhe!
! HB_HOST_PLAT: linux (x86_64) HB_SHELL: sh
! LD_LIBRARY_PATH: /home/itamar/hb32-fontes/lib/linux/gcc:
! HB_PLATFORM: linux (x86_64) (auto-detected)
! HB_COMPILER: gcc (auto-detected: /usr/bin/)
! HB_HOST_PKGM: deb
Já detectou o GCC e o LUGAR, onde irão ficar os arquivos, o PATH.

Saudações,
Itamar M. Lins Jr.

Instalando Harbour 3.2 no Kubuntu

Enviado: 01 Jul 2020 12:49
por Itamar M. Lins Jr.
Ola!
K do Ubuntu porque usa KDE. Ubuntu usa (Gnome - GTK), Linux Mint é Ubuntu e usa Cinamon (Gnome - GTK) essa ainda não testei.
São as mais usadas.

Saudações,
Itamar M. Lins Jr.

Instalando Harbour 3.2 no Kubuntu

Enviado: 01 Jul 2020 12:52
por Itamar M. Lins Jr.
Ola!
Final da instalação.

Código: Selecionar todos

! Finished package build and install...
./bin/linux/gcc/hbmk2 ./config/postinst.hb install
! Copying root documents...
! Copying Harbour script files...
! Copying *nix config files...
! Creating Linux ld config file...
! Creating dynamic lib symlinks...
! Symlink: libharbour.so.3.2.0 <= /usr/local/lib64/harbour/libharbour.so.3.2
! Symlink: libharbour.so.3.2.0 <= /usr/local/lib64/harbour/libharbour.so
! Symlink: harbour/libharbour.so.3.2.0 <= /usr/local/lib64/harbour/../libharbour.so
! Symlink: harbour/libharbour.so.3.2.0 <= /usr/local/lib64/harbour/../libharbour.so.3.2
! Symlink: harbour/libharbour.so.3.2.0 <= /usr/local/lib64/harbour/../libharbour.so.3.2.0
! Making core translation (.hbl) files...
! Created /usr/local/bin/hbmk2.it.hbl <= utils/hbmk2/po/hbmk2.it.po
! Created /usr/local/bin/hbmk2.es.hbl <= utils/hbmk2/po/hbmk2.es.po
! Created /usr/local/bin/hbmk2.el.hbl <= utils/hbmk2/po/hbmk2.el.po
! Created /usr/local/bin/hbmk2.fr.hbl <= utils/hbmk2/po/hbmk2.fr.po
! Created /usr/local/bin/hbmk2.hu.hbl <= utils/hbmk2/po/hbmk2.hu.po
! Created /usr/local/bin/hbmk2.es_419.hbl <= utils/hbmk2/po/hbmk2.es_419.po
! Created /usr/local/bin/hbmk2.pt_BR.hbl <= utils/hbmk2/po/hbmk2.pt_BR.po
! Created /usr/local/bin/hbmk2.en.hbl <= utils/hbmk2/po/hbmk2.en.po
! Created /usr/local/bin/hbmk2.gl.hbl <= utils/hbmk2/po/hbmk2.gl.po
! Compiling core documentation (.hbd)...
! Created /usr/local/share/doc/harbour/harbour.hbd <= ./
! Compiling list of contrib functions (.hbr)...
! postinst script finished
itamar@itamar-desktop:~/hb32-fontes$ hbmk2 -build
Harbour 3.2.0dev (r2006301601)
Copyright (c) 1999-2020, https://harbour.github.io/

Harbour Build Info
---------------------------
Version: Harbour 3.2.0dev (r2006301601)
Compiler: GNU C 9.3 (64-bit)
Platform: Linux 5.4.0-39-generic x86_64
PCode version: 0.3
ChangeLog last entry: 2020-06-30 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
ChangeLog ID: 65ceb79e734ecdf381da0cd86c8b53302c04bde3
Built on: Jul  1 2020 12:40:27
Build options: (Clipper 5.3b) (Clipper 5.x undoc) 
---------------------------
itamar@itamar-desktop:~/hb32-fontes$ 

Igual ou até mais fácil do que fazer no windows.

Saudações,
Itamar M. Lins Jr.

Instalando Harbour 3.2 no Kubuntu

Enviado: 01 Jul 2020 12:56
por Itamar M. Lins Jr.
Ola!
Já com a correção do Przmek no GIT.

Código: Selecionar todos

/*
 * $Id: 65ceb79e734ecdf381da0cd86c8b53302c04bde3 $
 */

/* Encoding: UTF-8 (No BOM)  Notation (in 5th position):
     * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment
   Entries may not always be in chronological/commit order.
   See license at the end of file. */

2020-06-30 18:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * contrib/gtqtc/gtqtc.hbc
    * added default Qt5 path in Ubuntu64

  * contrib/gtqtc/gtqtc1.cpp
    + added support for horizontal wheel events
    * do not try to load image when zero length string is used as image name
      to refresh screen in HB_GTI_DISPIMAGE

2020-04-20 15:01 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
  * contrib/gtqtc/gtqtc.hbp
    * added default Qt5 path in Ubuntu64

  * debian/compat
    * changed compatibility level from 5 to 9

  * src/rdd/workarea.c
    ! do not use casting to functions with incompatible parameters.
      Such casting does not work with some ABIs, i.e. when pascal
      calling convention is used and called function should clean
      parameters from the stack.
      This modification should also pacify warnings generated by
      recent GCC versions.
Saudações,
Itamar M. Lins Jr.