#1 2016-10-24 15:39:06

nomorelogic
Member
Registered: 2014-10-13
Posts: 8

New Pascal for linux info

hi all

I see you're working on linux version too smile
Is there an hypothetical release date?

thanks
nomorelogic

Offline

#2 2016-10-25 06:32:17

AOG
Member
Registered: 2014-02-24
Posts: 346

Re: New Pascal for linux info

The work on Linux has been done already .... and completed also !
The mORMot runs on all kinds of Linux flavours, as well as on Android !

http://blog.synopse.info/post/soaarmfpc
http://synopse.info/files/html/Synopse% … l#TITL_113

You can use NewPascal to cross-compile towards the Linux you want.
Or just use your own Linux FPC/Lazarus.

If you want to use all the features of the mORMot the easy way, you need a FPC with extended interface RTTI.
You can use fpcup (https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/) to build a suitable FPC/Lazarus yourself:
./fpclazup --fpcURL="trunk" --lazURL="trunk" --fpcPATCH="fpctrunkrtti.patch"

Offline

#3 2016-10-28 07:12:06

Peter Evans
Member
Registered: 2016-07-03
Posts: 31

Re: New Pascal for linux info

I am interested in the answer to this question also.
When I go to the Downloads page I see "Project build status".

Under Windows is it's status. All state "passing".

But under Linux it states "build coming soon". I think the questioner refers to that message.

Regards,
  Peter Evans

Offline

#4 2016-10-29 08:04:03

nomorelogic
Member
Registered: 2014-10-13
Posts: 8

Re: New Pascal for linux info

yes, I was referring that message

Edit:
regards
nomorelogic

Last edited by nomorelogic (2016-10-29 08:04:36)

Offline

#5 2017-03-15 04:52:46

antispam88
Member
Registered: 2016-08-19
Posts: 14

Re: New Pascal for linux info

Hi,

can someone give an update about the state of the linux version? When will it be ready?

We are discussing do use mormot on linux too therefore it would be great if we could use newpascal.

Best regards,
antispam88

Offline

#6 2017-03-15 07:27:35

edwinsn
Member
Registered: 2010-07-02
Posts: 656

Re: New Pascal for linux info

To all,

mORMot for Linux (via FPC) has been available since the year 2015.

First ANN: http://blog.synopse.info/post/2015/01/1 … nks-to-FPC


Delphi XE4 Professional. Windows 7 64bit.

Offline

#7 2017-03-15 08:47:57

antispam88
Member
Registered: 2016-08-19
Posts: 14

Re: New Pascal for linux info

Yes, I read this post.
But my question was about newpascal.
We want to use all features of mormot without workarounds (described in https://synopse.info/forum/viewtopic.php?id=3852).
Therefore we need newpascal.
Today we are developing our application with Lazarus 1.6.4/FPC 3.0.2 for Windows and Linux (Ubuntu/Debian).
But we are thinking about using mormot and this is why we want to know about the timeframe of the linux version.

Best regards,
antispam88

Offline

#8 2017-03-15 13:24:36

edwinsn
Member
Registered: 2010-07-02
Posts: 656

Re: New Pascal for linux info

Oops! Sorry for misreading the quesiton tongue


Delphi XE4 Professional. Windows 7 64bit.

Offline

#9 2017-03-15 16:56:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 9,475
Website

Re: New Pascal for linux info

The Linux mORMot edition is already released.
There is no such thing as a "release" with the framework, which has continuous integration.

Linux support is pretty good, and, as you wrote, NewPascal is the way to go if you want to safely use all mORMot features (as RTTI for interface-based services).
The idea is to download the latest NewPascal and the latest mORMot, and they should work in synch.
If you upgrade mORMot, you will probably need to upgrade NewPascal too.

Offline

#10 2017-03-15 21:16:15

antispam88
Member
Registered: 2016-08-19
Posts: 14

Re: New Pascal for linux info

Maybe something is lost in translation but I try it again:
I know that the linux mormot edition is released.
I only want to know the timeframe of the NewPascal linux edition. The homepage of newpascal is announcing, that the linux pack is coming soon.
So my question is when will it be ready?

Best regards,
antispam88

Last edited by antispam88 (2017-03-15 21:17:17)

Offline

#11 2017-03-15 21:31:26

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 9,475
Website

Re: New Pascal for linux info

Get it from the sources, using FPC deluxe.

See https://github.com/newpascal/fpcupdelux … ses/latest

Offline

#12 2017-03-16 12:02:13

antispam88
Member
Registered: 2016-08-19
Posts: 14

Re: New Pascal for linux info

Ok, I tried it on Win 10 Pro: NewPascal installation was ok,
but mORMot button exits with
    fpcupdeluxe: ERROR: Error downloading from https://github.com/newpascal-ccr/mORMot … master.zip. Continuing regardless.
    fpcupdeluxe: info: Getting archive failed. Trying another source, if available.
    fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence mORMotFPC; line: 3, param: mORMotFPC
    fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: mORMotFPC

But I got an error on Ubuntu 16.04 LTS 64 (FPC + Lazarus -> newpascal; CPU -> x8664; OS -> linux; NewPascal clicked):
    (fpcupdeluxe-x86_64-linux:5535): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
    Speicherzugriffsfehler (Speicherabzug geschrieben)

Best regards,
antispam88

Offline

#13 2017-03-16 13:19:15

AOG
Member
Registered: 2014-02-24
Posts: 346

Re: New Pascal for linux info

@antispam88
Just get the mORMot from the official sources (GitHub). It should work.
The Linux error: have seen before, forgot what to do about it, will look into it again !

Offline

Board footer

Powered by FluxBB