Page 1 of 1

FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Mon Aug 08, 2016 8:04 pm
by jgayoso
Necesito saber si se puede instalar FiveLinux, Harbour y Glade en OpenSuse Leap 42.1 64 bits.

Si alguien me puede ayudar en este tema e indicarme las dependencias y ubicación necesarias para llevar a cabo esta instalación.

Desde ya soy vuestro agradecido.

Jorge Gayoso
Santiago - Chile

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Mon Aug 08, 2016 9:10 pm
by Antonio Linares
Jorge,

Te he enviado un email

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Wed Mar 20, 2019 12:32 am
by jamil
Necesito saber si se puede instalar FiveLinux, Harbour y Glade en OpenSuse Leap 42.3 64 bits.

Si alguien me puede ayudar en este tema e indicarme las dependencias y ubicación necesarias para llevar a cabo esta instalación.

Desde ya soy vuestro agradecido.

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Wed Mar 20, 2019 7:44 am
by Antonio Linares
Jamil,

Desde donde se puede descargar OpenSuse Leap 42.3 64 bits ?

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Thu Mar 21, 2019 9:33 am
by jamil
Bom dia,

este é o site:
https://software.opensuse.org/distributions/legacy

desde já Muito Obrigado pela sua atencao....

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Fri Mar 22, 2019 7:26 pm
by Antonio Linares
Crea este fichero go.sh, dale permiso de ejecución con chmod +x go.sh y ejecútalo con ./go.sh

go.sh

Code: Select all

sudo zypper install gcc
sudo zypper install git
sudo zypper install make
sudo zypper install gtk2-devel
sudo zypper install glade
sudo zypper install libgnomeprintui
sudo zypper install libgnomeprintui-devel
sudo zypper install mc
sudo zypper install nano
git clone https://github.com/harbour/core harbour
cd harbour
make
cd ..
git clone https://github.com/fivetechsoft/fivelinux
cd fivelinux
mkdir obj
mkdir objc
mkdir lib
make
cd samples
chmod +x build.sh
./build.sh tutor01

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Sun Mar 24, 2019 1:16 pm
by jamil
Bom dia,
obrigado pelo retorno.....

Tive que fazer uma pequena modificação no arquivo Makefile para poder instalar aqui pois alem do Leap 42.3 64
uso também o Harbour 3.2....
bem a intalaçâo foi perfeita até a ultima linha apresentar o seguinte erro:


source/winapi/listboxes.c: In function ‘HB_FUN_LBXSETITEMS’:
source/winapi/listboxes.c:68:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gtk_object_set_data( GTK_OBJECT( listItem ), "index", ( gpointer ) ( i + 1 ) );
^
ar rc ./lib/libfivec.a objc/listboxes.o
gcc -D_HARBOUR_ `pkg-config --cflags gtk+-2.0` `pkg-config --cflags libglade-2.0` -I./../include/harbour -I./include -Wall -c -o objc/lnx.o source/internal/lnx.c
Package libglade-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libglade-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libglade-2.0' found
source/internal/lnx.c:5:25: fatal error: glade/glade.h: No such file or directory
#include <glade/glade.h>
^
compilation terminated.
Makefile:101: recipe for target 'objc/lnx.o' failed
make: *** [objc/lnx.o] Error 1

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Sun Mar 24, 2019 4:09 pm
by Antonio Linares
Instala estos también:

sudo zypper install libglade-2_0-0
sudo zypper install libglade2-devel

En samples/build.sh modifica el path de las librerias de Harbour así:
-L./../../harbour/lib/linux/gcc
y quita esto: -lgpm

Ahora ve a la carpeta samples y haz:
./build.sh tutor01
./build.sh tutor02
etc

Re: FiveLinux, Harbour en OpenSuse Leap 42.1 x86_64

Posted: Mon Mar 25, 2019 7:10 am
by Antonio Linares