Re: [Harbour] Re: hbide and character case

2010-05-18 Thread Guy Roussin
Hi Pritpal, Now I need to know which action is causing. When i click on the name of the source file, hbide try to open the prg file but it can't because the path is wrong ... This is the reason I suggested to always use HB_FILEMATCH() when doing any comparison. So if you lookup and change a

[Harbour] hbide and character case

2010-05-17 Thread Guy Roussin
Hi, With hbide on linux, i add sources (prg) on my project from (/homeL/guy/devhb/proj). But hbide refuse to open them "File not found" : /homel/guy/devhb/proj/t3.prg Notice that hbide changes homeL with homel ! -- Guy ___ Harbour mailing list (attac

Re: [Harbour] hbIDE - On-line documentation-cum-distro update

2010-03-28 Thread Guy Roussin
Hi Pritpal, I try hbide on my debian sid, it compiles fine but i get some errors when running, i report them here : => Error when applying a theme $ ./hbide Unrecoverable error 6005: Exception SIGSEGV at address 0x61 Called from HBQTUI:_QOBJ(0) Called from HBQTUI:DESTROY(0) in ../../../THbQtUI

Re: [Harbour] Re: Error running hbide with today svn (13910)

2010-02-18 Thread Guy Roussin
I get this error running hbide on linux debian sid 32 bits : $ ./hbide Unrecoverable error 6005: Exception SIGSEGV at address 0x29 Called from HBIDE:_OSEARCHREPLACE(0) in ../../../tobject.prg Called from IDEDOCKS:BUILDSEARCHREPLACEWIDGET(333) in idedocks.prg Called from IDEDOCKS:BUILDDIALOG(300

[Harbour] Error running hbide with today svn (13910)

2010-02-18 Thread Guy Roussin
Hi, I get this error running hbide on linux debian sid 32 bits : $ ./hbide idemisc.prg:857:HBIDE_DBG(): HB_TR_ALWAYS NIL THbQtUI.prg:0:HBQ_DBG(): HB_TR_ALWAYS WidgetmainWindow QMainWindow QMainWindow():new() THbQtUI.prg:0:HBQ_DBG(): HB_TR_ALWAYS Command mainWindow

Re: [Harbour] Error compiling hbqt/qtgui with current svn

2010-01-23 Thread Guy Roussin
Hi, I use regular svn without modifications (13677) and there is a line (71) : #include in QSizeGrip.cpp Yes, this line is since day ONE. How come that you are experiencing this problem only today? I cannot suggest anything, just see in your Qt distro about QSizeGrip file and find out w

Re: [Harbour] Error compiling hbqt/qtgui with current svn

2010-01-22 Thread Guy Roussin
Hi Pritpal, gcc -I. -I../../../../../../include -Wall -W -O3 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -oQSizeGrip.o -c ../../../QSizeGrip.cpp ../../../QSizeGrip.cpp:84: error: 'QSizeGrip' was not declared in this scope Sorry, my first reply is invalid. Error mes

Re: [Harbour] openSUSE 32-bit build on 64-bit [update#1]

2010-01-10 Thread Guy Roussin
Hi Viktor, Anyhow until then my advice is to keep both 32-bit and 64-bit hosts if there is a need to produce for both targets. Debian is indeed even worse, and process varies from distro to distro and version by version. Hopefully one day distro makers will talk to each other and sort out th

Re: [Harbour] Problems updating from SVN

2009-11-27 Thread Guy Roussin
Hi, But I never need to do that until yesterday all works ok Same problem here (linux) There is a strange filename in the repository : $ svn update svn: Erreur en convertissant une entrée du répertoire 'contrib/hbide' vers UTF8 svn: Données UTF-8 valides (hex:) suivies par une séquence UTF

Re: [Harbour] Testing Linux

2009-11-12 Thread Guy Roussin
Hi, I have tried building Harbour under Mandriva 2010 and compiled the hello.prg successfully but when I run, I have the following error. But I have verified that the libharbour.so was found under /usr/local/lib and /usr/local/lib/harbour. Add as root: /usr/local/lib/ /usr/local/lib/harbou

Re: [Harbour] Array

2009-11-12 Thread Guy Roussin
Hi, Is there a different way to initialize/create an associative array in Harbour? v := {=>} Guy ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] ASCAN slow - proposal weighted search

2009-11-08 Thread Guy Roussin
Hi Fernando, Perhaps you can use hbmemio. I think that hbmemio has been created for this purpose... Guy Fernando Athayde a écrit : ASORT(::aArrayResumo, {|a,b| str(a[1],11)+str(a[3],11)+dtoc(a[5])+a[7] > str(b[1],11)+str(b[3],11)+dtoc(b[5])+b[7] } ) //Normal way (Slow for more than 100 regis

[Harbour] xhb-diff.txt little typo

2009-11-02 Thread Guy Roussin
Hi, I get this error with the sample in lines 111->117 ./tst.prg(4) Error E0020 Incomplete statement or unbalanced delimiters ./tst.prg(8) Error E0013 NEXT does not match FOR 2 errors I replace the line 112: FOR EACH c IN (@s) with : FOR EACH c IN @s and now compile is fine. I found this doc

Re: [Harbour] Re: Random links

2009-10-29 Thread Guy Roussin
Hi, BTW, does someone know if it's possible to run dosemu under amd64 Ubuntu? I'm tempted to move to 64-bit, but I'd cut myself out of DOS even more if it breaks dosemu. i don't try it but it's there : http://packages.ubuntu.com/search?lang=fr&ke

Re: [Harbour] SF.net SVN: harbour-project:[12784] trunk/harbour

2009-10-29 Thread Guy Roussin
Hi Viktor, missing .txt only disturb windows users because notepad add .txt to each files ;-) +1 to conserv the current naming. Regards Guy Viktor Szakáts a écrit : Imo most information in install.doc are also good in readme.txt Majority of content in this file used to be stored in file na

Re: [Harbour] Can't build harbour/debian with current svn

2009-09-18 Thread Guy Roussin
Hi, > $ LANG=C fakeroot sh mpkg_deb.sh fakeroot debian/rules binary Thank you Tamas I use : > $ dpkg-buildpackage -rfakeroot -uc -b and build is fine. I suggest to remove mpkg_deb.sh from svn -- Guy ___ Harbour mailing list Harbour@harbour-pro

[Harbour] Can't build harbour/debian with current svn

2009-09-18 Thread Guy Roussin
Hi, $ LANG=C fakeroot sh mpkg_deb.sh mpkg_deb.sh: line 123: ./bin/pack_src.sh: No such file or directory Thank you, -- Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] Changing install prefix in linux ?

