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

2009-11-28 Thread elart

Hi all,
today compiling alter a make clean on Ubuntu 9.10 from rev. 13049 and 
some previous svn revision i get this error, thank you and best regards, 
Marco:


gcc  -I. -I../../../../../include -Wall -W -O3   -ospd.o -c ../../../spd.c
../../../spd.c:387:61: warning: /* within comment
../../../spd.c: In function ‘HB_FUN_SQL_SPRINTF’:
../../../spd.c:373: warning: unused variable ‘cDTFrm’
../../../spd.c:373: warning: unused variable ‘cDTBuf’
../../../spd.c:388: error: ‘cDTFrm’ undeclared (first use in this function)
../../../spd.c:388: error: (Each undeclared identifier is reported only once
../../../spd.c:388: error: for each function it appears in.)
../../../spd.c:392: error: ‘else’ without a previous ‘if’
../../../spd.c:393: error: expected expression before ‘/’ token
../../../spd.c:407: error: ‘else’ without a previous ‘if’
../../../spd.c:407: error: ‘pItmPar’ undeclared (first use in this function)
../../../spd.c:409: error: ‘s’ undeclared (first use in this function)
../../../spd.c:410: error: ‘f’ undeclared (first use in this function)
../../../spd.c:410: error: ‘cIntMod’ undeclared (first use in this function)
../../../spd.c:413: error: ‘iCOut’ undeclared (first use in this function)
../../../spd.c:414: error: ‘pItmCpy’ undeclared (first use in this function)
../../../spd.c:417: error: ‘i’ undeclared (first use in this function)
../../../spd.c:417: error: ‘ulWidth’ undeclared (first use in this function)
../../../spd.c:417: error: ‘ulMaxBuf’ undeclared (first use in this 
function)

../../../spd.c:419: error: ‘cBuffer’ undeclared (first use in this function)
../../../spd.c:421: error: ‘cParFrm’ undeclared (first use in this function)
../../../spd.c:421: error: ‘IsIndW’ undeclared (first use in this function)
../../../spd.c:421: error: ‘iIndWidth’ undeclared (first use in this 
function)

../../../spd.c:421: error: ‘IsIndP’ undeclared (first use in this function)
../../../spd.c:421: error: ‘iIndPrec’ undeclared (first use in this 
function)
../../../spd.c:439: error: ‘iErrorPar’ undeclared (first use in this 
function)

../../../spd.c:439: error: ‘p’ undeclared (first use in this function)
../../../spd.c:439: error: break statement not within loop or switch
../../../spd.c:450: error: break statement not within loop or switch
../../../spd.c: At top level:
../../../spd.c:454: error: expected identifier or ‘(’ before ‘if’
../../../spd.c:458: error: expected ‘)’ before ‘+’ token
../../../spd.c:458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or 
‘__attribute__’ before ‘+=’ token

../../../spd.c:460: error: expected identifier or ‘(’ before ‘if’
../../../spd.c:463: error: expected identifier or ‘(’ before ‘}’ token
../../../spd.c:464: error: expected identifier or ‘(’ before ‘if’
../../../spd.c:465: warning: data definition has no type or storage class
../../../spd.c:465: warning: type defaults to ‘int’ in declaration of 
‘hb_xfree’
../../../spd.c:465: warning: parameter names (without types) in function 
declaration

../../../spd.c:465: error: conflicting types for ‘hb_xfree’
../../../../../include/hbapi.h:491: note: previous declaration of 
‘hb_xfree’ was here

../../../spd.c:465: warning: data definition has no type or storage class
../../../spd.c:465: warning: type defaults to ‘int’ in declaration of 
‘hb_xfree’
../../../spd.c:465: warning: parameter names (without types) in function 
declaration

../../../spd.c:465: error: conflicting types for ‘hb_xfree’
../../../../../include/hbapi.h:491: note: previous declaration of 
‘hb_xfree’ was here

../../../spd.c:466: error: expected identifier or ‘(’ before ‘if’
../../../spd.c:473: error: expected identifier or ‘(’ before ‘else’
../../../spd.c:476: error: expected identifier or ‘(’ before ‘}’ token
../../../spd.c:477: error: expected identifier or ‘(’ before ‘}’ token
make[3]: *** [spd.o] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [hbmisc] Error 2
make: *** [contrib] Error 2

___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Cannot compile hbide: harbour-project:[12935] trunk/harbour

2009-11-19 Thread elart

Hi all, on Ubuntu 9.10 32 bit, i still get this error on compile
.../contrib/hbide:

ubu...@ubuntu-desktop:~/src/harbour/contrib/hbide$ hbmk2 hbide.prg
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12933)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'hbide.prg'...
hbide.prg(331) Warning W0001  Ambiguous reference 'QTEXTEDIT_NOWRAP'
500
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(/usr/bin/harbour) -n2 hbide.prg -w3 -es2 -i/usr/include -i../hbxbp
-i../hbqt


i have already reported this error
http://article.gmane.org/gmane.comp.lang.harbour.devel/21923

you answer me:

You forgot to do 'make install' while you have an old version of hbqt
header in your main include dir... here:
http://article.gmane.org/gmane.comp.lang.harbour.devel/21927

I always do make install... and  here the result of:

ls -la /usr/include/hbqt*
-rw-r--r-- 1 root root 193427 2009-11-19 09:59 /usr/include/hbqt.ch

locate


My installed libqt:

libqt3-compat-headers
libqt3-headers
libqt3-mt
libqt3-mt-dev
libqt4-assistant
libqt4-dbus
libqt4-designer
libqt4-dev
libqt4-gui
libqt4-help
libqt4-network
libqt4-opengl
libqt4-opengl-dev
libqt4-phonon
libqt4-qt3support
libqt4-script
libqt4-scripttools
libqt4-sql
libqt4-sql-mysql
libqt4-sql-sqlite
libqt4-svg
libqt4-test
libqt4-webkit
libqt4-xml
libqt4-xmlpatterns
libqtcore4
libqtgui4
libqtscript4-core
libqtscript4-gui
libqtscript4-network
libqtscript4-sql
libqtscript4-uitools
libqtscript4-xml

Thank you and best regards

Marco
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Cannot compile hbide: harbour-project:[12935] trunk/harbour

2009-11-19 Thread elart

Hi all, still getting error on compiling .../contrib/hbide on Ubuntu 9.10
32 bit

Already asked http://article.gmane.org/gmane.comp.lang.harbour.devel/21923

and answered http://article.gmane.org/gmane.comp.lang.harbour.devel/21927

Here installed hbqt.ch

ls -la /usr/include/hbqt.ch
-rw-r--r-- 1 root root 193427 2009-11-19 09:59 /usr/include/hbqt.ch

I still have this error...

ubu...@ubuntu-desktop:~/src/harbour/contrib/hbide$ hbmk2 hbide.prg

hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12933)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'hbide.prg'...
hbide.prg(331) Warning W0001  Ambiguous reference 'QTEXTEDIT_NOWRAP'
500
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(/usr/bin/harbour) -n2 hbide.prg -w3 -es2 -i/usr/include -i../hbxbp
-i../hbqt


My related qt installed packages:

libqt3-compat-headers
libqt3-headers
libqt3-mt
libqt3-mt-dev
libqt4-assistant
libqt4-dbus
libqt4-designer
libqt4-dev
libqt4-gui
libqt4-help
libqt4-network
libqt4-opengl
libqt4-opengl-dev
libqt4-phonon
libqt4-qt3support
libqt4-script
libqt4-scripttools
libqt4-sql
libqt4-sql-mysql
libqt4-sql-sqlite
libqt4-svg
libqt4-test
libqt4-webkit
libqt4-xml
libqt4-xmlpatterns
libqtcore4
libqtgui4
libqtscript4-core
libqtscript4-gui
libqtscript4-network
libqtscript4-sql
libqtscript4-uitools
libqtscript4-xml
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-11-18 Thread elart

Hi, all

On Ubuntu 9.10 32 bit compiling:

 hbmk2 hbide.prg
hbmk2: Processing local make script: hbmk.hbm
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12923)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'hbide.prg'...
hbide.prg(315) Warning W0001  Ambiguous reference 'QTEXTEDIT_NOWRAP'
500
No code generated.
hbmk2: Error: Running Harbour compiler (embedded). 1
(/usr/bin/harbour) -n2 hbide.prg -w3 -es2 -i/usr/include -i../hbxbp
-i../hbqt

Thank you to share your works and best regards

Marco
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-11-10 Thread elart

Hi all, i get this error on Ubuntu 9.10 compiling the 12857 revision

...
gcc  -I. -I../../../../../include  -Wall -W -O3   -ocpde850m.o -c
../../../cpde850m.c
../../../cpde850m.c:43: error: stray ‘\32’ in program

make[3]: *** [cpde850m.o] Errore 1


Thank you and best regards

Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-11-10 Thread elart

Hi all, on Ubuntu 9.10 32 bits

Revision: 12858 compile error

../../../../../src/codepage/obj/linux/gcc/cpde850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpde850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpdk865_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpdk865.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpes850c_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpes850c.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpes850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpes850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpfi850_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpfi850.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpfr850_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpfr850.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpfr850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpfr850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpgr437_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpgr437.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpis850_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpis850.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpis861_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpis861.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpit850_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpit850.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpit850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpit850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpnl850_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpnl850.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpnl850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpnl850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpno865_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpno865.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cppt860_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cppt860.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpsv437c_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpsv437c.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first defined here
../../../../../src/codepage/obj/linux/gcc/cpsv850m_dyn.o: In function
`HB_FUN_HB_CODEPAGE_HB_CP_ID':
cpsv850m.c:(.text+0x0): multiple definition of
`HB_FUN_HB_CODEPAGE_HB_CP_ID'
../../../../../src/codepage/obj/linux/gcc/cpde850_dyn.o:cpde850.c:(.text+0x0):
first 

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

2009-10-29 Thread elart

Today compiling from svn...  (Rev. 12784) on Ubuntu 9.10 32 bits i get
this error

gcc  -I. -I../../../../../include  -Wall -W -O3  -I/usr/include/qt4
-I/usr/include/qt4/Qt -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtWebKit  -ohbqt_slots.o
-c ../../../hbqt_slots.cpp
../../../hbqt_slots.cpp: In destructor ‘virtual
HbDbfModel::~HbDbfModel()’:
../../../hbqt_slots.cpp:2020: error: ‘str’ was not declared in this scope
../../../hbqt_slots.cpp:2020: error: ‘OutputDebugString’ was not declared
in this scope
../../../hbqt_slots.cpp: In member function ‘void HbDbfModel::destroy()’:
../../../hbqt_slots.cpp:2203: error: ‘str’ was not declared in this scope
../../../hbqt_slots.cpp:2203: error: ‘OutputDebugString’ was not declared
in this scope
make[3]: *** [hbqt_slots.o] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [hbqt] Errore 2
make: *** [contrib] Errore 2

Best regards
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-10-23 Thread elart

On Ubuntu 9.10 compiling from svn i get this error...

Thank you and best regards.

QtNetwork -I/usr/include/qt4/QtWebKit  -ohbqt_destruct.o -c
../../../hbqt_destruct.cpp
../../../hbqt_destruct.cpp: In function ‘void* hbqt_gcpointer(int)’:
../../../hbqt_destruct.cpp:101: error: cannot convert ‘void (*)(void*)’
to ‘const HB_GC_FUNCS*’ for argument ‘1’ to ‘void* hb_parptrGC(const
HB_GC_FUNCS*, int)’
../../../hbqt_destruct.cpp: In function ‘void* hbqt_ptrTOgcpointer(void*,
void (*)(void*))’:
../../../hbqt_destruct.cpp:115: error: ‘hb_gcAlloc’ was not declared in
this scope
../../../hbqt_destruct.cpp: At global scope:
../../../hbqt_destruct.cpp:121: warning: unused parameter ‘name’
make[3]: *** [hbqt_destruct.o] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [hbqt] Errore 2
make: *** [contrib] Errore 2
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HBQT demoqt

2009-10-16 Thread elart

Hi, all

On Ubuntu Karmic (9.10 devel) trying to run demoqt compile with:

harbour -build
Harbour 2.0.0beta3 (Rev. 12718)
Copyright (c) 1999-2009, http://www.harbour-project.org/

compiling...

hbmk2 -lxhb demoqt.prg

and running...

ubu...@ubuntu-desktop:~/src/harbour/contrib/hbqt/tests$ ./demoqt

i get...

Unrecoverable error 6005: Exception SIGSEGV at address (nil)
Called from QT_QSTYLE_STANDARDICON(0)
Called from (b)QSTYLE(0) in ../../../TQStyle.prg
Called from QWINDOWSXPSTYLE:STANDARDICON(0) in ../../../TQStyle.prg
Called from MAIN(143) in demoqt.prg



Application Internal Error -
/home/ubuntu/src/harbour/contrib/hbqt/tests/demoqt
Terminated at: 2009.10.16 09:05:08
Unrecoverable error 6005: Exception SIGSEGV at address (nil)
Called from QT_QSTYLE_STANDARDICON(0)
Called from (b)QSTYLE(0) in ../../../TQStyle.prg
Called from QWINDOWSXPSTYLE:STANDARDICON(0) in ../../../TQStyle.prg
Called from MAIN(143) in demoqt.prg

Application Internal Error -
/home/ubuntu/src/harbour/contrib/hbqt/tests/demoqt
Terminated at: 2009.10.16 09:05:48
Unrecoverable error 6005: Exception SIGSEGV at address (nil)
Called from QT_QSTYLE_STANDARDICON(0)
Called from (b)QSTYLE(0) in ../../../TQStyle.prg
Called from QWINDOWSXPSTYLE:STANDARDICON(0) in ../../../TQStyle.prg
Called from MAIN(143) in demoqt.prg



Hope this helps
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-29 Thread elart

Hi, all

Harbour from Svn: rev. 12624

make[3]: «../../../../../lib/linux/gcc/libhbxbp.a» è aggiornato.
! Installing xbp.ch on /usr/include
! Installing xbpdev.ch on /usr/include
! Installing appevent.ch on /usr/include
! Installing gra.ch on /usr/include
! Installing ../../lib/linux/gcc/libhbxbp.a on /usr/lib
./bin/linux/gcc/hbrun --hb:gtcgi ./bin/postinst.prg
./bin/postinst.prg(28) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(29) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(31) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(32) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(33) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(34) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(39) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(40) Error E0030  Syntax error syntax error at ')'
./bin/postinst.prg(41) Error E0030  Syntax error syntax error at ')'
9 errors

No code generated.
make: *** [install] Errore 1

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-24 Thread elart

Revision: 12612
  
 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12612view=rev
Author:   druzus
Date: 2009-09-24 09:23:34 + (Thu, 24 Sep 2009)

Log Message:
---
2009-09-24 11:23 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

I get this error on build win version of Harbour from latest svn

Thank you and best regards
Marco

! Installing ../../lib/win/mingw/libharbour-20.a on
/tmp/hbwin/lib/win/mingw
make[3]: «../../../../../bin/win/mingw/hbrun.exe» è aggiornato.
! Installing ../../bin/win/mingw/hbrun.exe on /tmp/hbwin/bin
/home/ubuntu/src/harbour/bin/linux/gcc/harbour ../../../hbmk2.prg 
-i../../../../../include -n1 -q0 -w3 -es2 -kmo -l 
-undef:__PLATFORM__LINUX -undef:__PLATFORM__UNIX -D__PLATFORM__WINDOWS
../../../hbmk2.prg(4440) Warning W0003  Variable 'TMP3' declared but
not used in function 'HBMK(612)'

No code generated.
make[3]: *** [hbmk2.c] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [hbmk2.inst] Errore 2
make: *** [utils.inst] Errore 2
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Harbour 2.0.0beta3 (Rev. 12618) dirmake and /usr/include tree permissions...

2009-09-24 Thread elart

I have this issue and i want to know how to solve...

I know i must don't use the install paths reported below but i used them
for almost all the time i compiling Harbour from svn more than 5 years
and in the future i change it.

Tha updated svn sources are in $HOME/src/harbour

In a script file i set exported variables:

export HB_BIN_INSTALL=/usr/bin
export HB_INSTALL_PREFIX=/usr/bin
export HB_LIB_INSTALL=/usr/lib
export HB_INC_INSTALL=/usr/include
export HB_BUILD_SHARED=no

make clean; make; sudo -E make install



Today i was compiling this simply prg

ubu...@ubuntu:~/tmp$ cat p.prg
funct main()
dirmake(ppp)
return

with hbmk2 i get:

hbmk2 p
hbmk2: Processing configuration: /usr/bin/hbmk.cfg
Harbour 2.0.0beta3 (Rev. 12618)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'p.prg'...
Lines 3, Functions/Procedures 1
Generating C source output to 'p.c'... Done.
p.o:(.data+0x38): undefined reference to `HB_FUN_DIRMAKE'
collect2: ld returned 1 exit status
hbmk2: Error: Running linker. 1
gcc p.o hbmk_dp7lf7.o   -Wl,--start-group -lhbextern -lhbdebug -lhbvm
-lhbrtl -lhblang -lhbcpage -lgtcgi -lgtpca -lgtstd -lgttrm -lhbrdd
-lhbuddall -lhbusrrdd -lrddntx -lrddcdx -lrddnsx -lrddfpt -lhbrdd
-lhbhsx -lhbsix -lhbmacro -lhbcplr -lhbpp -lhbcommon -lm -ldl -lrt
-lhbpcre -lhbzlib -lgpm  -Wl,--end-group -op -L/usr/lib

Please note my (never touched) /usr/bin/hbmk.cfg conf file.

cat /usr/bin/hbmk.cfg
# hbmk2 configuration
# Generated by Harbour build process

libpaths=../contrib/%{hb_name}
libpaths=../contrib/rddsql/%{hb_name}
libpaths=../addons/%{hb_name}
libpaths=../examples/%{hb_name}

syslibs={linuxgcc}gpm


Also after the install process of harbour i have all /usr/include files
and directory altered with wrong permissions...


Then... compiling previous reported simply p.prg file with hbmk


ubu...@ubuntu:~/tmp$ hbmk p
Harbour 2.0.0beta3 (Rev. 12618)
Copyright (c) 1999-2009, http://www.harbour-project.org/
Compiling 'p.prg'...
Lines 3, Functions/Procedures 2
Generating C source output to 'p.c'... Done.

ubu...@ubuntu:~/tmp$ ./p
ubu...@ubuntu:~/tmp$ ls -l
totale 20
-rwxr-xr-x 1 ubuntu ubuntu 9968 2009-09-24 17:56 p
drwxr-xr-x 2 ubuntu ubuntu 4096 2009-09-24 18:01 ppp
-rw-r--r-- 1 ubuntu ubuntu   39 2009-09-24 17:55 p.prg

I think i might have something to dress into the /usr/bin/hbmk.cfg conf
file.
and there be something wrong during install process of harbour because it
change the /usr/include tree files and dirs permissions.

Best regards and thank you
Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-19 Thread elart

I get this compile error on Ubuntu 9.04 and Ubuntu 9.10 32 bits...

Thank you

Best Regards

Estratta revisione 12570.
! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh clean  ! HB_INSTALL_PREFIX: /usr/bin
! HB_BIN_INSTALL: /usr/bin
! HB_LIB_INSTALL: /usr/lib
! HB_INC_INSTALL: /usr/include
! HB_HOST_PLAT: linux (x86)  HB_SHELL: sh
! HB_PLATFORM: linux (x86) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in /home/ubuntu/src/harbour/external/pcre (local)
! Component: 'openssl' found in /usr/include
! Component: 'gpm' found in /usr/include
! Component: 'slang' found in /usr/include
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! REVISION: 12570
! 'libpng' library skipped (unused)
! 'sqlite3' library skipped (unused)
! 'hbzlib' library skipped (unused)
! 'gtdos' library skipped (platform not supported)
! 'gtgui' library skipped (platform not supported)
! 'gtos2' library skipped (platform not supported)
! 'gtwin' library skipped (platform not supported)
! 'gtwvt' library skipped (platform not supported)
! 'gtwvg' library skipped (platform or compiler not supported)
! 'hbwin' library skipped (platform not supported)
! 'hbblat' library skipped (platform not supported)
! 'hbfimage' library skipped ('freeimage' not supported on linux platform)
! 'rddads' library skipped ('ads' not found)
! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh   ! HB_INSTALL_PREFIX: /usr/bin
! HB_BIN_INSTALL: /usr/bin
! HB_LIB_INSTALL: /usr/lib
! HB_INC_INSTALL: /usr/include
! HB_HOST_PLAT: linux (x86)  HB_SHELL: sh
! HB_PLATFORM: linux (x86) (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'zlib' found in /usr/include
! Component: 'pcre' found in /home/ubuntu/src/harbour/external/pcre (local)
! Component: 'openssl' found in /usr/include
! Component: 'gpm' found in /usr/include
! Component: 'slang' found in /usr/include
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'wattcp/watt-32' not supported on linux platform
! REVISION: 12570
make[2]: Non c'è da fare nulla per «all»
make[1]: Non c'è da fare nulla per «all»
gcc  -I. -I../../../../../include  -O3  -I/usr/include -I/usr/include 
-o_hbhbpdf.o -c ../../../_hbhbpdf.c

..
..
..
gcc  -I. -I../../../../../include  -Wall -W -O3   -oppcomp.o -c 
../../../ppcomp.c
gcc  -I. -I../../../../../include  -Wall -W -O3   -oexpropta.o -c 
../../../expropta.c
gcc  -I. -I../../../../../include  -Wall -W -O3   -oexproptb.o -c 
../../../exproptb.c
gcc  -I. -I../../../../../include  -Wall -W -O3   -ocomplex.o -c 
../../../complex.c
gcc  -I. -I../../../../../include  -Wall -W -O3   -ocompi18n.o -c 
../../../compi18n.c
gcc  -I. -I../../../../../include  -Wall -W -O3   -ohbmain.o -c 
../../../hbmain.c
ar   rcs ../../../../../lib/linux/gcc/libhbcplr.a harboury.o cmdcheck.o 
genc.o gencc.o gencobj.o genhrb.o hbcmplib.o hbcomp.o hbdbginf.o 
hbfunchk.o hbgenerr.o hbpcode.o hbfix.o hbdead.o hblbl.o hbopt.o 
hbstripl.o hbusage.o hbident.o ppcomp.o expropta.o exproptb.o complex.o 
compi18n.o hbmain.o || ( rm -f ../../../../../lib/linux/gcc/libhbcplr.a 
 false )
gcc  -I. -I../../../../../include  -Wall -W -O3   -oharbour.o -c 
../../../harbour.c
gcc  -Wall -W -O3 -o../../../../../bin/linux/gcc/harbour harbour.o 
-L../../../../../lib/linux/gcc   -lhbcplr -lhbpp -lhbnortl -lhbcommon
../../../../../lib/linux/gcc/libhbcommon.a(expropt2.o): In function 
`hb_compExprReducePower':

expropt2.c:(.text+0x2b02): undefined reference to `pow'
../../../../../lib/linux/gcc/libhbcommon.a(expropt2.o): In function 
`hb_compExprReduceMod':

expropt2.c:(.text+0x2c2b): undefined reference to `fmod'
../../../../../lib/linux/gcc/libhbcommon.a(hbstr.o): In function 
`hb_str2number':

hbstr.c:(.text+0x148c): undefined reference to `pow'
../../../../../lib/linux/gcc/libhbcommon.a(hbstr.o): In function 
`hb_numRound':

hbstr.c:(.text+0x17d7): undefined reference to `pow'
hbstr.c:(.text+0x180f): undefined reference to `pow'
../../../../../lib/linux/gcc/libhbcommon.a(hbstr.o): In function 
`hb_numDecConv':

hbstr.c:(.text+0x18a7): undefined reference to `pow'
hbstr.c:(.text+0x18cf): undefined reference to `pow'
collect2: ld returned 1 exit status
make[3]: *** [harbour] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [main] Errore 2
make: *** [source] Errore 2

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-14 Thread elart

On 09/14/2009 12:46 PM, vszak...@users.sourceforge.net wrote:

Revision: 12490
   
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12490view=rev
Author:   vszakats
Date: 2009-09-14 10:46:22 + (Mon, 14 Sep 2009)

Log Message:
---
2009-09-14 12:43 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
   * utils/hbmk2/hbmk2.prg
 % Deleted UTF-8 hack. Now using the built-in UTF-8 conversion
   support.

   * contrib/hbwin/win_com.c
 % Minor optimization and fixed warnings after recent patch.

   * INSTALL
 + Added see also HB_CC* to HB_COMPILER settings.

Modified Paths:
--
 trunk/harbour/ChangeLog
 trunk/harbour/INSTALL
 trunk/harbour/contrib/hbwin/win_com.c
 trunk/harbour/utils/hbmk2/hbmk2.prg


This 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


On Ubuntu 9.10 32 bits Harbour for Linux compile fine

Harbour for Win give me this error

In attachment the complete compile log...

Thank you and best regards

make[3]: «../../../../../lib/win/mingw/libhbdebug.a» è aggiornato.
/usr/bin/i586-mingw32msvc-gcc -shared -L../../../../../lib/win/mingw  -o 
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lhbpcre 
-lhbzlib -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32 
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def

Creating library file: ../../../../../lib/win/mingw/libharbour-20.a
../../../../../source/common/obj/win/mingw/hbffind.o:hbffind.c:(.text+0x474): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0xc8): undefined 
reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x2f7): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x10f1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xaa): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xc6): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x18c): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x2cb): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x180): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x5bd): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbrunfun.o:hbrunfun.c:(.text+0x58): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0xc1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0x121): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/philes.o:philes.c:(.text+0x5fd): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/run.o:run.c:(.text+0x3f): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x3b9): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x796): 
undefined reference to `_hb_osDecodeCP'

collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [dynlib] Errore 2
make: *** [source] Errore 2





log.txt.tar.gz
Description: GNU Zip compressed data
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] NETIO - Real Web IP - Application Behavior

2009-09-14 Thread elart

On 09/14/2009 07:42 PM, Pritpal Bedi wrote:


Hello Przemek

I did as follows:

1. Opened a port on my router, 63000, to be accessible from outside.
2. Obtained temporary IP for my computer from no-ip .com, say, 64.123.212.67
3. Verified that the port 63000 is visible on that IP with some net tool.
4. Started NetIOSrv.exe 63000 0.0.0.0 c:\someFolderAsRootFolder
5. Executed the application with 64.123.212.67 63000

Application just hanged for indefinitely and did not showup next screen.
Normally if port is not accessible or NerIOSrv.exe is not running,
application returns immediately with an error.

What could be the reasons for this behavior?

Regards
Pritpal Bedi
I have a similar issue on Linux and Przemek tell me to link at compile 
time the -gtwin lib.


Hope this helps
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] NETIO - Real Web IP - Application Behavior

2009-09-14 Thread elart

On 09/15/2009 02:06 AM, Pritpal Bedi wrote:


Hi


elart wrote:


I have a similar issue on Linux and Przemek tell me to link at compile
time the -gtwin lib.



What part GT has to play with NetIO ?

BTW on LAN and on 127.0.0.1 I am getting the correct results.

Regards
Pritpal Bedi



*
Howto compile the harbour/contrib/hbnetio/test/netiotst
**

# cd $HOME/src/harbour/contrib/hbnetio/tests

Just add the directory where hbwin is installed (/tmp/hbwin in my Linux 
box) to you PATH, i.e.:


# export PATH=/tmp/hbwin/bin:$PATH

to your *nix PATH and then:

# hbwmk -static -n -w -es2 -mt -gtwin netiotst

To check the file generated

# file netiotst.exe
netiotst.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit

To run the test...

wine ./netiotst.exe


---

Below some sent to me by Przemek

Best regards

Marco





Przemek note...

NETIO server application has to be linked with MT HVM version.
Please use -mt hbwmk switch to compile server.

  give me the wine app started window with the message it cannot start
  server...
  Can you test my app in your enviroment...
  in attach the hb_testio.tar.gz
It works if you compile netioserver.prg with -mt switch.
I tested Windows and Linux binaries.
BTW for normal usage I suggest to always use native binaries.
If you want to run server on Linux machine then create native
Linux netio server binaries. And of course native client binaries.
Of course you can connect to the one server from different stations
working with WIN, DOS, OS2 or different *nixes.

And remove from netioserver.prg this code:

   if empty( cServer )
  cServer := '127.0.0.1'
   endif

it reduces connections to 127.0.0.1 only so such server cannot be accessed
remotely. Use empty value or 0.0.0.0 if you want to give access from
different interfaces without any limitation.

best regards,
Przemek
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Harbour for Win compile error Ubuntu 9.04 - Rev. 12487

2009-09-12 Thread elart

Harbour for Win compile error Ubuntu 9.04 -  Rev. 12487

On Ubuntu 9.04 compile error...


! Installing ../../lib/win/mingw/libhbdebug.a on /tmp/hbwin/lib/win/mingw
/usr/bin/i586-mingw32msvc-gcc -shared -L../../../../../lib/win/mingw  -o 
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lhbpcre 
-lhbzlib -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32 
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def

Creating library file: ../../../../../lib/win/mingw/libharbour-20.a
../../../../../source/common/obj/win/mingw/hbffind.o:hbffind.c:(.text+0x474): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0xc8): undefined 
reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x2f7): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x10f1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xaa): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xc6): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x18c): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x2cb): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x180): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x5bd): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbrunfun.o:hbrunfun.c:(.text+0x58): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0xc1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0x121): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/philes.o:philes.c:(.text+0x5fd): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/run.o:run.c:(.text+0x3f): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x3b9): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x796): 
undefined reference to `_hb_osDecodeCP'

collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [dynlib.inst] Error 2
make: *** [source.inst] Error 2
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-12 Thread elart

On 09/12/2009 04:47 PM, vszak...@users.sourceforge.net wrote:

Revision: 12488
   
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=12488view=rev
Author:   vszakats
Date: 2009-09-12 14:47:55 + (Sat, 12 Sep 2009)

Log Message:
---
2009-09-12 16:47 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
   * external/pcre/pcreglob.c
 ! Fixed watcom compilation. There are still warnings.
   Please review it.

   * external/pcre/config.h
   * external/pcre/Makefile
 * -DPCRE_STATIC moved to Makefile from config.h. There is
   no dynlib build mode here, so this could be done.

Modified Paths:
--
 trunk/harbour/ChangeLog
 trunk/harbour/external/pcre/Makefile
 trunk/harbour/external/pcre/config.h
 trunk/harbour/external/pcre/pcreglob.c


This 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


Hi Viktor

On ubuntu 9.04 32 bits compiling Harbour for Win i get this error

Thank you and best regards


! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh
! HB_HOST_PLAT: linux (x86)  HB_SHELL: sh
! HB_PLATFORM: win (x86)
! HB_COMPILER: mingw (autodetected: /usr/bin/)
! HB_BIN_COMPILE not specified. Automatically set to: 
/home/danilo/src/harbour/bin/linux/gcc

! Component: 'zlib' found in /home/danilo/src/harbour/external/zlib (local)
! Component: 'pcre' found in /home/danilo/src/harbour/external/pcre (local)
! Component: 'openssl' not found
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found
! Component: 'curses' not found
! Component: 'x11' not found
! Component: 'wattcp/watt-32' not supported on win platform
! HB_INSTALL_PREFIX automatically set to: /home/danilo/src/harbour
! REVISION: 12488
make[2]: Nothing to be done for `all'.
make[1]: Nothing to be done for `all'.
make[3]: `../../../../../lib/win/mingw/liblibhpdf.a' is up to date.
make[3]: `../../../../../lib/win/mingw/liblibpng.a' is up to date.
/usr/bin/i586-mingw32msvc-gcc  -I. -I../../../../../include  -O3 
-fomit-frame-pointer -march=i586 -mtune=pentiumpro  -DPCRE_STATIC 
-DHAVE_CONFIG_H  -opcreglob.o -c ../../../pcreglob.c
../../../pcreglob.c:56: error: expected identifier or ‘(’ before string 
constant

make[3]: *** [pcreglob.o] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [pcre] Error 2
make: *** [external] Error 2
! Building Harbour 2.0.0beta3 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh install
! HB_INSTALL_PREFIX: /tmp/hbwin
! HB_HOST_PLAT: linux (x86)  HB_SHELL: sh
! HB_PLATFORM: win (x86)
! HB_COMPILER: mingw (autodetected: /usr/bin/)
! HB_BIN_COMPILE not specified. Automatically set to: 
/home/danilo/src/harbour/bin/linux/gcc

! Component: 'zlib' found in /home/danilo/src/harbour/external/zlib (local)
! Component: 'pcre' found in /home/danilo/src/harbour/external/pcre (local)
! Component: 'openssl' not found
! Component: 'gpm' not supported on win platform
! Component: 'slang' not found
! Component: 'curses' not found
! Component: 'x11' not found
! Component: 'wattcp/watt-32' not supported on win platform
! REVISION: 12488
! Installing c_std.txt on /tmp/hbwin/doc
! Installing class_tp.txt on /tmp/hbwin/doc
! Installing cmdline.txt on /tmp/hbwin/doc
! Installing cmpopt.txt on /tmp/hbwin/doc
! Installing codebloc.txt on /tmp/hbwin/doc
! Installing codestyl.txt on /tmp/hbwin/doc
! Installing destruct.txt on /tmp/hbwin/doc
! Installing dirstruc.txt on /tmp/hbwin/doc
! Installing gmake.txt on /tmp/hbwin/doc
! Installing gtapi.txt on /tmp/hbwin/doc
! Installing hdr_tpl.txt on /tmp/hbwin/doc
! Installing howtobld.txt on /tmp/hbwin/doc
! Installing howtorel.txt on /tmp/hbwin/doc
! Installing howtosvn.txt on /tmp/hbwin/doc
! Installing inet.txt on /tmp/hbwin/doc
! Installing pcode.txt on /tmp/hbwin/doc
! Installing pp.txt on /tmp/hbwin/doc
! Installing pragma.txt on /tmp/hbwin/doc
! Installing readme.txt on /tmp/hbwin/doc
! Installing statics.txt on /tmp/hbwin/doc
! Installing tracing.txt on /tmp/hbwin/doc
! Installing transfrm.txt on /tmp/hbwin/doc
! Installing vm.txt on /tmp/hbwin/doc
! Installing whatsnew.txt on /tmp/hbwin/doc
! Installing windll.txt on /tmp/hbwin/doc
! Installing array.txt on /tmp/hbwin/doc/en-EN
! Installing binnum.txt on /tmp/hbwin/doc/en-EN
! Installing browse.txt on /tmp/hbwin/doc/en-EN
! Installing clipper.txt on /tmp/hbwin/doc/en-EN
! Installing cmdline.txt on /tmp/hbwin/doc/en-EN
! Installing command.txt on /tmp/hbwin/doc/en-EN
! Installing compiler.txt on /tmp/hbwin/doc/en-EN
! Installing datetime.txt on /tmp/hbwin/doc/en-EN
! Installing dbdelim.txt on /tmp/hbwin/doc/en-EN
! Installing dbsdf.txt on /tmp/hbwin/doc/en-EN
! Installing dbstrux.txt on /tmp/hbwin/doc/en-EN
! Installing dir.txt on /tmp/hbwin/doc/en-EN
! 

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

2009-09-11 Thread elart

Viktor

All is compiling fine on Ubuntu 9.04 32 bits

Many thanks and best regards...!

Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] HB_SENDMAIL hangs with beta3

2009-09-11 Thread elart

Same here with:

Harbour 2.0.0beta3 (Rev. 12472)
Copyright (c) 1999-2009, http://www.harbour-project.org/

Harbour Build Info
---
Version: Harbour 2.0.0beta3 (Rev. 12472)
Compiler: GNU C 4.3.3 (32-bit)
Platform: Linux 2.6.28-15-generic i686
PCode version: 0.2


the prg hang,  how i test it...

I have create a file testmail.prg with this content

---

procedure main

local cServer   :=  192.168.100.18
local nPort :=  25
local cFrom :=  marco...@mypc
local aTo   :=  {marco...@mypc}
local aCC   :=  {marco...@mypc}
local aBCC  :=  {marco...@mypc}
local cBody :=  test
local cSubject  :=  Test from Harbour...
local aFiles:=  {}
local cUser :=  marcobra
local cPass :=  
local cPopServer:=  192.168.100.18
local nPriority :=  3
local lRead :=  .f.
local bTrace:=  .t.
local lPopAuth  :=  .f.
local lNoAuth   :=  .f.
local nTimeOut  :=  2000
local cReplyTo  :=  marco...@mypc
local lTLS  :=  .f.
local cSMTPPass :=  

   ? sending mail
  hb_SendMail( cServer, nPort, cFrom, aTo, aCC, aBCC, cBody,
cSubject, aFiles, cUser, cPass, cPopServer, nPriority, lRead, bTrace,
lPopAuth, lNoAuth, nTimeOut, cReplyTo, lTLS, cSMTPPass )
   ? finish send
 return


// FUNCTION hb_SendMail( cServer, nPort, cFrom, aTo, aCC, aBCC, cBody,
cSubject, aFiles, cUser, cPass, cPopServer, nPriority, lRead, bTrace,
lPopAuth, lNoAuth, nTimeOut, cReplyTo, lTLS, cSMTPPass )

   /*
   cServer- Required. IP or domain name of the mail server
   nPort  - Optional. Port used my email server
   cFrom  - Required. Email address of the sender
   aTo- Required. Character string or array of email addresses
to send the email to
   aCC- Optional. Character string or array of email adresses
for CC (Carbon Copy)
   aBCC   - Optional. Character string or array of email adresses
for BCC (Blind Carbon Copy)
   cBody  - Optional. The body message of the email as text, or the
filename of the HTML message to send.
   cSubject   - Optional. Subject of the sending email
   aFiles - Optional. Array of attachments to the email to send
   cUser  - Required. User name for the POP3 server
   cPass  - Required. Password for cUser
   cPopServer - Required. POP3 server name or address
   nPriority  - Optional. Email priority: 1=High, 3=Normal (Standard),
5=Low
   lRead  - Optional. If set to .T., a confirmation request is send.
Standard setting is .F.
   bTrace - Optional. If set to .T., a log file is created
(smtp-nNr.log). Standard setting is NIL.
   If a block is passed, it will be called for
each log event with the message a string, no param on session close.
   lPopAuth   - Optional. Do POP3 authentication before sending mail.
   lNoAuth- Optional. Disable Autentication methods
   nTimeOut   - Optional. Number os ms to wait default 2 (20s)
   cReplyTo   - Optional.
   lTLS   - Optional. Default .F., connect to the server using
Secure Socket Layer connection (pop3s, smtps)
   */

