Restarting with FiveLinux

Restarting with FiveLinux

Postby Willy » Fri Jan 04, 2008 2: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.
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Antonio Linares » Fri Jan 04, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Sat Jan 05, 2008 5:39 am

Thanks Antonio,

I use already the latest Ubuntu.

Are you sending this to my email.

Greetings,

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

Postby Antonio Linares » Mon Jan 07, 2008 1:23 pm

Willy,

Already sent by email,
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Mon Jan 07, 2008 3:20 pm

Thanks Antonio,

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

Postby Willy » Mon Jan 07, 2008 9: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.
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

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

Postby Willy » Tue Jan 08, 2008 9: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
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Willy » Tue Jan 08, 2008 2: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.
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Antonio Linares » Tue Jan 08, 2008 6: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Wed Jan 09, 2008 6: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
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Postby Antonio Linares » Wed Jan 09, 2008 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Thu Jan 10, 2008 1: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

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

Postby Antonio Linares » Thu Jan 10, 2008 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Willy » Thu Jan 10, 2008 2: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

Code: Select all  Expand view
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#
Willy
 
Posts: 117
Joined: Thu Mar 02, 2006 11:06 am
Location: Belgium

Next

Return to FiveLinux / FiveDroid (Android)

Who is online

Users browsing this forum: No registered users and 2 guests