2009-08-21 Thread Guy Roussin
Hi Bruno, In previous versions of Harbour I make the change because harbour package from ubuntu repositories install in /usr and not in /usr/local Yes harbour package from ubuntu install in /usr ... fine. Now I have a mess in my machine , I am triyng to delete manually the old executables

Re: [Harbour] Changing install prefix in linux ?

2009-08-20 Thread Guy Roussin
Hi Bruno, I think it's a bad idea. "/usr/local" is the good path for linux/ubuntu when you manualy install software (make; make install). And /usr is the good path for deb packages only. Notice that with harbour you can build your own ubuntu package : $ /path/to/harbour $ fakeroot sh mpkg_deb.s

[Harbour] Little trick for linux harbour users

2009-08-06 Thread Guy Roussin
Hi, $ cat t.prg #!/usr/bin/hbrun proc main() ? isbit(5,1) return I get an error with : ./t.prg because hbct (isbit()) is not linked with hbrun ... So as a workaround i replace the first line of the harbour script like this : $ cat t.prg #ifdef SH_COMPILATION /* sh compilation : hbmk2 -notrac

Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Guy Roussin
Hi, Yes it is and it's expected behavior. We cannot restore sth what we do not know. Anyhow it's possible to make a trick and simulate such behavior on some terminals which supports alternative screen display. This code shows it. It works with terminals which supports the following escape sequen

Re: [Harbour] terminal settings with gttrm

2009-07-28 Thread Guy Roussin
Hi Przemek, I must then enter the reset command (in bash) to find the originals terminal settings (black on white background) Is there possibility to correct or bypass this problem? AFAIK you are using older GTTRM code because current one restores default terminal color on exit. Thank

[Harbour] terminal settings with gttrm

2009-07-28 Thread Guy Roussin
originals terminal settings (black on white background) Is there possibility to correct or bypass this problem? Thank you. -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] error compiling harbour today svn 11572

2009-06-30 Thread Guy Roussin
Hi, $ svn update À la révision 11572. $ sh make_gnu.sh make (...) make[3]: entrant dans le répertoire « /usr/local/src/harbour/source/rdd/linux/gcc » gcc -I. -I../../../../include -Wall -W -O3 -c ../../dbcmd.c -odbcmd.o gcc -I. -I../../../../include -Wall -W -O3 -c ../../dbcmd53.c -odbcmd53.o g

Re: [Harbour] Error compilin demoqt in linux

2009-06-29 Thread Guy Roussin
Hi, Rebuild Harbour with export HB_USER_CFLAGS=-g or: export HB_BUILD_DEBUG=yes then create final binaries without striping debug information hbmk2 -nostrip ... tst.prg and run them using valgrind: exec valgrind --tool=memcheck --leak-check=yes --num-callers=32 -v ./tst \ 2> e