---

Then i compile with...

hbmk2 -lhbtip -lpcre -static testmail

then i run with

./testmail

it hang the timeout is not working and i must kill the process from
another terminal

i can see this smtp.log in the same dir of running testmail

20090911-10:53:36  :INETCONNECT( 192.168.100.18, 25 )
 pointer 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETSENDALL( pointer, 15, EHLO marcobra )
 15 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 220 mymailserverpc.xxx.xxx ESMTP Postfix (Ubuntu) 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-mymailserverpc.xxx.xxx 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-PIPELINING 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-SIZE 15360 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-VRFY 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-ETRN 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-STARTTLS 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  :INETRECVLINE( pointer, , 512 )
 250-ENHANCEDSTATUSCODES 

20090911-10:53:36  :INETERRORCODE( pointer )
  0 

20090911-10:53:36  

[Harbour] Harbour svn rev.

2009-09-11 Thread elart
After 12466 svn update on Ubuntu 9.04 32 bits and Ubuntu 9.10 32 bits i 
get this compile error on a clean compile of sources:


Harbour compile fine

but when i try to compile Harbour for Win

cd $HOME/src/harbour
export PATH=/tmp/hbwin/bin:$PATH
make HB_PLATFORM=win

i get ( i have attached completw compile logs of Ubuntu 9.04 and Ubuntu 
9.10 ) :


