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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
" ) * ( 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
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
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
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
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
___
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
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
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
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
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
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
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
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
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
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
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
_
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
$
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,
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 :-)
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
__
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
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
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.
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
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
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
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
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 -
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
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
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
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
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
Hi,
export HB_CONTRIBLIBS=hbpgsql
./make_gnu.sh
Guy
elart a écrit :
I'm interested of contrib/hbpgsql contents but i can't figure howto
make and test them under Linux
Into the .../contrib/ dir i see the make_b32_all.bat and the
make_vc_all.bat
i hope i can manually make something withou
Hi,
I want to build hbpgsql lib on my debian etch.
I only need to install libpq-dev package and make
a little patch to harbour/contrib/hbpgsql/Makefile
Can you apply it ?
Thank you.
--
Guy Roussin
http://www.teledetection.fr
--- Makefile.orig 2007-12-15 12:47:37.0 +0100
+++ Makefile
I think "ace.h" is removed from svn ... perhaps a licence problem ?
Guy
Guillermo Varona Silupú a écrit :
[SPA]
Hola, he actualizado al ultimo SVN de Harbour, y cuando genero el
compilador mediante make_gnu.bat (uso WinXP SP2+MinGW), obtengo una
lista bastante larga de errores al momento de ge
Hi,
Przemyslaw Czerpak a écrit :
On Sat, 15 Dec 2007, Guy Roussin wrote:
Hi,
I want to build hbpgsql lib on my debian etch.
I only need to install libpq-dev package and make
a little patch to harbour/contrib/hbpgsql/Makefile
Can you apply it ?
Yes, please.
The patch was in my previous
Luis Mayoral is the maintainer of the debian package, but i can't
see any update since 2004.
Sorry, there is an update from Clint Adams, 18 May 2006
Guy
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/list
Hi,
We already have it.
I didn't even think to look at !
Great :-)
After this, the file make_deb.sh become a very short script with lines
like these:
"debian/rules binary"
"debian/rules clean"
"debian/rules build"
And in practice it is sth like that.
make_deb.sh simply pack current source c
Hi,
With this code :
#!/usr/local/bin/hbrun
proc main()
? 1234567890123456789
? 12345678901234567890
return
i get these results (linux debian):
1234567890123456789
1234567890123457
strange no ?
Guy
David Arturo Macias Corona a écrit :
> When HB_LONG_LONG_OFF was set then in nearly all
Hi,
I create a little class to access big text files with very long lines.
So, after parsing the file, i can get very quickly a line in the text file.
Now, i want to fclose() the text file when the object is destroyed.
How can i do this with harbour ?
--
Guy Roussin
#!/usr/bin/hbrun
#include
Przemyslaw Czerpak a écrit :
On Mon, 31 Mar 2008, Alex Strickland wrote:
Now, i want to fclose() the text file when the object is destroyed.
How can i do this with harbour ?
I do not think there are destructors in Harbour, call an exit/close
method.
They do exist in xHarbour.
You are wrong.
some demos versions ...
Thank you,
--
Guy Roussin
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
make_deb.sh :
if test_reqpkg libmysqlclient15-dev
then
HB_CONTRIBLIBS="${HB_CONTRIBLIBS} hbmysql"
fi
Thank you,
--
Guy Roussin
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour
bout found problems
to this list.
All is fine, thank you. I compile package and use harbour on debian
etch and debian sid. I get only errors when compiling rddads. I
suppose "ace.h" and so are not free enough to be in debian ...
Thank you
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
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
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
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
1 - 100 of 112 matches
Mail list logo