Re: [Harbour] Error compilin demoqt in linux

2009-06-29 Thread Guy Roussin
Hi Viktor there are the same (ubuntu 9.04) I try with gdb, there are output regards Davor s...@siki:~/clipp/harbour/contrib/hbqt/tests$ hbmk2 -debug demoqt.prg hbmk: Processing local make script: hbmk.hbm hbmk: Processing configuration: /usr/bin/hbmk.cfg hbmk: Processing: hbqt.hbc Harbour 2

Re: [Harbour] SF.net SVN: harbour-project:[11512] trunk/harbour

2009-06-24 Thread Guy Roussin
Hi Pritpal, Note that i already reported this bug : Subject : Segmentation fault with hbqt date : 21.06.2009 11:01 Regards, Guy Roussin Pritpal Bedi a écrit : Hi Lorenzo Lorenzo Fiorini-2 wrote: #25 0x08090e9b in HB_FUN_QT_QAPPLICATION_EXEC () #26 0x0814199a in hb_vmProc () #27

[Harbour] Segmentation fault with hbqt

2009-06-21 Thread Guy Roussin
ch () from /usr/lib/libglib-2.0.so.0 #17 0xb5a27d73 in ?? () from /usr/lib/libglib-2.0.so.0 #18 0x084c88f8 in ?? () #19 0x0000 in ?? () (gdb) Regards, -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-20 Thread Guy Roussin
Hi Viktor, Can you post your -trace hbmk2 output? Notice that now, (because i use HBHB_USER_CFLAGS="-fPIC" to compile harbour mips(el)), i get 2 "-fPIC" in hbmk2 trace: g...@cobalt:~$ hbmk2 -trace t hbmk: Processing configuration: /usr/local/bin/hbmk.cfg hbmk: Harbou

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-19 Thread Guy Roussin
Hi Viktor and Przemyslaw, Probably there is sth wrong with shared library. Try to check if valid harbour.so is used by: ldd ./t $ ldd ./t libharbour.so => /usr/local/lib/harbour/libharbour.so (0x2aadc000) libc.so.6 => /lib/libc.so.6 (0x2af44000) libm.so.6 => /lib/libm.so.6 (0x2b0bc000) libdl.so

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-19 Thread Guy Roussin
Hi Przemyslaw, All is fine *except one point* : When i run apps dynamic link on mips(el) i get a segmentation fault : g...@cobalt:~$ hbmk2 t hbmk: Processing configuration: /usr/local/bin/hbmk.cfg Harbour 2.0.0beta1 (Rev. 11424) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compi

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-19 Thread Guy Roussin
Hi Przemyslaw, I apply your patch in config/linux/gcc.cf with this exports : export HB_CCPREFIX="mipsel-linux-gnu-" export HB_BIN_COMPILE="/usr/local/bin" export HB_PPGEN_PATH="/usr/local/bin" export HB_WITHOUT_GTCRS="yes" export HB_WITHOUT_ODBC="yes" export HB_WITHOUT_X11="yes" export HB_WITH

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-19 Thread Guy Roussin
at AR macro in gcc.cf: AR = ${HB_CCPREFIX}ar And set HB_CCPREFIX accordingly: export HB_CCPREFIX=mipsel-linux-gnu- This envvar should also make hbmk2 work. Can you try? In case we made these work, we can probably add a new target called linux/gccmips (with .cf and full hbmk2 support). Brgds,

Re: [Harbour] cross compile harbour for linux mipsel

2009-06-19 Thread Guy Roussin
Hi, I manage to cross compile harbour for mips(el). Perhaps this would be usefull for someone ... I think you can replace mipsel with your target architecture (arm, ...) $ pwd /usr/local/src/harbour $ svn update At revision 11424. $ cp config/linux/gcc.cf config/linux/mipsel-linux-gnu-gcc.cf $

[Harbour] cross compile harbour for linux mipsel

2009-06-18 Thread Guy Roussin
MIPS-I version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, with unknown capability 0xf41 = 0x756e6700, not stripped How can i say in the build process to use x86 hbpp (in /usr/local/bin/hbpp) ? Thank you. -- Guy Roussin _

[Harbour] hbqt in linux

2009-06-15 Thread Guy Roussin
Hi, I try hbqt and i works fine, only a warning : $ ./demoqt Object::connect: No such signal QTreeView::hovered() in ../../hbqt_slots.cpp:405 Object::connect: No such signal QListView::hovered() in ../../hbqt_slots.cpp:405 This is on an unstable distrib with qt 4.5.1. But i can't use it with

Re: [Harbour] hbmk2: include and lib locations

