#1 2019-02-18 19:28:54

Bsaidus
Member
From: Algeria
Registered: 2018-12-16
Posts: 30

fpc/lazarus - mormot

Hello.
Witch version of fpc/lazarus do you advice me to use with mORMot since newpascal is not maintained anymore??
Thanks.

Offline

#2 2019-02-18 21:36:42

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 11,693
Website

Re: fpc/lazarus - mormot

For our production work, we picked up "preferred" revisions for FPC / Lazarus trunk, which are currently:
- FPC trunk SVN 40491
- Lazarus trunk SVN 59757

We enter those SVN revisions when building our own FPC + Lazarus, using https://github.com/newpascal/fpcupdelux … ses/latest
Just click on the "Setup +" button and enter above numbers before building.

Offline

#3 2019-02-20 20:44:34

Bsaidus
Member
From: Algeria
Registered: 2018-12-16
Posts: 30

Re: fpc/lazarus - mormot

ab wrote:

For our production work, we picked up "preferred" revisions for FPC / Lazarus trunk, which are currently:
- FPC trunk SVN 40491
- Lazarus trunk SVN 59757

We enter those SVN revisions when building our own FPC + Lazarus, using https://github.com/newpascal/fpcupdelux … ses/latest
Just click on the "Setup +" button and enter above numbers before building.



Merci !!

Offline

#4 2019-02-21 11:19:56

mpv
Member
From: Ukraine
Registered: 2012-03-24
Posts: 1,076
Website

Re: fpc/lazarus - mormot

I discover FPC trunk sometimes have unexpected bugs, so I use FPC: fixes 3.2 branch and Lazarus: fixes 2.0 in fpcupeluxe. It seams more stable to me

Offline

#5 2019-05-22 18:15:29

macfly
Member
From: Brasil
Registered: 2016-08-20
Posts: 276

Re: fpc/lazarus - mormot

The big problem is that the SVN server is very, very slow.
I'm trying to do a new install with the fpcupdeluxe a few days and it did not complete.

Timeout occurs when downloading source.

And the Git mirror repository has only the trunk, which is with Lazarus bugged, does not start.

It would be interesting to have these best versions that work well with Mormot in Git.

With SVN this is impractical.

Online

#6 2019-05-23 05:27:05

edwinsn
Member
Registered: 2010-07-02
Posts: 1,049

Re: fpc/lazarus - mormot

Yes, SVN is much slower than git.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#7 2019-05-24 14:48:08

macfly
Member
From: Brasil
Registered: 2016-08-20
Posts: 276

Re: fpc/lazarus - mormot

I do not know if this is only for some countries / networks, but form me, fpcupdeluxe never complete the checkout using Free Pascal SVN server.

Here's a workaround to solve, for those with the same problem and need to install a specific revision that works well with Mormot.


I installed the revisions indicated by the ab, and it works very well.

- FPC trunk SVN 40491
- Lazarus trunk SVN 59757

1 - Create the these two folders "fpcsrc" and "lazarus" inside the same directory where fpcupdeluxe will install.

2 - Use a SVN client to a checkout of the revision you want to use.

The timeouts will occur, so do: A Cleanup and Update, repeatedly until complete.

(For me it took a minimum of 10 resumes each to complete)

3 - IMPORTANT: Run fpcupdeluxe, click in "Setup+" and set same revision of chekout in the appropriate fields.

4 - Let the fcupdeluxe do his job.

As the source has already been downloaded for the same revision, it will not be downloaded again and the install will be complete.


PS1: A .bat to do this cleanup ... update automatically until complete, can help. I did it manually to test, but if the svn server still slow I will have to create one and then post here.

PS2: I made the suggestion in the fpcupdeluxe thread to himself make this looping until complete the checkout. I hope it is implemented, because it already tries to make a resume, but only 1 or 2 times.
There are more people with the same problem.

Last edited by macfly (2019-05-24 14:55:47)

Online

#8 2019-05-24 15:32:00

edwinsn
Member
Registered: 2010-07-02
Posts: 1,049

Re: fpc/lazarus - mormot

@macfly, where are you in? Yes, in China here without an "extended" VPN the svn check out most likely will fail.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#9 2019-05-24 16:31:13

macfly
Member
From: Brasil
Registered: 2016-08-20
Posts: 276

Re: fpc/lazarus - mormot

@edwinsn I'm from Brazil.

Here we have no problems with "purposeful" network blocking.

My connection is fiber 100MB, and I have no problems with other sources.

Another issue, the Indy server to download SSLs is protected by captcha for me.

I saw in fpcupdeluxe thread that this is not for everyone.

Certainly the servers are acting differently according to the IP location.

Last edited by macfly (2019-05-24 16:37:29)

Online

#10 2019-05-25 06:23:29

edwinsn
Member
Registered: 2010-07-02
Posts: 1,049

Re: fpc/lazarus - mormot

macfly wrote:

@edwinsn I'm from Brazil.
Another issue, the Indy server to download SSLs is protected by captcha for me.

I saw in fpcupdeluxe thread that this is not for everyone.

Certainly the servers are acting differently according to the IP location.

Since the source check out process need to download a lot of files, and given the fact that SVN is not very fast,  to me it's more like a technical issue on the server side.


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

#11 2019-05-25 13:40:04

macfly
Member
From: Brasil
Registered: 2016-08-20
Posts: 276

Re: fpc/lazarus - mormot

I agree

Online

#12 2019-05-30 12:37:55

Bsaidus
Member
From: Algeria
Registered: 2018-12-16
Posts: 30

Re: fpc/lazarus - mormot

Hello All,
I think sometimes, or every time you change your production environment (FPC/Lazarus), you should if you do not mind tell us the SVN branch versions.
This will permit to us to follow you and well use the wonderful mORMot framework.

Thank you.

Offline

#13 2019-05-30 14:36:03

edwinsn
Member
Registered: 2010-07-02
Posts: 1,049

Re: fpc/lazarus - mormot

I agree with Bsaidus smile


Delphi XE4 Pro on Windows 7 64bit.
Lazarus trunk built with fpcupdelux on Windows with cross-compile for Linux 64bit.

Offline

Board footer

Powered by FluxBB