/usr/bin/i586-mingw32msvc-gcc -shared -L../../../../../lib/win/mingw  -o 
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lhbpcre 
-lhbzlib -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32 
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def

Creating library file: ../../../../../lib/win/mingw/libharbour-20.a
../../../../../source/common/obj/win/mingw/hbffind.o:hbffind.c:(.text+0x474): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0xc8): undefined 
reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x2f7): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/filesys.o:filesys.c:(.text+0x10f1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xaa): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0xc6): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x18c): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/gete.o:gete.c:(.text+0x2cb): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x180): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbproces.o:hbproces.c:(.text+0x5bd): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/hbrunfun.o:hbrunfun.c:(.text+0x58): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0xc1): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/net.o:net.c:(.text+0x121): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/philes.o:philes.c:(.text+0x5fd): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/rtl/obj/win/mingw/run.o:run.c:(.text+0x3f): 
undefined reference to `_hb_osEncodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x3b9): 
undefined reference to `_hb_osDecodeCP'
../../../../../source/vm/obj/win/mingw/cmdarg.o:cmdarg.c:(.text+0x796): 
undefined reference to `_hb_osDecodeCP'

collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Error 1
make[2]: *** [descend] Error 2
make[1]: *** [dynlib.inst] Error 2
make: *** [source.inst] Error 2


ubuntu-compile-logs.tar.gz
Description: GNU Zip compressed data
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Compile error - Harbour svn rev. 12463

2009-09-10 Thread elart

Hi, all

Today i get this error compiling harbour for win

export PATH=/tmp/hbwin/bin:$PATH
make HB_PLATFORM=win


Thank you and best regards

...
/usr/bin/i586-mingw32msvc-gcc -shared  -o
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lkernel32
-luser32 -lws2_32 -ladvapi32 -lgdi32
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def
Creating library file: ../../../../../lib/win/mingw/libharbour-20.a
../../../../../source/hbpcre/obj/win/mingw/pcreglob.o:pcreglob.c:(.data+0x0):
multiple definition of `_pcre_malloc'
../../../../../source/hbpcre/obj/win/mingw/_hbpcreg.o:_hbpcreg.c:(.data+0x0):
first defined here
../../../../../source/hbpcre/obj/win/mingw/pcreglob.o:pcreglob.c:(.data+0x4):
multiple definition of `_pcre_free'
../../../../../source/hbpcre/obj/win/mingw/_hbpcreg.o:_hbpcreg.c:(.data+0x4):
first defined here
../../../../../source/hbpcre/obj/win/mingw/pcreglob.o:pcreglob.c:(.data+0x8):
multiple definition of `_pcre_stack_malloc'
../../../../../source/hbpcre/obj/win/mingw/_hbpcreg.o:_hbpcreg.c:(.data+0x8):
first defined here
../../../../../source/hbpcre/obj/win/mingw/pcreglob.o:pcreglob.c:(.data+0xc):
multiple definition of `_pcre_stack_free'
../../../../../source/hbpcre/obj/win/mingw/_hbpcreg.o:_hbpcreg.c:(.data+0xc):
first defined here
../../../../../source/hbpcre/obj/win/mingw/pcreglob.o:pcreglob.c:(.bss+0x0):
multiple definition of `_pcre_callout'
../../../../../source/hbpcre/obj/win/mingw/_hbpcreg.o:_hbpcreg.c:(.bss+0x0):
first defined here
collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [dynlib] Errore 2
make: *** [source] Errore 2
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Ubuntu for Win compile error after update from svn rev. 12466

