FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveLinux / FiveDroid (Android) Restarting with FiveLinux
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Fri Jan 04, 2008 02:45 PM

Hello Antonio,

A few years ago I bought FiveLinux 1.0.

I just used it a short time to try it out.

I want to restart with it on a recent distribution. (Ubuntu)

This distribution is of course much evoluated newer version of GCC, GTK etc.

Is my old version working with the actual distributions or is it better to reinstall my old Mandrake version.

Greetings

Willy.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Fri Jan 04, 2008 07:02 PM

Willy,

We strongly recommend you to use Ubuntu 7.10, as it is extremelly friendly and stable.

We will deliver you an upgraded build of FiveLinux, tested with that Ubuntu build.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Sat Jan 05, 2008 05:39 AM

Thanks Antonio,

I use already the latest Ubuntu.

Are you sending this to my email.

Greetings,

Willy.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Mon Jan 07, 2008 01:23 PM

Willy,

Already sent by email,

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Mon Jan 07, 2008 03:20 PM

Thanks Antonio,

I will find it when I am back home

Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Mon Jan 07, 2008 09:12 PM

I received the files.

Thanks.

In what map does I have to copy them.

The xHarbour installation files install xHarbour in a different place now.

Greetings,

Willy.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Mon Jan 07, 2008 10:16 PM

Willy,

We prefer to manually create a folder at /home/<user>/harbour and unzip it there:

mkdir /home/<user>/harbour

Same for fivelinux

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Tue Jan 08, 2008 09:48 AM

Hello,

The xHarbour files for Ubuntu are delivered in a .deb file.

They are automatically installed without the possibillity to choose the installation map.

I did not found another version.

Is there a way to install xHarbour in a choosed map.

Thanks,

Willy

Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Tue Jan 08, 2008 02:51 PM

The same problem sames to occur with the Harbour binaries.

The ubunto version is only delivered in a .deb file

Any idea.

Thanks,

Willy.

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Tue Jan 08, 2008 06:23 PM

Willy,

Download Harbour and xHarbour for Linux from here:

www.fivetechsoft.com/files/harbour.zip

www.fivetechsoft.com/files/xharbour.zip

Unzip them where you want to :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Wed Jan 09, 2008 06:07 PM

Thanks Antonio,

I've received the working files.

I still have some problems.

Compiling to C code seems to work.
Then The build file refer to GTK 2.O where ubuntu has GCC 4.. compiler

the result is the folowing error file


compiling...
xHarbour Compiler build 0.99.71 (SimpLex)
Copyright 1999-2007, http://www.xharbour.org http://www.harbour-project.org/
Compiling 'tutor01.prg'...
Lines 9, Functions/Procedures 1
Generating C source output to 'tutor01.c'...
Done.
compiling C module...
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found


Is it nescesarry to install a GCC 2 compiler of can we use the latest compiler.

Is there a working build file for my system.

Because I have not much experience with Linux I do not know where to start.

Greetings

Willy

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Wed Jan 09, 2008 07:15 PM

Willy,

You have to install these packages from a terminal window:

sudo apt-get install libgtk2.0-dev
sudo apt-get install gcc
sudo apt-get install libncurses5-dev
sudo apt-get install libgpmg1-dev
sudo apt-get install libgnomeprintui2.2-dev
sudo apt-get install glade-2

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Thu Jan 10, 2008 01:20 PM
Thanks Antonio,

Again a step further.

The .prg files are already converted to .C and compiled to .o files

When linking there is still an error

linking...
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


I have tried te remove Glade and reinstalled it several times.
I did not find a way to change the PKG_CONFIG_PATH variabele

Any idea.

Thanks

Willy
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Restarting with FiveLinux
Posted: Thu Jan 10, 2008 02:05 PM

Willy,

Please remove this pkg-config --libs libglade-2.0 from samples\build.sh and try it again

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 117
Joined: Thu Mar 02, 2006 11:06 AM
Restarting with FiveLinux
Posted: Thu Jan 10, 2008 02:19 PM
Antonio,

I had already tried that.
The glade-2.0 lib seems to be nescesarry for tutor01.prg

Then I have the following error

linking...
./../lib/libfivec.a(lnx.o): In function `HB_FUN_SETRESOURCES':
lnx.c:(.text+0x27b): undefined reference to `glade_xml_new'
./../lib/libfivec.a(lnx.o): In function `HB_FUN_LOADDIALOG':
lnx.c:(.text+0x2a7): undefined reference to `glade_xml_get_widget'
./../lib/libfivec.a(lnx.o): In function `HB_FUN_LOADBUTTON':
lnx.c:(.text+0x3a8): undefined reference to `glade_xml_get_widget'
collect2: ld returned 1 exit status
done!
./buildx.sh: line 23: ./tutor01: No such file or directory
root@Willy:/home/willy/fivelinux/samples#