Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-02

Can't install LazSerial 0.2 in Lazarus 2.0 under Raspbian

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Joe

Hi,

the package can't be compiled. Reason: The file "lazsynaser.pas" in lines 252..262 references undefined constants. They should be defined in file 'termios.inc'. In other operating systems and/or Lazarus versions they are, but not in Lazarus 2.0 under Raspbian Stretch, Nov 2018 edition.

As a quick and very dirty intermediate fix I replaced the constants in these lines with literal expressions. This worked, but of course that's no tidy solution.

I could not get the mail address of 'JurassicPork', the author of LazSerial. Does someone know this address?

Regards --  Joe

Reply by email

Howard Page-Clark
to Joe
Joe wrote 14 lines
Hi, the package can't be compiled. Reason: The file "lazsynaser.pas" in lines 252..262 references undefined constants. They should be defined in file 'termios.inc'. In other operating systems and/or Lazarus versions they are, but not in Lazarus 2.0 under Raspbian Stretch, Nov 2018 edition. As a quick and very dirty intermediate fix I replaced the constants in these lines with literal expressions. This worked, but of course that's no tidy solution. I could not get the mail address of 'JurassicPork', the author of LazSerial. Does someone know this address?

Why not use the Lazarus forum members' section to send him a private message? After login:

http://forum.lazarus-ide.org/index.php?action=profile;u=51097

Just click "Send PM"

He'll see the message the next time he logs on.

Reply by email

Joe
to Howard Page-Clark
Howard Page-Clark wrote
Why not use the Lazarus forum members' section to send him a private message?

I clicked this link. After login, I got the error message 'An Error Has Occurred. You are not allowed to access this section'.

Reply by email

Howard Page-Clark
to Joe
Joe wrote 6 lines
Am 22.02.2019 um 15:42 schrieb Howard Page-Clark via lazarus: > Why not use the Lazarus forum members' section to send him a private > message? I clicked this link. After login, I got the error message 'An Error Has Occurred. You are not allowed to access this section'.

Perhaps access via a link is not allowed.

Try logging in as you normally would to the Lazarus forum.

Then find Jurassic Pork's members page either by clicking on his underlined name in one of the posts he has made, or by searching for his name in the Members section. Then try sending him a PM.

Reply by email

Joe
to Howard Page-Clark
Howard Page-Clark wrote 6 lines
Try logging in as you normally would to the Lazarus forum. Then find Jurassic Pork's members page either by clicking on his underlined name in one of the posts he has made, or by searching for his name in the Members section. Then try sending him a PM.

This didn't work. But I could append the text to a thread, which was originated and seems to be read by J. P.
Thank you, Howard.
Regards --  Joe

Reply by email

Pedro Restrepo
to Joe: the package can't be compiled. Reason: The file "lazsynaser.pas" in lines 252..262…

Joe,

I am running LazSerial v0.2 on Raspbian. I ran into the same problems you did, but finally got it installed. I can't remember exactly what I did, but in my source code I commented out lines 251..263. I can send you the source and the compiled versions. It has been working flawlessly for about 4 months

Pedro

On Fri, Feb 22, 2019 at 8:34 AM Joe via lazarus <

Show quoted text 27 lines
wrote: Hi, the package can't be compiled. Reason: The file "lazsynaser.pas" in lines 252..262 references undefined constants. They should be defined in file 'termios.inc'. In other operating systems and/or Lazarus versions they are, but not in Lazarus 2.0 under Raspbian Stretch, Nov 2018 edition. As a quick and very dirty intermediate fix I replaced the constants in these lines with literal expressions. This worked, but of course that's no tidy solution. I could not get the mail address of 'JurassicPork', the author of LazSerial. Does someone know this address? Regards -- Joe -- _______________________________________________ lazarus mailing list https://lists.lazarus-ide.org/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190222/9a8f580c/attachment.html>

Reply by email

Patrick Chevalley
to Joe: the package can't be compiled. Reason: The file "lazsynaser.pas" in lines 252..262…

here my patch, it is for the original synaser so line number can differ a bit in lazsynaser:

https://github.com/pchev/skychart/blob/master/skychart/component/synapse/cdc_arm.patch (https://github.com/pchev/skychart/blob/master/skychart/component/synapse/cdc_arm.patch) -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190223/adabcfa6/attachment.html>

Reply by email