2009-09-10 Thread elart

After 12466 svn update on Ubuntu 9.04  i get this compile error on a
clean compile of sources:

Harbour compile fine

but when i try to compile Harbour for Win

cd $HOME/src/harbour
export PATH=/tmp/hbwin/bin:$PATH
make HB_PLATFORM=win

i get:

! Installing ../../lib/win/mingw/libhbcplr.a on /tmp/hbwin/lib/win/mingw
make[3]: «../../../../../bin/win/mingw/harbour.exe» è aggiornato.
! Installing ../../bin/win/mingw/harbour.exe on /tmp/hbwin/bin
Makefile:335: *** ! Error: zlib component required, but not available. 
Arresto.
make[1]: *** [rtl.inst] Errore 2
make: *** [source.inst] Errore 2

Best regards
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-10 Thread elart

Revision: 12467
  
 http://harbour-project.svn.sourceforge.net/harbour-projec/?rev=12467view=rev
Author:   vszakats
Date: 2009-09-10 15:14:46 + (Thu, 10 Sep 2009)

Clean compile of all source code upgraded from svn: revision 12467

on Ubuntu 9.04 Desktop 32 bits (stable)
and
on Ubuntu 9.10 Desktop 32 bits (development)

was successful...

While building Harbour for Win on this Linux boxes get me the same error,
this error

