Fwd: Re: [harbour-users] Letodb

231 просмотр
Перейти к первому непрочитанному сообщению

vatzct

не прочитано,
27 февр. 2012 г., 10:07:0027.02.2012
– harbou...@googlegroups.com

27.02.2012 16:46, Bruno Luciani написав(ла):
Alex I apreciate your help , but I can't compile sucessfully

Now I have a correct copy of sources but the problem persists

I don't know why , the list of errors is so long that I can't get all in my console

Any Idea  ?

Bruno

2012/2/27 vatzct <vat...@polly.com.ua>


more correct command (but from win)

cvs -d:pserver:anon...@letodb.cvs.sourceforge.net:/cvsroot/letodb login
cvs -d:pserver:anon...@letodb.cvs.sourceforge.net:/cvsroot/letodb co -P -r rel-1-mt letodb

Regards,
Alexey Myronenko
--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users

--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users
i build letodb with the next command
hbmk2 rddleto.hbp letodb.hbp -target=tests/test_ta.prg -target=tests/test_tr.prg -trace > log2.txt 2>&1
can you try it?
And you try the make_linux.sh?


Regards,
Alexey Myronenko


Przemysław Czerpak

не прочитано,
29 февр. 2012 г., 07:38:4929.02.2012
– harbou...@googlegroups.com
On Mon, 27 Feb 2012, vatzct wrote:

Hi Alex,

> i build letodb with the next command
> hbmk2 rddleto.hbp letodb.hbp -target=tests/test_ta.prg
> -target=tests/test_tr.prg -trace > log2.txt 2>&1
> can you try it?

I've just tested it (rel-1-mt) and LETO uses native windows
types in its code and this is the source of the problem.
Below I'm attaching workaround for it (it defines BOOL, LONG,
UINT, ...) which resolves the problem with Harbour builds but
I suggest to clean LETO code and replace all such types with
native Harbour.
I also suggest to create one header file included by leto
source code which will have all macros necessary to hide
differences between Harbour and xHarbour and older versions
of both compilers instead of hardcoding them in different
places. The code will be much cleaner and easier to update.

> And you try the make_linux.sh?

I strongly suggest to use HBMK2.

best regards,
Przemek

leto-cvs.diff

vatzct

не прочитано,
29 февр. 2012 г., 08:06:0729.02.2012
– harbou...@googlegroups.com
29.02.2012 14:38, Przemysław Czerpak написав(ла):
Hi!

Thanks a lot. I'll say to
Pavel Tsarenko about it, he is supports letodb now.

Regards,
Alexey Myronenko

Massimo Belgrano

не прочитано,
29 февр. 2012 г., 09:34:5029.02.2012
– harbou...@googlegroups.com
a question for Przemek and Pavel Tsarenko 
Possible have a odbc driver for netio and letodb?
using a   ODBC SDK like:
http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/ A cross platform ODBC SDK (for writing Drivers, or making applications database independent)




--
You received this message because you are subscribed to the Google
Groups "Harbour Users" group.
Unsubscribe: harbour-user...@googlegroups.com
Web: http://groups.google.com/group/harbour-users



--
Massimo Belgrano


Bruno Luciani

не прочитано,
29 февр. 2012 г., 10:54:4429.02.2012
– harbour-users
Thanks Przemek

I thought that I was crazy !!!!

It is not compiling on Linux !!

Bruno

2012/2/29, Przemysław Czerpak <dru...@poczta.onet.pl>:

Bruno Luciani

не прочитано,
29 февр. 2012 г., 11:58:2129.02.2012
– harbour-users
Przemek , How I can apply this .diff file to my local copy of leto CVS ?

on linux


Bruno

2012/2/29, Bruno Luciani <bruno....@gmail.com>:

Przemysław Czerpak

не прочитано,
29 февр. 2012 г., 12:15:4229.02.2012
– harbou...@googlegroups.com
On Wed, 29 Feb 2012, Bruno Luciani wrote:
> Przemek , How I can apply this .diff file to my local copy of leto CVS ?
> on linux

inside leto root directory:
patch -p1 < leto-cvs.diff

best regards,
Przemek

ptmocho

не прочитано,
29 февр. 2012 г., 12:19:3229.02.2012
– harbou...@googlegroups.com
I have that problem to, how can i apply the .diff using tortoiseSVN

Thank you

Sergio



2012/2/29 Bruno Luciani <bruno....@gmail.com>

Bruno Luciani

не прочитано,
29 февр. 2012 г., 12:21:1529.02.2012
– harbour-users
OK I just aplied the patch and now compiles on linux ok

I try to test

Thanks All

ptmocho

не прочитано,
29 февр. 2012 г., 12:59:0729.02.2012
– harbou...@googlegroups.com
can you please give me a hand here, how can i apply the diff using cvs on windows ?

i normally use tortoise but no address i know sync the sources of letodb,  cvs is working but don´t know how to apply the diff.

Thnaks for your time


Sérgio

2012/2/29 Przemysław Czerpak <dru...@poczta.onet.pl>

best regards,
Przemek

Bruno Luciani

не прочитано,
29 февр. 2012 г., 13:06:2129.02.2012
– harbou...@googlegroups.com
Hum but this patch is for letodb compiles and works on Linux

I you have got the CVS code you need CVS to apply this patch , at least

I think so

Try putting the dif file on CVS root and use right mouse click and try to use
CVS commands

Bruno

2012/2/29, ptmocho <ptm...@gmail.com>:

Pavel Tsarenko

не прочитано,
1 мар. 2012 г., 11:05:4601.03.2012
– harbou...@googlegroups.com
Thanks, Przemek, I commited your patch

Best regards, Pavel Tsarenko

Bruno Luciani

не прочитано,
1 мар. 2012 г., 19:25:1201.03.2012
– harbou...@googlegroups.com
I try the patched version of Letodb

and compiles ok , but server not works

I get this error in leto server log

What I am doing wrong ?

03/01/12 14:34:36: Leto DB Server has been started.
Leto DB Server v.2.03 ! INIT: DataPath=/home/bruno/leto,
ShareTables=0, MaxUsers=500, MaxTables=5000, CacheRecords=10
03/01/12 14:34:36: Socket error OK
03/01/12 14:34:36: Server has been closed.
03/01/12 14:34:37: Server has been closed.


This is my letodb.ini

Port = 2812
DataPath =/home/bruno/leto
Logfile = "letodb.log"
Default_Driver = CDX
EnableFileFunc = 1


Bruno

2012/2/29, vatzct <vat...@polly.com.ua>:

Ответить всем
Отправить сообщение автору
Переслать
0 новых сообщений