2009-06-12 Thread Guy Roussin
Hi Viktor Can you retry both methods after r11317 ? Works fine now with r11317. Thank you. Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] hbmk2: include and lib locations

2009-06-12 Thread Guy Roussin
Hi Viktor Could you check if the file is there? yes, the file is there. If it is, maybe the check is wrong, in this case I'd like to ask you to do a little tracing around that point to print the filename in line #1009. Maybe it's wrong. i think i found the problem. I need to unset HB_IN

[Harbour] hbmk2: include and lib locations

2009-06-12 Thread Guy Roussin
Hi Viktor, hbmk2 work fine when i create debian harbour package. But if i build/install harbour with : export HB_INSTALL_PREFIX=/usr/local ./make_gnu.sh install I get this : $ which hbmk2 /usr/local/bin/hbmk2 $ hbmk2 hello hbmk: Processing configuration: /usr/local/bin/hbmk.cfg Harbour 2.0.0

Re: [Harbour] Some suggestions

2009-06-11 Thread Guy Roussin
Hi, 2) On my distro (debian stable) i have libqt v4.4. This is not enought for hbqt. So the builded package is broken. Perhaps, in mpkg_deb.sh we can test version of libqt4 ? $ dpkg -l libqt4-dev | grep "^ii" ii libqt4-dev 4.4.3-1

Re: [Harbour] Some suggestions

2009-06-11 Thread Guy Roussin
Hi, 2) On my distro (debian stable) i have libqt v4.4. This is not enought for hbqt. So the builded package is broken. Perhaps, in mpkg_deb.sh we can test version of libqt4 ? $ dpkg -l libqt4-dev | grep "^ii" ii libqt4-dev 4.4.3-1

Re: [Harbour] Some suggestions

2009-06-10 Thread Guy Roussin
Viktor Szakáts a écrit : Does it look any good if add a new entry with header: harbour (2.0.0beta1-2) unstable; urgency=low ? yes, but you need to create an entry *exactly* like the others. Be carefull with date format, empty lines, ... There is a debian command (dch -i "2.0.0beta1-1") to make

Re: [Harbour] Some suggestions

2009-06-10 Thread Guy Roussin
Viktor Szakáts a écrit : 3) We need to increment harbour version in debian/changelog Is there a way to signal beta status? If there is pls tell how, if there isn't I think we should only increase it on final release just like we did in 1.0.x. There is no beta status for debian package. RC ou

Re: [Harbour] Re: dbu

2009-06-10 Thread Guy Roussin
lol reformat is Alexander code ;-) Guy For reformat i suggest you harbour utility hbformat made by same expertise as hbmk2 creator (Viktor) : professional software easy to use and with powerful result 2009/6/10 Alexander S.Kresin : Many thanks for this offer, we can for sure place it insid

[Harbour] Some suggestions

2009-06-10 Thread Guy Roussin
Hi, 1) I suggest a REQUEST HB_GT_CGI_DEFAULT in hbformat.prg for linux users ... 2) On my distro (debian stable) i have libqt v4.4. This is not enought for hbqt. So the builded package is broken. Perhaps, in mpkg_deb.sh we can test version of libqt4 ? $ dpkg -l libqt4-dev | grep "^ii" ii libqt4

Re: [Harbour] Re: dbu

2009-06-10 Thread Guy Roussin
Hi, Maybe we can include another dbu clone, Alexander's dbc come in mind (Hello Alex :-)) I'm ready to provide dbc sources under common Harbour license. Thank you Alexander, this is a great news. This kind of utility is really missing in harbour package ... -- Guy ___

Re: [Harbour] hb_asize()

2009-06-09 Thread Guy Roussin
Thank you Przemyslaw and Mindaugas for the quick answer, I found afill() not very intuitive. But as you said i can use aeval ... Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] hb_asize()

2009-06-09 Thread Guy Roussin
Hello, I suppose this is not a bug but a pointer behavior. I try to create a 2D array and this is what i get : #!/usr/bin/hbrun function main() local aArray:={} asize(aArray,20) afill(aArray,{}) aeval(aArray,{|x|asize(x,5)}) aArray[5,2]:="test" ? aArray[4,2] // test ! return (NIL) I'll fou

Re: [Harbour] Ubuntu adventure

2009-06-02 Thread Guy Roussin
Hi, Here the way i compile and install harbour (as user and not root !): perhaps you need to install fakeroot and some others packages $ cd $ svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour $ cd harbour $ fakeroot sh mpkg_deb.sh $ sudo dpkg -i ../harb

[Harbour] Little error et xml parser