/usr/bin/i586-mingw32msvc-gcc -shared  -o
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lhbpcre
-lhbzlib -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld:
cannot find -lhbpcre
collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [dynlib] Errore 2
make: *** [source] Errore 2
.
..
...
..
.
! Installing ../../lib/win/mingw/libhbdebug.a on /tmp/hbwin/lib/win/mingw
/usr/bin/i586-mingw32msvc-gcc -shared  -o
../../../../../bin/win/mingw/harbour-20.dll __dyn__.tmp -lhbpcre
-lhbzlib -lkernel32 -luser32 -lws2_32 -ladvapi32 -lgdi32
-Wl,--out-implib,../../../../../lib/win/mingw/libharbour-20.a,--output-def,../../../../../bin/win/mingw/harbour-20.def
/usr/lib/gcc/i586-mingw32msvc/4.2.1-sjlj/../../../../i586-mingw32msvc/bin/ld:
cannot find -lhbpcre
collect2: ld returned 1 exit status
make[3]: *** [harbour-20.dll] Errore 1
make[2]: *** [descend] Errore 2
make[1]: *** [dynlib.inst] Errore 2
make: *** [source.inst] Errore 2
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-09-10 Thread elart

Okay, so hbpcre lib is missing. Could you look up relevant
section in log file to see what was the reason it got
skipped? Also hbzlib lib, maybe it's also missing.

Brgds,
Viktor


I have sent complete long log to you...

Hope this helps, best regards and thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Question about revision number and harbour -build update

2009-09-09 Thread elart

When i do a partial compile from svn

make; sudo -E make install

i cannot get the build number sync with revision number coming from svn...

only if i do a make clean i get the revision build number is like the svn
revision number.

make clean; make; sudo -E make install

it is possible to update the build number without recompiling all the
source tree.

I remember there was a hbverfix command in previous release.

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] My note on how to compile... Harbour and to test netio on Ubuntu Linux

2009-09-03 Thread elart

HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE AND CROSS COMPILE HARBOUR
FOR WIN ON LINUX
===

*
( Tested on Ubuntu 9.04 and Ubuntu 9.10 )
*

To get main reference please read the INSTALL file under the harbour
source directory

You need to be connected to the Net.

First please  enable the universe repositories from menu System
#8594; Administration #8594; Software Sources and confirm repositorie
reload
Please install these deb packages... so you have almost all packages to
compile contrib libraries and related stuffs

Please open a terminal window Applications #8594; Accessories #8594;
Terminal and type or copy and paste (one row a time then press enter)

sudo apt-get update

When you use sudo the system ask you for a password, please typein
your user password: you will not see any feedback (i.e terminal chars)
when you type your password, so type the password, then press enter;

sudo apt-get install wget cvs rcs build-essential ncurses-dev
libslang2-dev tk8.3-dev unixodbc-dev subversion libncurses-dev
libx11-dev libgpm-dev libcurl4-openssl-dev firebird2.1-dev
libfreeimage-dev libgd2-xpm-dev libmysqlclient15-dev libpq-dev
libqt4-dev liballegro4.2-dev libsqlite3-dev wine dosemu-freedos mingw32

Then update from svn Harbour

1) - Please open a terminal window Applications #8594; Accessories
#8594; Terminal
2) - Please check the requested packages are installed see above;
3) - Type the commands rows below you can also do a copy and paste of the
row, please copy and paste a row a time then press enter;

mkdir $HOME/src
cd $HOME/src
svn co
https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour
harbour
cd $HOME/src/harbour
export HB_BIN_INSTALL=/usr/bin
export HB_INSTALL_PREFIX=/usr/bin
export HB_LIB_INSTALL=/usr/lib
export HB_INC_INSTALL=/usr/include
make
sudo -E make install

When you use sudo the system ask you for a password, please typein
your user password: you will not see any feedback (i.e terminal chars)
when you type your password, so type the password, then press enter;

to verify your build date of harbour, type:
harbour -build

to generate Harbour for Win

cd $HOME/src/harbour/; make HB_PLATFORM=win

export HB_INSTALL_PREFIX=/tmp/hbwin; make install HB_PLATFORM=win

if you want install hbwin in a different directory than /tmp/hbwin with
more stricted directory permissions... you must use sudo to install it:

export HB_INSTALL_PREFIX=/usr/bin/hbwin; sudo -E make install
HB_PLATFORM=win


***
Tip: if you want to automate the update and compile from svn please put
this command into a file for example: MBaggharbour2_svn so type
mkdir $HOME/src
cd $HOME/src

gedit MBaggharbour_svn

Copy and paste the contents below into the file:


#!/bin/bash
clear
echo 
echo Please wait connecting to svn server to fetch Harbour updates...
echo 
cd $HOME/src
svn co
https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour
harbour

sleep 3

cd $HOME/src/harbour
export HB_BIN_INSTALL=/usr/bin
export HB_INSTALL_PREFIX=/usr/bin
export HB_LIB_INSTALL=/usr/lib
export HB_INC_INSTALL=/usr/include
#export HB_CONTRIBLIBS=hbqt hbpgsql hbhpdf rddsql hbsqlit3 hbodbc
gtqtc

#hbverfix

r='n'

echo Do you want to run a make clean before to compile sources [Ny]
Please answer in 4 sec
read -t 4 r


if [[ $r == 'Y' || $r == 'y' ]]; then
make clean; make; sudo -E make install
else
make; sudo -E make install
fi

cw='n'
echo Do you want to compile Harbour for Win [Ny] Please answer in 30
sec or press enter
read -t 30 cw

if [[ $cw == 'Y' || $cw == 'y' ]]; then
unset cw
cd $HOME/harbour
unset HB_BIN_INSTALL
unset HB_INSTALL_PREFIX
unset HB_LIB_INSTALL
unset HB_INC_INSTALL
old_path=$PATH
export PATH=/tmp/hbwin/bin:$PATH
make HB_PLATFORM=win
export HB_INSTALL_PREFIX=/tmp/hbwin
make install HB_PLATFORM=win
PATH=$old_path
fi




--
Please save and exit from gedit editor then please give to this script
the execute permission, type:
chmod 700 MBaggharbour_svn

Then to run it...

cd $HOME/src
./MBaggharbour_svn


then inside /tmp/hbwin/bin you will find hbw* scripts which you can use
to build windows binaries.


Point this envvar to the directory where native Harbour executables for
your host platform can be found:
HB_BIN_COMPILE=HARBOUR_NATIVE_BUILD_DIR\bin
If you leave this value empty, the make system will try to autodetect it,
so in practice all you have to do is to create a native build first (no
'install' required), then create the cross-build. If you set this value
manually, it may be useful to know that only harbour, hbpp and hbmk2

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread elart

On 09/02/2009 07:49 PM, Angel Pais wrote:

When trying to compile this new lib on Ubuntu I get...

an...@angel-laptop:~/src/harbour$ make
! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh
! HB_INSTALL_PREFIX: /usr/bin
! HB_BIN_INSTALL: /usr/bin
! HB_LIB_INSTALL: /usr/lib
! HB_INC_INSTALL: /usr/include
! HB_HOST_PLAT: linux HB_SHELL: sh
! HB_PLATFORM: linux (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'openssl' found in /usr/include
! Component: 'gpm' found in /usr/include
! Component: 'slang' found in /usr/include
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'WATTCP/WATT-32' not supported on linux platform
! REVISION: 12394
make[2]: No se hace nada para `all'.
make[1]: No se hace nada para `all'.
make[3]: `../../../../../lib/linux/gcc/libhbcommon.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbnortl.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbpp.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbcplr.a' está actualizado.
make[3]: `../../../../../bin/linux/gcc/harbour' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbrtl.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtcgi.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtcrs.a' está actualizado.
! 'gtdos' library skipped
! 'gtgui' library skipped
! 'gtos2' library skipped
make[4]: `../../../../../../lib/linux/gcc/libgtpca.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtsln.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtstd.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgttrm.a' está actualizado.
! 'gtwin' library skipped
! 'gtwvt' library skipped
make[4]: `../../../../../../lib/linux/gcc/libgtxwc.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbvm.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libhbvmmt.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbmacro.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbcpage.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhblang.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbrdd.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libhbnulrdd.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/librddntx.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/librddnsx.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/librddcdx.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/librddfpt.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libhbsix.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libhbhsx.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libhbusrrdd.a' está actualizado.
make[4]: `../../../../../../../lib/linux/gcc/libhbuddall.a' está
actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbextern.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbpcre.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbzlib.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbdebug.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libharbour-2.0.0.so' está
actualizado.
make[4]: `../../../../../../lib/linux/gcc/libharbourmt-2.0.0.so' está
actualizado.
make[3]: `../../../../../bin/linux/gcc/hbrun' está actualizado.
make[3]: `../../../../../bin/linux/gcc/hbmk2' está actualizado.
make[3]: `../../../../../bin/linux/gcc/hbi18n' está actualizado.
make[3]: `../../../../../bin/linux/gcc/hbtest' está actualizado.
make[3]: `../../../../../bin/linux/gcc/hbformat' está actualizado.
! 'gtwvg' library skipped
make[3]: `../../../../../lib/linux/gcc/libhbbmcdx.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbbtree.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbclipsm.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbct.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbgt.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbmisc.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbmzip.a' está actualizado.
make[2]: *** No hay objetivos. Alto.
make[1]: *** [hbnetio] Error 2
make: *** [contrib] Error 2
an...@angel-laptop:~/src/harbour$

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour



HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE AND CROSS COMPILE HARBOUR 
FOR WIN ON LINUX

===

*
( Tested on Ubuntu 9.04 and Ubuntu 9.10 )
*

To get main reference please read the INSTALL file under the harbour 
source directory


You need to be connected to the Net.

First please  

Re: [Harbour] Re: HBNETIO - How I tested ...

2009-09-02 Thread elart

On 09/02/2009 07:49 PM, Angel Pais wrote:

When trying to compile this new lib on Ubuntu I get...

an...@angel-laptop:~/src/harbour$ make
! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh
! HB_INSTALL_PREFIX: /usr/bin
! HB_BIN_INSTALL: /usr/bin
! HB_LIB_INSTALL: /usr/lib
! HB_INC_INSTALL: /usr/include
! HB_HOST_PLAT: linux HB_SHELL: sh
! HB_PLATFORM: linux (autodetected)
! HB_COMPILER: gcc (autodetected: /usr/bin/)
! Component: 'openssl' found in /usr/include
! Component: 'gpm' found in /usr/include
! Component: 'slang' found in /usr/include
! Component: 'curses' found in /usr/include
! Component: 'x11' found in /usr/include
! Component: 'WATTCP/WATT-32' not supported on linux platform
! REVISION: 12394
make[2]: No se hace nada para `all'.
make[1]: No se hace nada para `all'.
make[3]: `../../../../../bin/linux/gcc/harbour' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbrtl.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtcgi.a' está actualizado.
make[4]: `../../../../../../lib/linux/gcc/libgtcrs.a' está actualizado.
! 'gtdos' library skipped
! 'gtgui' library skipped
! 'gtos2' library skipped
...


make[3]: `../../../../../lib/linux/gcc/libhbgt.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbmisc.a' está actualizado.
make[3]: `../../../../../lib/linux/gcc/libhbmzip.a' está actualizado.
make[2]: *** No hay objetivos. Alto.
make[1]: *** [hbnetio] Error 2
make: *** [contrib] Error 2
an...@angel-laptop:~/src/harbour$

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


In previous reply please replace the row:

hbwmk -static -n -w -es2 netiotst

with this:

hbwmk -static -n -w -es2 -gtwin netiotst



I repost entirely here for clarity

HOW TO BUILD AND INSTALL HARBOUR FROM SOURCE AND CROSS COMPILE HARBOUR
FOR WIN ON LINUX
===

*
( Tested on Ubuntu 9.04 and Ubuntu 9.10 )
*

To get main reference please read the INSTALL file under the harbour
source directory

You need to be connected to the Net.

First please  enable the universe repositories from menu System →
Administration → Software Sources and confirm repositorie reload
Please install these deb packages... so you have almost all packages to
compile contrib libraries and related stuffs

Please open a terminal window Applications → Accessories → Terminal and
type or copy and paste (one row a time then press enter)

sudo apt-get update

When you use sudo the system ask you for a password, please typein
your user password: you will not see any feedback (i.e terminal chars)
when you type your password, so type the password, then press enter;

sudo apt-get install wget cvs rcs build-essential ncurses-dev
libslang2-dev tk8.3-dev unixodbc-dev subversion libncurses-dev
libx11-dev libgpm-dev libcurl4-openssl-dev firebird2.1-dev
libfreeimage-dev libgd2-xpm-dev libmysqlclient15-dev libpq-dev
libqt4-dev liballegro4.2-dev libsqlite3-dev wine dosemu-freedos mingw32

Then update from svn Harbour

1) - Please open a terminal window Applications → Accessories → Terminal
2) - Please check the requested packages are installed see above;
3) - Type the commands rows below you can also do a copy and paste of
the row, please copy and paste a row a time then press enter;
mkdir $HOME/src
cd $HOME/src
svn co
https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk/harbour 


