Restarting with FiveLinux

Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Restarting with FiveLinux

Post by Willy »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

Thanks Antonio,

I use already the latest Ubuntu.

Are you sending this to my email.

Greetings,

Willy.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Willy,

Already sent by email,
regards, saludos

Antonio Linares
www.fivetechsoft.com
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

Thanks Antonio,

I will find it when I am back home
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

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.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

The same problem sames to occur with the Harbour binaries.

The ubunto version is only delivered in a .deb file

Any idea.

Thanks,

Willy.
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

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

Code: Select all

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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

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
Willy
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Post by Willy »

Antonio,

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

Then I have the following error

Code: Select all

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# 
Post Reply