2009-05-18 Thread Guy Roussin
Hi, 1. I notice this error when i run prg with hbrun : $ ./td.prg ( or$ hbrun td.prg ) Error BASE/6101 Unknown or unregistered symbol: HB_GT_CGI_DEFAULT (Quit) Error BASE/6101 Unknown or unregistered symbol: HB_GT_CGI_DEFAULT Called from HB_HRBRUN(0) ( I know that i can m

Re: [Harbour] hbmk2 error in gcc parameters for linux

2009-04-19 Thread Guy Roussin
think that, by default, all .hbp files in the current directory were processed. Best regards, -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] hbmk2 error in gcc parameters for linux

2009-04-19 Thread Guy Roussin
Hi Viktor, I think i found an error in hbmk2 for linux $ hbmk2 t2 hbmk: Processing configuration: /usr/bin/hbmk.cfg hbmk: Processing: ginfo.hbp Harbour 1.1.0dev (Rev. 10887) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 't2.prg'... Lines 4, Functions/Procedures 1 Generating

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-08 Thread Guy Roussin
Perhaps you can add a line for "-traceonly" option in "hbmk2 -help" I found the name "-traceonly" not very accurate because we need "-quiet" to have *only* trace ... Perhaps, the name "-trace" is better or, another option is to automatically activate "-quiet" when we use "-traceonly" Sorry,

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-08 Thread Guy Roussin
Hi Viktor, Fine here with svn 10815 Perhaps you can add a line for "-traceonly" option in "hbmk2 -help" I found the name "-traceonly" not very accurate because we need "-quiet" to have *only* trace ... Perhaps, the name "-trace" is better or, another option is to automatically activate "-quiet

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-07 Thread Guy Roussin
Hi Viktor, Thank Viktor for your effort to fix this problem. Thanks Guy, the libdirs are still wrong, could you post your -trace -info output? (-info is the important bit here) $ hbmk2 -trace -info t hbmk: Autodetected architecture: linux hbmk: Autodetected compiler: gcc hbmk: Using Harbour

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-07 Thread Guy Roussin
Hi Viktor, So i can cut and paste or edit and run to make some tests ... very usefull For example, now i can fix the -llibharbour => -lharbour ;-) I've fixed that, and the problem wasn't exactly that. See ChangeLog. Pls tell if it still doesn't work. The problem is still here. Exa

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-06 Thread Guy Roussin
Hi Viktor, - Is-it possible to run hbmk2 *without executing anything*, only displaying the command lines ? See it committed. Thank you Viktor to consider this feature. $ hbmk2 -traceonly t hbmk: Processing configuration: /usr/bin/hbmk.cfg hbmk: Harbour compiler command: -n2 t -i/usr