harbour
cd $HOME/src/harbour
export HB_BIN_INSTALL=/usr/bin
export HB_INSTALL_PREFIX=/usr/bin
export HB_LIB_INSTALL=/usr/lib
export HB_INC_INSTALL=/usr/include
make
sudo -E make install

When you use sudo the system ask you for a password, please type-in
your user password: you will not see any feedback (i.e terminal chars)
when you type your password, so type the password, then press enter;

to verify your build date of harbour, type:
harbour -build

to generate Harbour for Win

cd $HOME/src/harbour/; make HB_PLATFORM=win

export HB_INSTALL_PREFIX=/tmp/hbwin; make install HB_PLATFORM=win

Possible cross-build targets: Windows, Windows CE, MS-DOS, OS/2

You can use HB_PLATFORM values to select other platforms than Linux:

win - MS Windows (all flavors)
wce - MS Windows CE
dos - MS-DOS (32-bit protected mode only)
  (MS-DOS compatible system also work, like dosemu)
os2 - OS/2


To generate the win exe files to be run with wine using Harbour

export HB_BIN_COMPILE=/tmp/hbwin/bin
export PATH=/tmp/hbwin/bin:$PATH

to your *nix PATH and then:

cd $HOME/src/harbour/contrib/hbnetio

hbwmk -static -n -w -es2 -gtwin netiotst

To check the file generated

# file netiotst.exe
netiotst.exe: PE32 executable for MS Windows (GUI) Intel 80386 32-bit

to run the file type:

wine ./netiotst.exe


Re: [Harbour] Testing HBNETIO

2009-09-01 Thread elart

In data 1/9/2009, Przemyslaw Czerpak dru...@acn.waw.pl ha scritto:

On Tue, 01 Sep 2009, Pritpal Bedi wrote:

Hi,

  I've tested under Windows using BCC and MingW and got the Cannot start
  NETIO server !!! message.  I tried adding the 2941 port to Windows
  firewall exception also but still the same.
 Same is the case with me.
 After struggling for two hours, I cannot connect, still trying why?
 Windows XP with no firewall installed.

I think that I know the reason of problem. I still forgot that in
windows it's necessary to initialize socket library explicitly.
Please add:
  hb_inetInit()
before:
  pSockSrv := netio_mtserver()
and try again. When I run windows application using WINE in my
linux box I do not have to initialize WINSOCK library so it was
working for me.

Hi Przemek

So you use and compile DOS/WIN app using Wine...
Which distribution are you using...?
Do you have some guidelines some quick and short guidelines or some
internet page to get same... on my Ubuntu 9.04 and 9.10 boxes...

I have already Wine installed
I think i must be follow the same procedure to install a compiler on Win,
right... ?
Which compiler is better
http://www.harbour-project.org/faq/harbour22.html#22

Many thanks for all you works
Best regards

Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Help on error using compiling Harbour with minGW under Ubuntu 9.04

2009-09-01 Thread elart

I'm trying to cross compile Harbour using minGW on a Ubuntu 9.04 32 bit
Linux box
when i run...

make HB_PLATFORM=win

i get this...

/usr/bin/i586-mingw32msvc-gccgcc not exixtent compiler string

My system have the i586-mingw32msvc-gcc installed...
# which i586-mingw32msvc-gcc
return
/usr/bin/i586-mingw32msvc-gcc


 make HB_PLATFORM=win
! Building Harbour 2.0.0beta2 from source - http://www.harbour-project.org
! MAKE: make 3.81 /bin/sh
! HB_HOST_PLAT: linux  HB_SHELL: sh
! HB_PLATFORM: win (x86)
! HB_COMPILER: mingw (autodetected: /usr/bin/)
! HB_BIN_COMPILE not specified. Automatically set to:
/home/ubuntu/src/harbour/bin/linux/gcc
! Component: 'openssl' location not specified
! Component: 'gpm' not supported on win platform
! Component: 'slang' location not specified
! Component: 'curses' location not specified
! Component: 'x11' location not specified
! Component: 'WATTCP/WATT-32' not supported on win platform
! HB_INSTALL_PREFIX automatically set to: /home/ubuntu/src/harbour
! REVISION: 12385
make[2]: Non c'è da fare nulla per «all»
make[1]: Non c'è da fare nulla per «all»
/usr/bin/i586-mingw32msvc-gccgcc  -I. -I../../../../../include  -Wall -W
-O3 -fomit-frame-pointer -march=i586 -mtune=pentiumpro   -oexpropt1.o -c
../../../expropt1.c
make[3]: /usr/bin/i586-mingw32msvc-gccgcc: comando non trovato
make[3]: *** [expropt1.o] Errore 127
make[2]: *** [descend] Errore 2
make[1]: *** [common] Errore 2
make: *** [source] Errore 2

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Help on error using compiling Harbour with minGWunder Ubuntu 9.04

2009-09-01 Thread elart

In data 1/9/2009, Przemyslaw Czerpak dru...@acn.waw.pl ha scritto:

On Tue, 01 Sep 2009, elart wrote:
 I'm trying to cross compile Harbour using minGW on a Ubuntu 9.04 32 bit
 Linux box
 when i run...
 make HB_PLATFORM=win
 i get this...
 /usr/bin/i586-mingw32msvc-gccgcc not exixtent compiler string

Please try after:

2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/global.mk
! fixed MinGW prefix detection in some cross installations, i.e.
  Debian ones.

best regards,
Przemek


Fixed, many thanks and best regards to all.

But now i get...

/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/liblibpng.a png.o pngerror.o pnggccrd.o
pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o
pngset.o pngtrans.o pngvcrd.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
|| rm -f ../../../../../lib/win/mingw/liblibpng.a
/usr/bin/i586-mingw32msvc-gcc  -I. -I../../../../../include  -O3
-fomit-frame-pointer -march=i586 -mtune=pentiumpro   -osqlite3.o -c
../../../sqlite3.c
../../../sqlite3.c: In function ‘sqlite3BtreeFactory’:
../../../sqlite3.c:92183: warning: passing argument 2 of
‘sqlite3BtreeOpen’ discards qualifiers from pointer target type
/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/libsqlite3.a sqlite3.o || rm -f
../../../../../lib/win/mingw/libsqlite3.a


Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Help on error using compiling Harbour withminGWunderUbuntu 9.04

2009-09-01 Thread elart

In data 1/9/2009, elart el...@elart.it ha scritto:


On Tue, 01 Sep 2009, elart wrote:
 I'm trying to cross compile Harbour using minGW on a Ubuntu 9.04 32 bit
 Linux box
 when i run...
 make HB_PLATFORM=win
 i get this...
 /usr/bin/i586-mingw32msvc-gccgcc not exixtent compiler string

Please try after:

2009-09-01 14:02 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
  * harbour/config/global.mk
! fixed MinGW prefix detection in some cross installations, i.e.
  Debian ones.

best regards,
Przemek


Fixed, many thanks and best regards to all.

But now i get...

/usr/bin/i586-mingw32msvc-ar   crs
.../../../../../lib/win/mingw/liblibpng.a png.o pngerror.o pnggccrd.o
pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o
pngset.o pngtrans.o pngvcrd.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
|| rm -f ../../../../../lib/win/mingw/liblibpng.a
/usr/bin/i586-mingw32msvc-gcc  -I. -I../../../../../include  -O3
-fomit-frame-pointer -march=i586 -mtune=pentiumpro   -osqlite3.o -c
.../../../sqlite3.c
.../../../sqlite3.c: In function ‘sqlite3BtreeFactory’:
.../../../sqlite3.c:92183: warning: passing argument 2 of
‘sqlite3BtreeOpen’ discards qualifiers from pointer target type
/usr/bin/i586-mingw32msvc-ar   crs
.../../../../../lib/win/mingw/libsqlite3.a sqlite3.o || rm -f
.../../../../../lib/win/mingw/libsqlite3.a


Marco

Now with This update


2009-09-01 16:43 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/include/hbcomp.h
* harbour/include/hbcompdf.h
* harbour/source/compiler/hbmain.c
* harbour/source/compiler/genc.c
* harbour/source/compiler/genhrb.c
% removed FUNCALLS internal structures and functions.
It simplifies compiler code, reduce memory usage and
increase performance due to eliminating unnecessary
structures which were update and scanned in previous.
Now we have all necessary information in symbol table.

* harbour/contrib/hbnetio/netiocli.c
+ added support for DNS addresses


All seems working...

Many thanks

Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Previous message is wrong...

NOT work still this error related to sqlite3

