Willy,
> I did not find a way to change the PKG_CONFIG_PATH variable
Please uninstall and reinstall glade-2 and if the problem remains there, then do:
export PKG_CONFIG_PATH=<path_to_glade-2>
Willy,
> I did not find a way to change the PKG_CONFIG_PATH variable
Please uninstall and reinstall glade-2 and if the problem remains there, then do:
export PKG_CONFIG_PATH=<path_to_glade-2>
compiling C module...
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!Willy,
Are you using Ubuntu 7.10 ? Here it works fine
All you need is to do:
sudo apt-get install glade-2
Indeed,
I use an Ubunto gnome 7.10 English on a windows xp/vmware session
and an Ubunto 7.10 Dutch on a dual boot system.
I shall retry after complete reinstalling the OS.
Greetings,
Willy.
Willy
To get your missing library go
sudo apt-get install libglade2-dev
It was left off the list Antonio sent you I believe
Regards
xProgrammer
Thanks xProgrammer.
I've just executed the "hello world"
So the environment seems to work.
Do you also know if there is sql library for Linux like the commercial sql from xharbour.com
Thanks
Willy
Willy,
>
I've just executed the "hello world"
So the environment seems to work.
>
Good! ![]()
>
Do you also know if there is sql library for Linux like the commercial sql from xharbour.com
>
I don't know it... ![]()
Hi Willy
Good luck with your current look at FiveLinux. I hope you end up using it. Whilst it hasn't got all the cute extensions that FiveWin has, and there are a few minor issues, you can produce robust, well designed applications with it. My application ran without any problems whilst I took a 6 week holiday.
As to your question re an SQL library for Linux like xHarbour SQLRDD I believe that the xHarbour SQLRDD already supports Linux - and that it is code compatible with the Windows version.
Another option would appear to be the Advantage Data Base Server - now a Sybase company. I believe it supports Linux and Windows based clients and table (traditional xBase style) and query (SQL style) interaction with the data base server.
Regards
Doug
(xProgrammer)
Hello,
I've just ordered the Linux version of SQLRDD.
Thanks for the support.
Willy
Hi Willy
When you have had a chance to play with it, let me know what your impressions are.
I have just started setting up an NFS network and will soon be testing file locking the traditional xBase way with xHarbour/FiveLinux.
Regards
Doug
(xProgrammer)
Hello,
I had to reinstall my whole developper PC because I had a Harddisk crash.
So that is done now.
That means also that I had the chance to start from nothing. Now I have a dual boot with 300 GB Windows and 200 GB Ubuntu 7.10.
On the new installation the FiveLinux is already working.
I wait for the SQL driver from Patrick Mast to do some test with it.
The goal is "write once" compile twice. (Linux and Windows ) and have an executable for more platforms for different DBMS.
But there is still a llong way to go.
Greetings,
Willy.
>The goal is "write once" compile twice. (Linux and Windows ) and have an executable for more platforms for different DBMS.<
Should be achievable but you'll have to restrict the features you use and get familiar with both systems as their are some differences. A few #command's and #ifdef's would help.
I code all my screens rather than use resources (which wouldn't be compatible - for linux you would have to use glade), That code could be the same for fivewin and fivelinux I believe but there are restrictions such as:
fivelinux doesn't support PIXEL so you have to use simulated row, column.
fivelinux doesn't support READONLY but you can substitute WHEN .F. (which works fine on both platforms).
with fivelinux you'll need more SIZE clauses for says and gets
I started with fivewin (because I knew the platform better) but the goal was to use fivelinux. Because I had no knowledge of the differences between the two I had a bit of conversion to do when I switched platforms - but not a great deal. I think most of the code I write now would require very little change to compile with fivewin but I haven't tested that. You do have to forgo all the fancy extras that come with fivewin.
I'll follow your progress with interest.
Regards
Doug
(xProgrammer)
Hello,
Well, because I am not already a Linux specialist it will not go fast.
I can just spend some spare time to this project.
I received the SQL lib but it is a RPM file.
I hope to receive the .deb file also. I've asked it already.
Now I am searching for a good make sample.
Do you know where I can find some samples.
Already many thanks for the ge-reat support Doug.
Bey,
Willy
# ./mb.sh
clear
echo compiling mSYS xHarbour code to C code ...
./../../xharbour/bin/harbour mSYS.prg -n -I./../include -I./../../xharbour/include
echo compiling mTEMLIST xHarbour code to C code ...
./../../xharbour/bin/harbour mTEMLIST.prg -n -I./../include -I./../../xharbour/include
echo compiling xOBJECTS xHarbour code to C code ...
./../../xharbour/bin/harbour xOBJECTS.prg -n -I./../include -I./../../xharbour/include
echo compiling PATIENT_Class xHarbour code to C code ...
./../../xharbour/bin/harbour PATIENT_Class.prg -n -I./../include -I./../../xharbour/include
echo compiling PATFILE_Class xHarbour code to C code ...
./../../xharbour/bin/harbour PATFILE_Class.prg -n -I./../include -I./../../xharbour/include
echo compiling EXTEND5 xHarbour code to C code ...
./../../xharbour/bin/harbour EXTEND5.prg -n -I./../include -I./../../xharbour/include
echo compiling DOCTOR_Classes xHarbour code to C code ...
./../../xharbour/bin/harbour DOCTOR_Classes.prg -n -I./../include -I./../../xharbour/include
echo compiling OSTEO_Class xHarbour code o C code ...
./../../xharbour/bin/harbour OSTEO_Class.prg -n -I./../include -I./../../xharbour/include
echo compiling mSYS C module...
gcc mSYS.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling mTEMLIST C module...
gcc mTEMLIST.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling xOBJECTS C module...
gcc xOBJECTS.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling PATIENT_Class C module...
gcc PATIENT_Class.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling PATFILE_Class C module...
gcc PATFILE_Class.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling EXTEND5 C module...
gcc EXTEND5.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo compiling OSTEO C module...
gcc OSTEO_Class.c -c -I./../include -I./../../xharbour/include `pkg-config --cflags gtk+-2.0`
echo linking...
gcc mSYS.o mTEMLIST.o xOBJECTS.o PATIENT_Class.o PATFILE_Class.o EXTEND5.o OSTEO_Class.o -omSYS -L./../lib -L./../../xharbour/lib `pkg-config --libs gtk+-2.0` `pkg-config --libs libglade-2.0` `pkg-config --libs libgnomeprintui-2.2` -Wl,--start-group -lfivex -lfivec -lcommon -lvm -lrtl -lrdd -lmacro -llang -lcodepage -lpp -ldbfntx -ldbfcdx -ldbffpt -lhbsix -lhsx -lpcrepos -lusrrdd -ltip -lct -lcgi -lgtnul -lgtstd -lgtcgi -lgtcrs -lhbodbc -ldebug -lm -lgpm -lncurses -Wl,--end-group
echo done!