Re: [Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-06 Thread Guy Roussin
Sorry a line is missing : --- $ fakeroot sh mpkg_deb.sh $ sudo dpkg -i ../harbour_1.*.deb To test it type: $ echo '? "Hello world!"' > hello.prg $ hbmk2 hello $ ./hello You should see 'Hello world!' on screen. Guy ___ Harbour mailing li

[Harbour] hbmk2: little bug and ask for a new feature ...

2009-04-05 Thread Guy Roussin
Hi, - I notice a little bug with hbmk2 (debian lenny 5.0 - harbour svn 10781): $ echo '? "hello"' > t.prg $ hbmk2 t hbmk: Processing configuration: /usr/bin/hbmk.cfg Harbour 1.1.0dev (Rev. 10781) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 't.prg'... Lines 1, Functions/Pro

Re: [Harbour] time in seconds since 1970

2009-03-28 Thread Guy Roussin
Thank you very much Przemek, Now i understand. Very good example. Note that i'm looking for this function to "simulate" the time() function of php ... http://www.w3schools.com/php/func_date_time.asp Best regards, Guy Przemyslaw Czerpak a écrit : On Sat, 28 Mar 2009, Guy Roussi

Re: [Harbour] time in seconds since 1970

2009-03-28 Thread Guy Roussin
Hi Przemek, Why i get this : ? hb_ntot( HB_MILLISECONDS() ) 00/00/00 00:00:00.000 Best regards, Guy Przemyslaw Czerpak a écrit : On Fri, 27 Mar 2009, Guy Roussin wrote: Thank you for the quick reply. But i think that -t"1970-01-01" is not "00:00 GMT" but "0

Re: [Harbour] time in seconds since 1970

2009-03-27 Thread Guy Roussin
Hi Przemek, Thank you for the quick reply. But i think that -t"1970-01-01" is not "00:00 GMT" but "00:00 local time" isn't it ? So this is not exactly the result i expect ... It doesn't matter. t"1970-01-01" is some timestamp constant value. Important is base value only. Number of millis

Re: [Harbour] time in seconds since 1970

2009-03-27 Thread Guy Roussin
" ) * ( 24 * 60 * 60 * 1000 ) -- Viktor On Fri, Mar 27, 2009 at 7:09 PM, Guy Roussin mailto:guy.rous...@teledetection.fr>> wrote: Hi, I try to get the time since 1970/01/01 0:00 GMT in seconds (same as date '+%s') or better in milliseco

[Harbour] time in seconds since 1970

2009-03-27 Thread Guy Roussin
Hi, I try to get the time since 1970/01/01 0:00 GMT in seconds (same as date '+%s') or better in milliseconds with harbour. How can i do that ? Thank you. -- Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org

Re: [Harbour] poccce POLINK: error: Unresolved external symbol 'modfl'.

2009-03-04 Thread Guy Roussin
REFIX=C:\hb-poccce HB_LIB_INSTALL=C:\hb-poccce\lib -- Path=C:\devl\make-3.81;c:\progra~1\PellesC\bin INCLUDE=c:\progra~1\PellesC\include\wince;c:\progra~1\PellesC\include; LIB=c:\progra~1\PellesC\lib;c:\progra~1\PellesC\lib\wince;c:\progra~1\PellesC\include\wince;c:\progra~1\PellesC\inclu

Re: [Harbour] Harbour under ubuntu

2009-02-25 Thread Guy Roussin
Hi, Wich is best way for learn about linux? I'm not a ubuntu user but i found this : http://ubuntuguide.org/wiki/Ubuntu:Intrepid Seems fine to install ubuntu ... but i think you can read also debian reference http://www.debian.org/doc/user-manuals.en.html (debian is very similar to ubuntu) a

Re: [Harbour] Harbour under ubuntu

2009-02-25 Thread Guy Roussin
Massimo Belgrano a écrit : Thanks for your support Here my redirection vmpla...@ubuntu-vm:~$ cd $home vmpla...@ubuntu-vm:~$ ls -la src total 6296 drwxr-xr-x 3 root root4096 2009-02-22 12:06 . drwxr-xr-x 34 vmplanet vmplanet4096 2009-02-25 03:19 .. drwxr-xr-x 14 root root

[Harbour] Compiling harbour under windows with gcc

2009-02-25 Thread Guy Roussin
Hi, How to compile harbour under windows using gcc ? (i don't want to use non free / non open source compiler) I already try with cygwin without success. Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailma

Re: [Harbour] Compiling harbour under cygwin

2009-02-24 Thread Guy Roussin
Viktor Szakáts a écrit : Hi Guy, $ ./make_gcc.sh make_gcc.mak:331: attention : écrasement des commandes pour la cible « lib/gcc/libhbmainstd.a » make_gcc.mak:309: attention : anciennes commandes ignorées pour la cible « lib/gcc/libhbmainstd.a » Sorry, my French is very r

[Harbour] Compiling harbour under cygwin

2009-02-24 Thread Guy Roussin
Hi, I try to compile harbour under cygwin for a friend. But i get an error : $ ./make_gcc.sh make_gcc.mak:331: attention : écrasement des commandes pour la cible « lib/gcc/libhbmainstd.a » make_gcc.mak:309: attention : anciennes commandes ignorées pour la cible « lib/gcc/libhbmainstd.a » gcc -

Re: [Harbour] Harbour under ubuntu

2009-02-24 Thread Guy Roussin
t operation but the result are the same Must i try something like follow row? fakeroot sh mpkg_deb.sh exit 2009/2/24 Guy Roussin : Hi Massimo, Be sure to log (X, gdm) as *user* and then open a new terminal (console) http://wiki.debian.org/FakeRoot (see Error messages) Guy Massimo B

Re: [Harbour] Harbour under ubuntu

2009-02-24 Thread Guy Roussin
Hi Massimo, Be sure to log (X, gdm) as *user* and then open a new terminal (console) http://wiki.debian.org/FakeRoot (see Error messages) Guy Massimo Belgrano a écrit : Ops sorry during prev test i switched to root (i think that root user will do every command like administrator unhappy to s

Re: [Harbour] Harbour under ubuntu

2009-02-23 Thread Guy Roussin
Massimo, I think your message is not related to the fakeroot Or perhaps you run fakeroot as root ??? You don't need fakeroot, if you compile harbour as root .. guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/m

Re: [Harbour] Harbour under ubuntu

2009-02-23 Thread Guy Roussin
Belgrano a écrit : cd $home cd src cd harbour fakeroot sh mpkg_deb.sh fakerootkey set to 1787254769 nested operation not yet supported 2009/2/23 Guy Roussin : Hi Massimo, no more make_deb.sh in svn now, you must use mpkg_deb.sh instead for example, i use : $ fakeroot sh mpkg_deb.sh Guy

Re: [Harbour] SF.net SVN: harbour-project:[10419] trunk/harbour

2009-02-23 Thread Guy Roussin
Hi, Revision: 10419 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=10419&view=rev Author: vszakats Date: 2009-02-23 21:19:25 + (Mon, 23 Feb 2009) Log Message: --- 2009-02-23 22:17 UTC+0100 Viktor Szakats (harbour.01 syenar hu) * utils/hbmk2/hbmk2.

Re: [Harbour] Harbour under ubuntu

2009-02-23 Thread Guy Roussin
Hi Massimo, no more make_deb.sh in svn now, you must use mpkg_deb.sh instead for example, i use : $ fakeroot sh mpkg_deb.sh Guy Massimo Belgrano a écrit : cd $home cd src cd harbour ./make_deb.sh bash:./make_deb.sh: no such file svn have reported checked out revisione 10418 2009/2/22 Guy

Re: [Harbour] SF.net SVN: harbour-project:[10411] trunk/harbour

2009-02-23 Thread Guy Roussin
was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour -- Guy Rou

Re: [Harbour] Harbour under ubuntu

2009-02-22 Thread Guy Roussin
Hi, cd $HOME mkdir src cd src svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour harbour cd harbour ./make_deb.sh sudo dpkg -i harbour 1.0.0-1_i386.deb For me, svn produce harbour_1.0.1-1_i386.deb and not harbour 1.0.0-1_i386.deb ... Guy __

Re: [Harbour] Can't use hbmk ...

2009-02-22 Thread Guy Roussin
Hi Viktor, I have an idea, but I'd like to check it first locally. Note that i try to add -gtcgi but i can't see -lgtcgi in link command and i get the same error. Yes, this is normal, as gtcgi lib is already present in the shared lib. Thank you, works fine now: i can compile :-)

Re: [Harbour] Can't use hbmk ...

2009-02-22 Thread Guy Roussin
Thank you Viktor, Now i get this error, i suppose it is related to gt : $ echo '? "hello"' > tst.prg $ hbmk2 -n- tst Harbour 1.1.0dev (Rev. 10401) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'tst.prg'... Lines 1, Functions/Procedures 1 Generating C source output to 'tst.c

Re: [Harbour] Can't use hbmk ...

2009-02-21 Thread Guy Roussin
Hi Viktor, Some more test of hbmk2 with debian 5.0 and current svn $ hbmk2 round Harbour 1.1.0dev (Rev. 10391) Copyright (c) 1999-2009, http://www.harbour-project.org/ Compiling 'round.prg'... Lines 25, Functions/Procedures 1 Generating C source output to 'round.c'... Done. /usr/bin/ld: cannot f

Re: [Harbour] Can't use hbmk ...

2009-02-17 Thread Guy Roussin
Guy Roussin a écrit : Hi, I create a new deb package with current svn. But the package don't include the new hbmk command (from utils). In the package hbmk is always a link to hb-build. Thanks. Now i can use hbmk2 :-) But i get this error : $ hbmk2 hbpgsql.hbp Harbour Make 1.1.0dev

[Harbour] Can't use hbmk ...

2009-02-17 Thread Guy Roussin
Hi, I create a new deb package with current svn. But the package don't include the new hbmk command (from utils). In the package hbmk is always a link to hb-build. Thanks. -- Guy ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbo

[Harbour] Can't create a correct debian package

2009-02-01 Thread Guy Roussin
Hello, There is a problem when i try to create a debian package (debian sid x86) with current svn. With this patch i can create successfully the package. $ diff -uNr harbour.orig/debian/rules harbour/debian/rules --- harbour.orig/debian/rules2009-02-01 10:22:29.0 +0100 +++ harbour/d

[Harbour] Compilation error

2009-01-31 Thread Guy Roussin
Hello, Today i get this error compiling harbour on debian sid (x86) : $ svn co https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour harbour $ cd harbour $ fakeroot sh mpkg_deb.sh [...] make[3]: entrant dans le répertoire « /usr/local/src/harbour/contrib/hbfimag

[Harbour] Little bug with first line options ...

2008-11-14 Thread Guy Roussin
Hi, I add this line on top of my PRG : #/usr/bin/hbrun //gtcgi I notice that the option //gtcgi is not activated if the prg file is a DOS file (CRLF) but works fine if the file is saved as a UNIX file ... Thank you, Guy ___ Harbour mailing list Harb

[Harbour] Including makefile in prg

2008-08-05 Thread Guy Roussin
Hi, I wrote only little apps (scripts) with harbour. Now i put these lines on top of my prg : - #ifdef SH_COMPILATION /* sh compilation : hbmk -n -p -gtcgi -gtstd -gtpca -gttrm -gtxwc -L/usr/lib/mysql -lmysqlclient $0 nameprg="$0" shift ./${nameprg%.*} "$*" exit */ #endif ---

Re: [Harbour] 2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-28 Thread Guy Roussin
rrors and no (critical, grave or seriuos) bugs the package went in testing (lenny). And stable after the freezing of testing (dec 2008 ?) Now we need a debian maintainer ... Guy Przemyslaw Czerpak a écrit : On Mon, 28 Jul 2008, Guy Roussin wrote: Hi Guy, This little patch for debian final re

Re: [Harbour] 2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-28 Thread Guy Roussin
This little patch for debian final release ... Guy Szakáts Viktor a écrit : 2008-07-28 15:07 UTC+0200 Viktor Szakats (harbour.01 syenar hu) * harbour-ce-spec * harbour-w32-spec * include/hbver.h * harbour.spec * Removed 'rc2' tag in preparation for final release. * doc/whats

Re: [Harbour] Q: Ubuntu 8.04.1, make_deb.sh, gttrm and mouse detection

2008-07-06 Thread Guy Roussin
Hi Viktor, Note the grep '^ii' in : dpkg -l "$1" 2> /dev/null | grep '^ii' &> /dev/null So i think the answer to test_reqpkg is false in your case Recent distribution like debian sid and i suppose ubuntu 8.04 use libgpm-dev instead of libgpmg1-dev (note that in debian sid package libgpmg1-dev

Re: [Harbour] 2008-06-27 12:51 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-06-27 Thread Guy Roussin
Thank you Viktor, good fix. It works for me. Now i get this error for some prg from contrib/hbgf/tests : Harbour 1.0.0RC1 Intl. (Rev. 8838) Copyright (c) 1999-2008, http://www.harbour-project.org/ Compiling 'form3.prg'... Lines 836, Functions/Procedures 3 Generating C source output to 'form3.c'..

Re: [Harbour] Re: hbgfgtk errors ...

2008-06-27 Thread Guy Roussin
line ... I suggest the change because hbgfgtk is an old developpement (2001 ?) with gtk+ and not gtk+2.0. Guy Szakáts Viktor a écrit : Hi folks, Isn't it better to remove this call? Or guard it with an #ifdef? If the latter, what #ifdef is need? Brgds, Viktor On 2008.06.27., at 11:15, G

Re: [Harbour] Re: hbgfgtk errors ...

2008-06-27 Thread Guy Roussin
Hi, The gtk_menu_bar_set_shadow_type is deprecated in gtk+2.0, it's only available in version 1. Thank you Rodrigo. So i suggest to change : C_USR += `pkg-config --cflags gtk+-2.0` with C_USR += `pkg-config --cflags gtk+` in harbour/contrib/hbgf/hbgfgtk/Makefile Guy

[Harbour] hbgfgtk errors ...

2008-06-26 Thread Guy Roussin
form.c'... Done. /usr/lib/harbour/libhbgfgtk.a(creamenu.o): In function `HB_FUN_HB_GTKCREATEMENUBAR': (.text+0x5e): undefined reference to `gtk_menu_bar_set_shadow_type' collect2: ld returned 1 exit status -- Guy Roussin ___ Harbou

Re: [Harbour] Error when compiling contrib/hbgf

2008-06-26 Thread Guy Roussin
Sorry, fixed with the last commit of Przemek (i don't read my email before posting) Guy I add this line before the endif in contrib/hbgf/hbgfgtk/Makefile to compile hbgf with linux debian CFLAGS := `pkg-config --cflags --libs gtk+-2.0` But i still have an error : make[3]: entrant dans le répe

[Harbour] Error when compiling contrib/hbgf

2008-06-26 Thread Guy Roussin
/contrib/hbgf » Thanks, -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] TMYSQLSERVER error ...

2008-06-24 Thread Guy Roussin
Hi, I get this error with current harbour svn. Error BASE/1070 Argument error: == (Quit) Error BASE/1070 Argument error: == Called from TMYSQLSERVER:NEW(1376) Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour

[Harbour] Incrementing debian version of harbour

2008-06-05 Thread Guy Roussin
n 2008 15:05:20 +0200 --- :< --- Thank you, -- Guy Roussin ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

Re: [Harbour] little fix and improve of make_deb.sh

2008-06-03 Thread Guy Roussin
Hi, Again a little fix, the line : if [ -z "$HB_WITHOUT_GTSLN" ] && test_reqpkg libslang2-dev can be replace by : if [ -z "$HB_WITHOUT_GTSLN" ] && ! test_reqpkg libslang2-dev Guy Guy Roussin a écrit : Hi, Here is a little patch to fix and improve

[Harbour] little fix and improve of make_deb.sh

2008-06-03 Thread Guy Roussin
you found it usefull. -- Guy Roussin make_deb.diff Description: patch ___ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

  1   2   >