/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/liblibpng.a png.o pngerror.o pnggccrd.o
pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o
pngset.o pngtrans.o pngvcrd.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
|| rm -f ../../../../../lib/win/mingw/liblibpng.a
/usr/bin/i586-mingw32msvc-gcc  -I. -I../../../../../include  -O3
-fomit-frame-pointer -march=i586 -mtune=pentiumpro   -osqlite3.o -c
../../../sqlite3.c
../../../sqlite3.c: In function ‘sqlite3BtreeFactory’:
../../../sqlite3.c:92183: warning: passing argument 2 of
‘sqlite3BtreeOpen’ discards qualifiers from pointer target type
/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/libsqlite3.a sqlite3.o || rm -f
../../../../../lib/win/mingw/libsqlite3.a

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Help on error using compiling Harbour withminGWunderUbuntu 9.04

2009-09-01 Thread elart

On 09/01/2009 06:27 PM, Przemyslaw Czerpak wrote:

On Tue, 01 Sep 2009, elart wrote:

Hi,


Previous message is wrong...
NOT work still this error related to sqlite3
/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/liblibpng.a png.o pngerror.o pnggccrd.o
pngget.o pngmem.o pngpread.o pngread.o pngrio.o pngrtran.o pngrutil.o
pngset.o pngtrans.o pngvcrd.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
|| rm -f ../../../../../lib/win/mingw/liblibpng.a
/usr/bin/i586-mingw32msvc-gcc  -I. -I../../../../../include  -O3
-fomit-frame-pointer -march=i586 -mtune=pentiumpro   -osqlite3.o -c
../../../sqlite3.c
../../../sqlite3.c: In function ‘sqlite3BtreeFactory’:
../../../sqlite3.c:92183: warning: passing argument 2 of
‘sqlite3BtreeOpen’ discards qualifiers from pointer target type
/usr/bin/i586-mingw32msvc-ar   crs
../../../../../lib/win/mingw/libsqlite3.a sqlite3.o || rm -f
../../../../../lib/win/mingw/libsqlite3.a


This is not error message but warning only and you
can safely ignore it.
I do not see any errors.

best regards,
Przemek


Hi Premzek

Thank you.

please give me some suggestion on the default install path for the 
cross-compiled Harbour to test and use in a good way.


Best regards,

Marco
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] build failure: harbour: double free or corruption

2009-08-29 Thread elart

On 08/29/2009 09:50 PM, Viktor Szakáts wrote:

Hi all,

I'm getting GPF in harbour.exe when trying a default BCC build,
it stops when compiling memoedit.prg.

Brgds,
Viktor

On 2009.08.29., at 4:39, Tamas TEVESZ wrote:



Same here on Ubuntu 9.04 32 bits


gcc  -I. -I../../../../../include  -Wall -W -O3   -oadir.o -c adir.c
../../../../../bin/linux/gcc/harbour ../../../alert.prg 
-i../../../../../include -n1 -q0 -w3 -es2 -kmo -l -gc3
*** glibc detected *** ../../../../../bin/linux/gcc/harbour: double free 
or corruption (!prev): 0x08d956d8 ***

=== Backtrace: =
/lib/tls/i686/cmov/libc.so.6[0x400d9604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0x400db5b6]
../../../../../bin/linux/gcc/harbour[0x804939e]
../../../../../bin/linux/gcc/harbour[0x804958c]
../../../../../bin/linux/gcc/harbour[0x804fc27]
../../../../../bin/linux/gcc/harbour[0x80510fe]
../../../../../bin/linux/gcc/harbour[0x804900e]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x40080775]
../../../../../bin/linux/gcc/harbour[0x8048ec1]
=== Memory map: 
08048000-080b4000 r-xp  08:01 7077893 
/home/danilo/src/harbour/bin/linux/gcc/harbour
080b4000-080b5000 r--p 0006b000 08:01 7077893 
/home/danilo/src/harbour/bin/linux/gcc/harbour
080b5000-080d4000 rw-p 0006c000 08:01 7077893 
/home/danilo/src/harbour/bin/linux/gcc/harbour

08d83000-08da4000 rw-p  00:00 0  [heap]
4000-4001c000 r-xp  08:01 9013300/lib/ld-2.9.so
4001c000-4001d000 r--p 0001b000 08:01 9013300/lib/ld-2.9.so
4001d000-4001e000 rw-p 0001c000 08:01 9013300/lib/ld-2.9.so
4001e000-4001f000 r-xp  00:00 0  [vdso]
4001f000-40022000 rw-p  00:00 0
40022000-4002f000 r-xp  08:01 9011253/lib/libgcc_s.so.1
4002f000-4003 r--p c000 08:01 9011253/lib/libgcc_s.so.1
4003-40031000 rw-p d000 08:01 9011253/lib/libgcc_s.so.1
40044000-40068000 r-xp  08:01 9044094 
/lib/tls/i686/cmov/libm-2.9.so
40068000-40069000 r--p 00023000 08:01 9044094 
/lib/tls/i686/cmov/libm-2.9.so
40069000-4006a000 rw-p 00024000 08:01 9044094 
/lib/tls/i686/cmov/libm-2.9.so
4006a000-401c6000 r-xp  08:01 9044006 
/lib/tls/i686/cmov/libc-2.9.so
401c6000-401c7000 ---p 0015c000 08:01 9044006 
/lib/tls/i686/cmov/libc-2.9.so
401c7000-401c9000 r--p 0015c000 08:01 9044006 
/lib/tls/i686/cmov/libc-2.9.so
401c9000-401ca000 rw-p 0015e000 08:01 9044006 
/lib/tls/i686/cmov/libc-2.9.so

401ca000-401ce000 rw-p  00:00 0
4020-40221000 rw-p  00:00 0
40221000-4030 ---p  00:00 0
bfdcd000-bfde2000 rw-p  00:00 0  [stack]
make[3]: *** [alert.c] Aborted
make[3]: *** Deleting file `alert.c'
make[2]: *** [descend] Error 2
make[1]: *** [rtl] Error 2
make: *** [source] Error 2

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Changing install prefix in linux ?

2009-08-20 Thread elart

On 08/20/2009 07:05 PM, Bruno Luciani wrote:

I try to set HB_INSTALL_PREFIX using

export HB_INSTALL_PREFIX=/usr

But when I execute , make install  the target is /usr/local and this
path is wrong
for UBUNTU

Any Idea ?

Bruno




___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Please try the
export HB_INSTALL_PREFIX=/usr/bin
sudo -E make install


.

! MAKE: make 3.81   /bin/sh
! HB_INSTALL_PREFIX: /usr/bin/
! HB_BIN_INSTALL: /usr/bin/
! HB_LIB_INSTALL: /usr/lib/
! HB_INC_INSTALL: /usr/include/
! HB_CONTRIBLIBS: hbqt hbpgsql hbhpdf rddsql hbsqlit3 hbodbc gtqtc
! HB_HOST_ARCH: linux  HB_SHELL: sh
! HB_ARCHITECTURE: linux (autodetected)
! HB_COMPILER: gcc (autodetected)





___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] mpkg_deb.sh -- no existent make_gnu.sh related error

2009-08-19 Thread elart
Output on ./mpkg_deb.sh scripts... hope this helps, thank you and best 
regards...


./mpkg_deb.sh
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package harbour
dpkg-buildpackage: source version 2.0.0beta1-1
dpkg-buildpackage: source changed by Viktor Szakats harbour...@syenar.hu
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
bash make_gnu.sh clean
bash: make_gnu.sh: No such file or directory
make: [clean] Error 127 (ignored)
dh_clean
 debian/rules build
dh_testdir
bash make_gnu.sh
bash: make_gnu.sh: No such file or directory
make: *** [build-stamp] Error 127
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Compile error cannot find...: make_gnu.sh: No such file or directory

2009-08-18 Thread elart

Cannot find and compile make_gnu.sh on Linux...

bash: make_gnu.sh: No such file or directory

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Compile error cannot find...: make_gnu.sh: No such file or directory

2009-08-18 Thread elart

On 08/19/2009 01:51 AM, Bruno Luciani wrote:

Elart , make_gnu.sh is not part of harbour anymore

i don't know how to compile in linux but may be in install file explains it

Bruno Luciani


Thank Bruno on a Ubuntu 9.04 i run this... but might be a better 
method... please tell.


cd to the directory where there are the downloaded harbour svn sources

cd $HOME/src/harbour

then i simply type:

make

i think i must play with the other HB_ exported shell variables to 
include other library into my default build mode.


Thank you


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Harbour svn sources compile error...

2009-07-20 Thread elart

Hi, all

Today compiling Harbour from svn on Ubuntu Linux i get this compile error:

gcc -I. -I../../../../../include  -Wall -W -O3-c ../../../hbinet.c
-ohbinet.o
In file included from ../../../hbinet.c:65:
../../../../../include/hbapinet.h:77: error: field ‘remote’ has
incomplete type
make[3]: *** [hbinet.o] Errore 1
make[3]: uscita dalla directory
«/usr/src/harbour/harbour/source/rtl/obj/linux/gcc»
make[2]: *** [descend] Errore 2
make[2]: uscita dalla directory «/usr/src/harbour/harbour/source/rtl»
make[1]: *** [rtl.inst] Errore 2
make[1]: uscita dalla directory «/usr/src/harbour/harbour/source»
make: *** [source.inst] Errore 2

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Harbour svn trunk compile error

2009-06-25 Thread elart

On Ubuntu with gcc

gcc version 4.4.0 (Ubuntu 4.4.0-8ubuntu2)

Today i get this compile error:

make[2]: uscita dalla directory «/usr/src/harbour/harbour/source/main»
make -C rtl install _HB_BLD=yes
make[2]: ingresso nella directory «/usr/src/harbour/harbour/source/rtl»
make[3]: ingresso nella directory
«/usr/src/harbour/harbour/source/rtl/linux/gcc»
gcc -I. -I../../../../include  -Wall -W -O3-c ../../strpeek.c
-ostrpeek.o
../../strpeek.c: In function ‘HB_FUN_STRPOKE’:
../../strpeek.c:88: error: assignment of read-only location
‘*(hb_itemGetCPtr(pText) + ((unsigned int)ulPos +
0xu))’
make[3]: *** [strpeek.o] Errore 1
make[3]: uscita dalla directory
«/usr/src/harbour/harbour/source/rtl/linux/gcc»
make[2]: *** [descend] Errore 2
make[2]: uscita dalla directory «/usr/src/harbour/harbour/source/rtl»
make[1]: *** [rtl.inst] Errore 2
make[1]: uscita dalla directory «/usr/src/harbour/harbour/source»
make: *** [source.inst] Errore 2

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Linux - Error compiling from svn...

2009-06-19 Thread elart

With latest svn updates i cannot compile, here the error

make[3]: ingresso nella directory
«/usr/src/harbour/harbour/source/vm/linux/gcc»
gcc -I. -I../../../../include  -Wall -W -O3-c ../../runner.c
-orunner.o
../../runner.c: In function ‘hb_hrbLoad’:
../../runner.c:413: error: ‘_HB_SYMB’ undeclared (first use in this
function)
../../runner.c:413: error: (Each undeclared identifier is reported only
once
../../runner.c:413: error: for each function it appears in.)
make[3]: *** [runner.o] Errore 1
make[3]: uscita dalla directory
«/usr/src/harbour/harbour/source/vm/linux/gcc»
make[2]: *** [descend] Errore 2
make[2]: uscita dalla directory «/usr/src/harbour/harbour/source/vm»
make[1]: *** [vm.inst] Errore 2
make[1]: uscita dalla directory «/usr/src/harbour/harbour/source»
make: *** [source.inst] Errore 2
ubu...@ubuntu-desktop:/usr/src$ harbour -build
Harbour 2.0.0beta1 (Rev. 11422)
Copyright (c) 1999-2009, http://www.harbour-project.org/

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Register Harbour project on the Launchpad platform

2009-03-05 Thread elart

On 03/05/2009 05:16 AM, elart wrote:

I want ask you, if you agree, can can register Harbour project on the
powerful Launchpad platform...?

http://launchpad.net

Here the page to register a project
https://launchpad.net/projects/+new-guided

Here an example of query and answer on Ubuntu project...

https://launchpad.net/ubuntu

https://answers.launchpad.net/ubuntu

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Sorry i wasn't clear in my previous question...

I want ask your opinions about to create some kind of qa
and user group of Harbour on Launchpad.

Not for development, i mean this might be a users to users questions and
answers without sending silly questions to the developers mailing list.

I send this here to propose this as suggestion to keep Harbour users
linked and i think Launchpad might be something to try.

I don't want broke already appreciated, used and valid tools already
managed by developers this i think might be something different.

I was thinking about some replacement of the died harbour-users mailing
list...

Can this be appreciated, used from you... ?

Sorry for my bad english... and thank you.

Only for test launchpad and to show you its functionality i have create 
some in demo mode:


https://staging.launchpad.net/harbour-users

it will be deleted by the Launchpad system and it will be not indexed or 
published.


___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Register Harbour project on the Launchpad platform

2009-03-04 Thread elart
I want ask you, if you agree, can can register Harbour project on the 
powerful Launchpad platform...?


http://launchpad.net

Here the page to register a project
https://launchpad.net/projects/+new-guided

Here an example of query and answer on Ubuntu project...

https://launchpad.net/ubuntu

https://answers.launchpad.net/ubuntu

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Harbour under ubuntu

2009-02-23 Thread elart

On 02/22/2009 09:48 PM, Massimo Belgrano wrote:

I have tried download and compile under Ubuntu 8.04 last svn i go

Massimo

I usually use this script to update compile install Harbour svn sources 
i have put this script under the dir /usr/src of my Ubuntu pc.

I run this script using sudo

Open a terminal from Applications → Accessories → Terminal and type:
sudo gedit /usr/src/MBaggharbour_svn

Copy and paste the rows below:

#!/bin/bash
cd /usr/src
svn co 
https://harbour-project.svn.sourceforge.net/svnroot/harbour-project/trunk harbour

cd /usr/src/harbour/harbour
export HB_BIN_INSTALL=/usr/bin/;
export HB_LIB_INSTALL=/usr/lib/;
export HB_INC_INSTALL=/usr/include/
# export HB_CONTRIBLIBS=hbpgsql, hbsqlit3
chmod 700 make_gnu.sh
hbverfix
sh ./make_gnu.sh clean; sh ./make_gnu.sh; sh ./make_gnu.sh install

Save and exit.

Then still using terminal type:

sudo chmod 700 /usr/src/MBaggharbour_svn

Then run this script...

cd /usr/src
sudo ./MBaggharbour_svn

Hope this helps
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Tips to use commons harbour scripts and tools with a already set distcc shell environment

2009-02-16 Thread elart

I use distcc to distribute my kernel compile to other Linux computer.
So i have the default gcc wrapped to another path.

My question: what can i do to configure and use the hbcmp and other 
tools coming with Harbour.


Actually i don't use them and i have tried hbcmp (shell script) and it 
don't work it look for standard gcc path.


I was playing with the tools of this page:

http://www.harbour-project.org/samples/HowToBuildOnLinux.html

to see if i can get a default Harbour enviroment to play with other samples.

Thank you in advance.

Best regards.

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Any idea to run some kind of Openoffice (on linux) harbour integration

2009-02-16 Thread elart
On the old Windows days i was able using Visual Objects to run 
Openoffice and make some useful with it..., now i'm glad to work only 
with Linux.


http://www.groupsrv.com/computers/about313338.html

I ask you some starting points to make the same with Harbour and 
Openoffice on Linux, i mean run Openoffice via uno interface or 
something similar 
(http://udk.openoffice.org/common/man/uno_the_idea.html) via Harbour.


Thank you in advance

Best regards.
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Website layout updated!

2009-02-15 Thread elart

Very good Renato...

Thank you

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] Linux Ubuntu 8.10 error on compile...

2009-02-10 Thread elart

Today compiling from sources...

make[3]: Entering directory
`/usr/src/harbour/harbour/source/rtl/linux/gcc'
gcc -I. -I../../../../include -Wall -W -O3  -c ../../filesys.c -ofilesys.o
../../filesys.c: In function ‘hb_fsBaseDirBuff’:
../../filesys.c:3242: error: invalid operands to binary + (have
‘char[257]’ and ‘int’)
../../filesys.c:3246: error: ‘byBuffer’ undeclared (first use in this
function)
../../filesys.c:3246: error: (Each undeclared identifier is reported only
once
../../filesys.c:3246: error: for each function it appears in.)
make[3]: *** [filesys.o] Error 1
make[3]: Leaving directory
`/usr/src/harbour/harbour/source/rtl/linux/gcc'
make[2]: *** [descend] Error 2
make[2]: Leaving directory `/usr/src/harbour/harbour/source/rtl'
make[1]: *** [rtl.inst] Error 2
make[1]: Leaving directory `/usr/src/harbour/harbour/source'
make: *** [source.inst] Error 2

Best regards and thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


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

2009-02-10 Thread elart

Log Message:
---
2009-02-10 10:35 UTC+0100 Viktor Szakats (harbour.01 syenar hu)
  * source/rtl/filesys.c
! Fixes for *NIX compilation to latest change.
  Please test. [ some more ]


Viktor, compile was successful.

Thank you
___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] test

2009-01-06 Thread elart

test

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


Re: [Harbour] Building xhgtk library

2008-12-03 Thread elart

On 12/02/2008 03:51 PM, Barry Jackson wrote:

I am trying to build xhgtk library in Linux.
I have extracted xhgtk_20080616.zip to /home/baz/xhgtk then:-

[EMAIL PROTECTED] xhgtk]$ ./build.sh
bash: ./build.sh: Permission denied

If I make build.sh executable, then:-

[EMAIL PROTECTED] xhgtk]$ ./build.sh
: command not found
: command not found
: No such file or directory
'.  Stop. No rule to make target `Makefile
: command not found:
[EMAIL PROTECTED] xhgtk]$

I have also tried the above as root although I am sure that is not needed.
What am I doing wrong?




How download and compile xhgtk into Ubuntu
using Harbour (harbour from cvs)

Open a terminal and type:

cd
wget http://heanet.dl.sourceforge.net/sourceforge/xhgtk/xhgtk_20080616.zip
unzip xhgtk_20080616.zip

cd xhgtk
--
gedit source/gtk/gtkliststore.c +222

Change the row:

hb_dateFormat( hb_pardsbuff( szDate, 4 ), szFormatted, 
hb_set.HB_SET_DATEFORMAT );


with

hb_dateFormat( hb_pardsbuff( szDate, 4 ), szFormatted, 
hb_setGetDateFormat() );




gedit source/gtk/gtkliststore.c +141

change the row:
hb_dateFormat( hb_pardsbuff( szDate, i+1 ), szFormatted, 
hb_set.HB_SET_DATEFORMAT );

to
hb_dateFormat( hb_pardsbuff( szDate, i+1 ), szFormatted, 
hb_setGetDateFormat() );

--

mkdir obj
mkdir lib

export HB_BIN_INSTALL=/usr/bin; export HB_INC_INSTALL=/usr/include

make

- How to compile sample/misc
To compile some examples, type:

sudo apt-get install tofrodos glade-gnome

cd samples/misc
dos2unix build.sh
gedit build.sh

Modify and add the -lgttrm library to as below

if [ $HB_GT_LIB = gtsln ]; then
   LIBFILES=$LIBFILES -lgtsln -lslang -lgttrm
fi

export HB_COMPILER=gcc; export HB_GT_LIB=gtsln
chmod 700 build.sh
./build.sh datepicker

- How to compile sample/glade these files are glade related
Glade Interface Designer is a graphical user interface builder for GTK+, 
with additional components for GNOME.
In its third version, Glade is programming language–independent, and 
does not produce code for events,
but rather an XML file that is then used with an appropriate binding 
(such as gtkada for use with the

 Ada programming language).

To install Glade
sudo apt-get install glade-gnome

cd ../gladea littel
dos2unix build.sh
chmod 700 build.sh

Modify and add the -lgttrm library to as below

if [ $HB_GT_LIB = gtsln ]; then
   LIBFILES=$LIBFILES -lgtsln -lslang -lgttrm
fi

Then type or better copy and paste

echo '#!/bin/bash'  lin_compile_all.sh
echo 'export HB_COMPILER=gcc; export HB_GT_LIB=gtsln'  lin_compile_all.sh
ls -1 *.prg | sed 's/.prg//' | sed 's/^/.\/build.sh /'  lin_compile_all.sh
chmod 700 lin_compile_all.sh
./lin_compile_all.sh

- How to compile sample/functions

cd ../functions
dos2unix build.sh
chmod 700 build.sh

Modify and add the -lgttrm library to as below

if [ $HB_GT_LIB = gtsln ]; then
   LIBFILES=$LIBFILES -lgtsln -lslang -lgttrm
fi

echo '#!/bin/bash'  lin_compile_all.sh
echo 'export HB_COMPILER=gcc; export HB_GT_LIB=gtsln'  lin_compile_all.sh
ls -1 *.prg | sed 's/.prg//' | sed 's/^/.\/build.sh /'  lin_compile_all.sh
chmod 700 lin_compile_all.sh
./lin_compile_all.sh

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour


[Harbour] I'm looking for some development gui, lib or tools for Linux...

2008-11-18 Thread elart

I'm using Ubuntu with Gnome and Harbour is working fine, thank you

I'm looking for some gui lib (gtk or qt ) for Harbour on Linux...

I want ask you about the HMG_Linux 
http://harbourminigui.googlepages.com/linux lib


i played with it http://www.hmgforum.com/viewtopic.php?f=8t=156
removed all warning messages of the /hmg/samples/test demo app and it 
works...


It seems in at very early stage but i think may be very useful when it 
is mature.


Is there any tools to develop Harbour app using Glade...? i mean 
something like this:

http://robrohan.com/2007/05/21/linux-gui-programming-with-ruby/
http://xrob.wordpress.com/2007/04/20/creating-a-gui-application-using-glade-and-ruby/


I'm thinking of something like this:
- Glade as window designer ( it make as final result a .xml file )
- an Harbour prg compiled app to generate code from the Glade xml  ( 
something like the ruby-glade-create-template )
- the generate code must be simple so i'm searching for an high level 
gtk like HMG_Linux


Do you have some suggestions...?

Thank you

___
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour