Sign in Join

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

Mailing lists / lazarus / 2017-05

Lazarus 1.8 RC1 under Raspbian Jessie

29 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

Joe

I am trying to test Lazarus 1.8 RC1 (and following versions) under Raspbian Jessie with PIXEL.
But unfortunately I could not find any instructions or scripts helping to install *this* RC.
Any hint?
Regards -Joe

Reply by email

Bo Berglund
to Joe
Joe wrote 5 lines
I am trying to test Lazarus 1.8 RC1 (and following versions) under Raspbian Jessie with PIXEL. But unfortunately I could not find any instructions or scripts helping to install *this* RC. Any hint?

You could try my script for installation of FPC + Lazarus on an RPi3. http://blog.boberglund.com/install_lazfpc_local_pi.sh

In order to get the version you need just edit the script before running it and replace the versions at the top of the file with the one you want.
It will install into the pi user space rather than make a global installation using sudo.

I have not tested with the more recent Lazarus 1.8, but it worked fine with 1.6RCx and 1.6 release.

Bo Berglund Developer in Sweden

Reply by email

Mark Morgan Lloyd
to Bo Berglund
Bo Berglund wrote 5 lines
On Thu, 25 May 2017 18:46:43 +0200, Joe via Lazarus wrote: > I am trying to test Lazarus 1.8 RC1 (and following versions) under >Raspbian Jessie with PIXEL.>But unfortunately I could not find any instructions or scripts helping >to install *this* RC.>Any hint? You could try my script for installation of FPC + Lazarus on an RPi3.http://blog.boberglund.com/install_lazfpc_local_pi.sh In order to get the version you need just edit the script beforerunning it and replace the versions at the top of the file with theone you want.It will install into the pi user space rather than make a globalinstallation using sudo. I have not tested with the more recent Lazarus 1.8, but it worked finewith 1.6RCx and 1.6 release.

Just to check the "standard way of doing it" in case there's any surprises, with FPC 3.0.2 installed:

svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 cd lazarus_1_8_0_RC1
make

That worked as expected.

make clean bigide

That also worked, except that there was a message about purist woult probably object that the
binary hadn't been added to the desktop environment's menu.

That's an up-to-date "full" Raspbian (i.e. not "lite").

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Bo Berglund
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 17 lines
Just to check the "standard way of doing it" in case there's any surprises, with FPC 3.0.2 installed: svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 cd lazarus_1_8_0_RC1 make That worked as expected. make clean bigide That also worked, except that there was a message about purist woult probably object that the binary hadn't been added to the desktop environment's menu. That's an up-to-date "full" Raspbian (i.e. not "lite").

I made the script in order to install "everything" on a bare bones RPi with Raspbian from the install image. So it therefore also installs FPC, then Lazarus. And it uses a start compiler I made myself since I could not find any 3.0.0 FPC for ARMHF on RPi at the time. It is downloaded as part of running the script.

Bo Berglund Developer in Sweden

Reply by email

Mark Morgan Lloyd
to Bo Berglund
Bo Berglund wrote
On Fri, 26 May 2017 13:29:50 +0000, Mark Morgan Lloyd via Lazarus wrote: >> Just to check the "standard way of doing it" in case there's any >surprises, with FPC 3.0.2 installed:>>svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1>cd lazarus_1_8_0_RC1>make>>That worked as expected.>>make clean bigide>>That also worked, except that there was a message about > purist woult probably object that the >binary hadn't been added to the desktop environment's menu.>>That's an up-to-date "full" Raspbian (i.e. not "lite"). I made the script in order to install "everything" on a bare bones RPiwith Raspbian from the install image. So it therefore also installsFPC, then Lazarus. And it uses a start compiler I made myself since Icould not find any 3.0.0 FPC for ARMHF on RPi at the time.It is downloaded as part of running the script.

My apologies, but since you hadn't tested it for the current RC I assumed you'd abandoned it.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Bo Berglund
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote
My apologies, but since you hadn't tested it for the current RC I assumed you'd abandoned it.

No apology needed!

It's just that I have 6 RPi:s running at home for different purposes and those I use for FPC programming are working well as it is, so I have not even looked for new releases of Lazarus recently.

The script was done for this:
1) To simplify the initial installation on a brand new RPi
2) To make sure the install is done to the pi environment rather than global with sudo.

Bo Berglund Developer in Sweden

Reply by email

Mark Morgan Lloyd
to Bo Berglund
Bo Berglund wrote 5 lines
On Fri, 26 May 2017 15:52:06 +0000, Mark Morgan Lloyd via Lazarus wrote: > My apologies, but since you hadn't tested it for the current RC I >assumed you'd abandoned it. No apology needed! It's just that I have 6 RPi:s running at home for different purposesand those I use for FPC programming are working well as it is, so Ihave not even looked for new releases of Lazarus recently. The script was done for this:1) To simplify the initial installation on a brand new RPi2) To make sure the install is done to the pi environment rather thanglobal with sudo.

Noted. But I'd got one next to me earmarked for development onto which I could easily checkout the RC (using the original published URL) and where I could check the build using the basic commands that the developers expected and which are probably buried somewhere in the Wiki :-)

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Joe
to Bo Berglund: On Thu, 25 May 2017 18:46:43 +0200, Joe via Lazarus You could try my script for…
Bo Berglund wrote 6 lines
You could try my script for installation of FPC + Lazarus on an RPi3. http://blog.boberglund.com/install_lazfpc_local_pi.sh In order to get the version you need just edit the script before running it and replace the versions at the top of the file with the one you want.

Bo,
unfortunately, this failed with error message something could not be found. Seems, I did not edit the script the right way. What lines are to be edited and exactly how for Lazarus 1.8.0 RC1? Thanx -- Joe

Reply by email

Joe
to Mark Morgan Lloyd: Just to check the "standard way of doing it" in case there's any surprises, with FPC…
Mark Morgan Lloyd wrote 10 lines
Just to check the "standard way of doing it" in case there's any surprises, with FPC 3.0.2 installed: svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 cd lazarus_1_8_0_RC1 make That worked as expected. make clean bigide

Mark,
I installed FPC 3.0.2 and then followed your proposal. But the compilation of Lazarus 1.8.0 RC1 was aborted with an error message saying FPC 3.0.0 was needed.
How to fix?
Regards -- Joe

Reply by email

Mattias Gaertner
to Joe
Show quoted text 16 lines
Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus: > Just to check the "standard way of doing it" in case there's any > surprises, with FPC 3.0.2 installed: > > svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 > cd lazarus_1_8_0_RC1 > make > > That worked as expected. > > make clean bigide Mark, I installed FPC 3.0.2 and then followed your proposal. But the compilation of Lazarus 1.8.0 RC1 was aborted with an error message saying FPC 3.0.0 was needed.

What is the exact error message?

Mattias

Reply by email

Mark Morgan Lloyd
to Joe: I installed FPC 3.0.2 and then followed your proposal. But the compilation of Lazarus…
Joe wrote 8 lines
Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus:> Just to check the "standard way of doing it" in case there's any > surprises, with FPC 3.0.2 installed:>> svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1> cd lazarus_1_8_0_RC1> make>> That worked as expected.>> make clean bigide Mark,I installed FPC 3.0.2 and then followed your proposal. But the compilation of Lazarus 1.8.0 RC1 was aborted with an error message saying FPC 3.0.0 was needed.How to fix?

Make sure that the ppcarm command points to the 3.0.2 binary. Here's what I've got in my /usr/local/bin:

lrwxrwxrwx 1 root staff 12 Mar 25 14:14 ppcarm -> ppcarm-3.0.2 lrwxrwxrwx 1 root staff 31 Mar 25 14:13 ppcarm-3.0.2 -> /usr/local/lib/fpc/3.0.2/ppcarm

The fpc -v command should give you version info:

$ fpc -v
Free Pascal Compiler version 3.0.2 [2017/03/02] for arm Copyright (c) 1993-2017 by Florian Klaempfl and others Fatal: No source file name in command line
Fatal: Compilation aborted
Error: /usr/local/bin/ppcarm returned an error exitcode

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Bo Berglund
to Joe: unfortunately, this failed with error message something could not be found. Seems, I did…
Joe wrote 11 lines
Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus: > You could try my script for installation of FPC + Lazarus on an RPi3. > http://blog.boberglund.com/install_lazfpc_local_pi.sh > > In order to get the version you need just edit the script before > running it and replace the versions at the top of the file with the > one you want. Bo, unfortunately, this failed with error message something could not be found. Seems, I did not edit the script the right way. What lines are to be edited and exactly how for Lazarus 1.8.0 RC1?

I have not used the scripts in a while, the last time was when I installed on a Raspbian Pixel RPi in January-February, and at that time the script worked for me.

One note though:
The script is for installing on a bare bones RPi Raspbian and it deals with both the FPC seed and release versions and then Lazarus.

So if you are only interested in Lazarus 1.8RCx but have no need to get a new FPC then this is probably not for you.
I might set up a new Pi soon for use at my vacation home over the summer and when I do I will check the script again...

Bo Berglund Developer in Sweden

Reply by email

Joe
to Bo Berglund
Bo Berglund wrote
I might set up a new Pi soon for use at my vacation home over the summer and when I do I will check the script again...

I'm sure, this will be another very useful contribution from the famous 'Developer in Sweden'. Are you using the Pi Zero W?

Reply by email

Bo Berglund
to Joe: unfortunately, this failed with error message something could not be found. Seems, I did…
Joe wrote 12 lines
Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus: > You could try my script for installation of FPC + Lazarus on an RPi3. > http://blog.boberglund.com/install_lazfpc_local_pi.sh > > In order to get the version you need just edit the script before > running it and replace the versions at the top of the file with the > one you want. Bo, unfortunately, this failed with error message something could not be found. Seems, I did not edit the script the right way. What lines are to be edited and exactly how for Lazarus 1.8.0 RC1? Thanx -- Joe

Hi again!
I have now returned home and been able to check the script. I used a brand new Jessie PIXEL image and did this before starting the script:
- Created dir /home/pi/bin where the fpc binary will reside
- Logged off and back on again to put this dir into the PATH

Turns out that the fpc sourceinstall command on line #150 fails because there is no current path to the seed compiler ppcarm.... So I have added option FPC=<path to ppcarm> on that line and with that done the script runs OK to the end and Lazarus is available on the main Jessie menu below "Programming".

The corrected script is found here:
http://blog.boberglund.com/install_lazfpc_local_pi.sh

Regarding configuration, these lines need to be handled by editing the versions mainly (lines #32 and #43-46):

LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop FPCTAG=release_3_0_0
FPCVER=3.0.0
LAZTAG=lazarus_1_6_2
LAZVER=1.6.2

In your case change them to this:

LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop FPCTAG=release_3_0_2
FPCVER=3.0.2
LAZTAG=lazarus_1_8_0_RC1
LAZVER=1.8.RC1

HTH

Bo Berglund Developer in Sweden

Reply by email

Joe
to Bo Berglund: On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus Hi again! I have now returned home…
Bo Berglund wrote 51 lines
On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus wrote: > Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus: >> You could try my script for installation of FPC + Lazarus on an RPi3. >> http://blog.boberglund.com/install_lazfpc_local_pi.sh >> >> In order to get the version you need just edit the script before >> running it and replace the versions at the top of the file with the >> one you want. > Bo, > unfortunately, this failed with error message something could not be > found. Seems, I did not edit the script the right way. > What lines are to be edited and exactly how for Lazarus 1.8.0 RC1? > Thanx -- Joe Hi again! I have now returned home and been able to check the script. I used a brand new Jessie PIXEL image and did this before starting the script: - Created dir /home/pi/bin where the fpc binary will reside - Logged off and back on again to put this dir into the PATH Turns out that the fpc sourceinstall command on line #150 fails because there is no current path to the seed compiler ppcarm.... So I have added option FPC=<path to ppcarm> on that line and with that done the script runs OK to the end and Lazarus is available on the main Jessie menu below "Programming". The corrected script is found here: http://blog.boberglund.com/install_lazfpc_local_pi.sh Regarding configuration, these lines need to be handled by editing the versions mainly (lines #32 and #43-46): LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop FPCTAG=release_3_0_0 FPCVER=3.0.0 LAZTAG=lazarus_1_6_2 LAZVER=1.6.2 In your case change them to this: LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop FPCTAG=release_3_0_2 FPCVER=3.0.2 LAZTAG=lazarus_1_8_0_RC1 LAZVER=1.8.RC1 HTH

.
.
Bo, helps a lot. Very kind. Have a nice day.
Cordialmente -- Joe

Reply by email

Joe
to Bo Berglund: On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus Hi again! I have now returned home…
Bo Berglund wrote
The corrected script is found here: http://blog.boberglund.com/install_lazfpc_local_pi.sh

.
.
On a Raspberry Pi Zero W, the script failes with this error:

(9009) Assembling buildprojectdlg
buildprojectdlg.pas(603) Error: (9008) Can't call the assembler, error -1 switching to external assembling
buildprojectdlg.pas603) Fatal: (10026) There were 2 errors compiling module, stopping

I had selected the option 'for all Pis'.
Could it be a swap file size problem? On the Pi Zero W, the default size is 100 MB.

Joe

Reply by email

Mark Morgan Lloyd
to Joe
Joe wrote 10 lines
Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:> The corrected script is found here:> http://blog.boberglund.com/install_lazfpc_local_pi.sh..On a Raspberry Pi Zero W, the script failes with this error: (9009) Assembling buildprojectdlgbuildprojectdlg.pas(603) Error: (9008) Can't call the assembler, error -1 switching to external assemblingbuildprojectdlg.pas603) Fatal: (10026) There were 2 errors compiling module, stopping I had selected the option 'for all Pis'.Could it be a swap file size problem? On the Pi Zero W, the default size is 100 MB.

Yes, assume you need at least 512Mb. Put a temporary swap partition onto an external USB stick or whatever.

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Joe
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 7 lines
> I had selected the option 'for all Pis'.Could it be a swap file size > problem? On the Pi Zero W, the default size is 100 MB. Yes, assume you need at least 512Mb. Put a temporary swap partition onto an external USB stick or whatever. --

.
.
I'll give it 1024 MBytes and a try.
Thanx -- Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170531/c4297f41/attachment.html>

Reply by email

Joe
to Joe: . . Bo, helps a lot. Very kind. Have a nice day. Cordialmente -- Joe
Joe wrote 56 lines
Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus: > On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus > wrote: > >> Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus: >>> You could try my script for installation of FPC + Lazarus on an RPi3. >>> http://blog.boberglund.com/install_lazfpc_local_pi.sh >>> >>> In order to get the version you need just edit the script before >>> running it and replace the versions at the top of the file with the >>> one you want. >> Bo, >> unfortunately, this failed with error message something could not be >> found. Seems, I did not edit the script the right way. >> What lines are to be edited and exactly how for Lazarus 1.8.0 RC1? >> Thanx -- Joe > Hi again! > I have now returned home and been able to check the script. > I used a brand new Jessie PIXEL image and did this before starting the > script: > - Created dir /home/pi/bin where the fpc binary will reside > - Logged off and back on again to put this dir into the PATH > > Turns out that the fpc sourceinstall command on line #150 fails > because there is no current path to the seed compiler ppcarm.... > So I have added option FPC=<path to ppcarm> on that line and with that > done the script runs OK to the end and Lazarus is available on the > main Jessie menu below "Programming". > > The corrected script is found here: > http://blog.boberglund.com/install_lazfpc_local_pi.sh > > Regarding configuration, these lines need to be handled by editing the > versions mainly (lines #32 and #43-46): > > LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop > FPCTAG=release_3_0_0 > FPCVER=3.0.0 > LAZTAG=lazarus_1_6_2 > LAZVER=1.6.2 > > In your case change them to this: > > LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop > FPCTAG=release_3_0_2 > FPCVER=3.0.2 > LAZTAG=lazarus_1_8_0_RC1 > LAZVER=1.8.RC1 > > HTH > > . . Bo, helps a lot. Very kind. Have a nice day. Cordialmente -- Joe

.
.
I stored this script as install_lazfpc_local_pi-0.sh and the modified version for Lazarus 1.8.RC1 as install_lazfpc_local_pi-1.sh. See http:/transfer.joepgen.com/diffresult.txt
Then, on a Pi Zero W, I prepared a brand new Jessie PIXEL image on a 32 GB card and
- Set Locale Settings to Germany and WiFi settings
- Created dir /home/pi/bin
- Logged off and back on again to put this dir into the PATH
- Enlarged the swap file size from 100 MB to 1024 MB, stopped and restarted swapfile
- started the script
- the question 'Which model of RPi do you want to build for' I answered with 'ARMv6'

62 minutes later the compilation was aborted due to access violations. See http://transfer.joepgen.com/ErrorMessages
SWeems

.. Joe

Reply by email

Joe
to Joe

-------- Weitergeleitete Nachricht --------
Betreff: Re: [Lazarus] Lazarus 1.8 RC1 under Raspbian Jessie Datum: Wed, 31 May 2017 20:22:35 +0200
Von: Joe
An:

Joe wrote 56 lines
Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus: > On Sat, 27 May 2017 11:20:17 +0200, Joe via Lazarus > wrote: > >> Am 26.05.2017 um 13:02 schrieb Bo Berglund via Lazarus: >>> You could try my script for installation of FPC + Lazarus on an RPi3. >>> http://blog.boberglund.com/install_lazfpc_local_pi.sh >>> >>> In order to get the version you need just edit the script before >>> running it and replace the versions at the top of the file with the >>> one you want. >> Bo, >> unfortunately, this failed with error message something could not be >> found. Seems, I did not edit the script the right way. >> What lines are to be edited and exactly how for Lazarus 1.8.0 RC1? >> Thanx -- Joe > Hi again! > I have now returned home and been able to check the script. > I used a brand new Jessie PIXEL image and did this before starting the > script: > - Created dir /home/pi/bin where the fpc binary will reside > - Logged off and back on again to put this dir into the PATH > > Turns out that the fpc sourceinstall command on line #150 fails > because there is no current path to the seed compiler ppcarm.... > So I have added option FPC=<path to ppcarm> on that line and with that > done the script runs OK to the end and Lazarus is available on the > main Jessie menu below "Programming". > > The corrected script is found here: > http://blog.boberglund.com/install_lazfpc_local_pi.sh > > Regarding configuration, these lines need to be handled by editing the > versions mainly (lines #32 and #43-46): > > LAZDESK=/home/pi/.local/share/applications/lazarus_1.6.2.desktop > FPCTAG=release_3_0_0 > FPCVER=3.0.0 > LAZTAG=lazarus_1_6_2 > LAZVER=1.6.2 > > In your case change them to this: > > LAZDESK=/home/pi/.local/share/applications/lazarus_1.8.RC1.desktop > FPCTAG=release_3_0_2 > FPCVER=3.0.2 > LAZTAG=lazarus_1_8_0_RC1 > LAZVER=1.8.RC1 > > HTH > > . . Bo, helps a lot. Very kind. Have a nice day. Cordialmente -- Joe

.
.
I stored this script as install_lazfpc_local_pi-0.sh and the modified version for Lazarus 1.8.RC1 as install_lazfpc_local_pi-1.sh. See http:/transfer.joepgen.com/diffresult.txt
Then, on a Pi Zero W, I prepared a brand new Jessie PIXEL image on a 32 GB card and
- Set Locale Settings to Germany and WiFi settings
- Created dir /home/pi/bin
- Logged off and back on again to put this dir into the PATH
- Enlarged the swap file size from 100 MB to 1024 MB, stopped and restarted swapfile
- started the script
- the question 'Which model of RPi do you want to build for' I answered with 'ARMv6'

62 minutes later the compilation was aborted due to access violations. See http://transfer.joepgen.com/ErrorMessages
SWeems

.. Joe

.
.
Sorry, the file name extent was missing.
Please use http://transfer.joepgen.com/ErrorMessages.png

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

Reply by email

Joe
to Mattias Gaertner: On Sat, 27 May 2017 11:25:56 +0200 What is the exact error message? Mattias
Mattias Gaertner wrote 21 lines
On Sat, 27 May 2017 11:25:56 +0200 Joe via Lazarus wrote: > Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus: >> Just to check the "standard way of doing it" in case there's any >> surprises, with FPC 3.0.2 installed: >> >> svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 >> cd lazarus_1_8_0_RC1 >> make >> >> That worked as expected. >> >> make clean bigide > Mark, > I installed FPC 3.0.2 and then followed your proposal. But the > compilation of Lazarus 1.8.0 RC1 was aborted with an error message > saying FPC 3.0.0 was needed. What is the exact error message? Mattias

.
.
Another attempt lead to this result:
http://transfer.joepgen.com/ErrorMessage.png
Pi Zero W, Bo's script, swap file enlarged from 100 to 1024 MBytes.

Reply by email

Joe
to Mattias Gaertner: On Sat, 27 May 2017 11:25:56 +0200 What is the exact error message? Mattias
Mattias Gaertner wrote 21 lines
On Sat, 27 May 2017 11:25:56 +0200 Joe via Lazarus wrote: > Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus: >> Just to check the "standard way of doing it" in case there's any >> surprises, with FPC 3.0.2 installed: >> >> svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 >> cd lazarus_1_8_0_RC1 >> make >> >> That worked as expected. >> >> make clean bigide > Mark, > I installed FPC 3.0.2 and then followed your proposal. But the > compilation of Lazarus 1.8.0 RC1 was aborted with an error message > saying FPC 3.0.0 was needed. What is the exact error message? Mattias

.
Sorry, must be ErrorMessages.png, not ErrorMessage.png

Another attempt lead to this result:
http://transfer.joepgen.com/ErrorMessages.png
Pi Zero W, Bo's script, swap file enlarged from 100 to 1024 MBytes.

-- Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20170531/eb04b57c/attachment.html>

Reply by email

Joe
to Mattias Gaertner: On Sat, 27 May 2017 11:25:56 +0200 What is the exact error message? Mattias
Mattias Gaertner wrote 21 lines
On Sat, 27 May 2017 11:25:56 +0200 Joe via Lazarus wrote: > Am 26.05.2017 um 15:29 schrieb Mark Morgan Lloyd via Lazarus: >> Just to check the "standard way of doing it" in case there's any >> surprises, with FPC 3.0.2 installed: >> >> svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_8_0_RC1 >> cd lazarus_1_8_0_RC1 >> make >> >> That worked as expected. >> >> make clean bigide > Mark, > I installed FPC 3.0.2 and then followed your proposal. But the > compilation of Lazarus 1.8.0 RC1 was aborted with an error message > saying FPC 3.0.0 was needed. What is the exact error message? Mattias

.
Somethin is wrong with this link. Trying again:
Please use http://transfer.joepgen.com/ErrorMessages.png

Reply by email

Joe
to Joe: -------- Weitergeleitete Nachricht -------- Betreff: Re: [Lazarus] Lazarus 1.8 RC1 under…
Joe wrote
62 minutes later the compilation was aborted due to access violations.

Here the Error Log of another attempt:

Enter selection [ARMv7/ARMv6] : ARMv7AARMVv6 --2017-06-01 13:56:49--
http://blog.boberglund.com/projects/freepascal/files/Linux/3.0.0/fpc-3.0.0.arm-linux.tar Auflösen des Hostnamen »blog.boberglund.com (blog.boberglund.com)«... 194.9.94.14
Verbindungsaufbau zu blog.boberglund.com
(blog.boberglund.com)|194.9.94.14|:80... verbunden. HTTP-Anforderung gesendet, warte auf Antwort... 200 OK Länge: 2918400 (2,8M) [application/x-tar]
In »»fpc-3.0.0.arm-linux.tar«« speichern.

0K .......... .......... .......... .......... .......... 1% 282K 10s 50K .......... .......... .......... .......... .......... 3% 677K 7s 100K .......... .......... .......... .......... .......... 5% 702K 6s 150K .......... .......... .......... .......... .......... 7% 683K 5s 200K .......... .......... .......... .......... .......... 8% 694K 5s 250K .......... .......... .......... .......... .......... 10% 188K 6s 300K .......... .......... .......... .......... .......... 12% 1,41M 5s 350K .......... .......... .......... .......... .......... 14% 1,40M 5s 400K .......... .......... .......... .......... .......... 15% 1,08M 5s 450K .......... .......... .......... .......... .......... 17% 1,38M 4s 500K .......... .......... .......... .......... .......... 19% 1,13M 4s 550K .......... .......... .......... .......... .......... 21% 881K 4s 600K .......... .......... .......... .......... .......... 22% 680K 4s 650K .......... .......... .......... .......... .......... 24% 696K 3s 700K .......... .......... .......... .......... .......... 26% 680K 3s 750K .......... .......... .......... .......... .......... 28% 227K 4s 800K .......... .......... .......... .......... .......... 29% 4,84M 3s 850K .......... .......... .......... .......... .......... 31% 1,40M 3s 900K .......... .......... .......... .......... .......... 33% 1,91M 3s 950K .......... .......... .......... .......... .......... 35% 540K 3s 1000K .......... .......... .......... .......... .......... 36% 698K 3s 1050K .......... .......... .......... .......... .......... 38% 676K 3s 1100K .......... .......... .......... .......... .......... 40% 702K 3s 1150K .......... .......... .......... .......... .......... 42% 675K 3s 1200K .......... .......... .......... .......... .......... 43% 696K 2s 1250K .......... .......... .......... .......... .......... 45% 684K 2s 1300K .......... .......... .......... .......... .......... 47% 701K 2s 1350K .......... .......... .......... .......... .......... 49% 676K 2s 1400K .......... .......... .......... .......... .......... 50% 680K 2s 1450K .......... .......... .......... .......... .......... 52% 701K 2s 1500K .......... .......... .......... .......... .......... 54% 675K 2s 1550K .......... .......... .......... .......... .......... 56% 675K 2s 1600K .......... .......... .......... .......... .......... 57% 689K 2s 1650K .......... .......... .......... .......... .......... 59% 716K 2s 1700K .......... .......... .......... .......... .......... 61% 670K 2s 1750K .......... .......... .......... .......... .......... 63% 703K 2s 1800K .......... .......... .......... .......... .......... 64% 679K 2s 1850K .......... .......... .......... .......... .......... 66% 677K 1s 1900K .......... .......... .......... .......... .......... 68% 700K 1s 1950K .......... .......... .......... .......... .......... 70% 658K 1s 2000K .......... .......... .......... .......... .......... 71% 724K 1s 2050K .......... .......... .......... .......... .......... 73% 675K 1s 2100K .......... .......... .......... .......... .......... 75% 692K 1s 2150K .......... .......... .......... .......... .......... 77% 687K 1s 2200K .......... .......... .......... .......... .......... 78% 702K 1s 2250K .......... .......... .......... .......... .......... 80% 676K 1s 2300K .......... .......... .......... .......... .......... 82% 681K 1s 2350K .......... .......... .......... .......... .......... 84% 698K 1s 2400K .......... .......... .......... .......... .......... 85% 679K 1s 2450K .......... .......... .......... .......... .......... 87% 684K 1s 2500K .......... .......... .......... .......... .......... 89% 694K 0s 2550K .......... .......... .......... .......... .......... 91% 698K 0s 2600K .......... .......... .......... .......... .......... 92% 676K 0s 2650K .......... .......... .......... .......... .......... 94% 700K 0s 2700K .......... .......... .......... .......... .......... 96% 678K 0s 2750K .......... .......... .......... .......... .......... 98% 676K 0s 2800K .......... .......... .......... .......... ..........100% 709K 0s 2850K 100% 0,00 =4,3s

2017-06-01 13:56:54 (667 KB/s) - »»fpc-3.0.0.arm-linux.tar«« gespeichert [2918400/2918400]

make: -iVSPTPSOTO: Kommando nicht gefunden
An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

An unhandled exception occurred at $000678A0:
EAccessViolation: Access violation
$000678A0
$000448B8
$0003E91C

make[6]: *** clean: Datei oder Verzeichnis nicht gefunden. Schluss. make[5]: *** [rtlclean] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1.exe] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.-] Error 2
install_lazfpc_local_pi-1.sh: 149: Cannot make all! Aborting

Regards -- Joe

Reply by email

Mark Morgan Lloyd
to Joe
Joe wrote 6 lines
Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:> The corrected script is found here:> http://blog.boberglund.com/install_lazfpc_local_pi.sh.On Pi Zero W, using the ARMv6 option and De-de locale, i get this error message: "make: -iVSPTPSOTO Kommando nicht gefunden" What does this say? How to fix?

It says it can't find the compiler binary. Hopefully Bo will be able to give you some direct help, but the classical way of fixing it would be by something like

make clean all PP=ppcXXX

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email

Joe
to Mark Morgan Lloyd
Mark Morgan Lloyd wrote 14 lines
On 06/06/17 06:30, Joe via Lazarus wrote: > Am 30.05.2017 um 00:36 schrieb Bo Berglund via Lazarus:> The corrected > script is found here:> > http://blog.boberglund.com/install_lazfpc_local_pi.sh.On Pi Zero W, > using the ARMv6 option and De-de locale, i get this error message: > "make: -iVSPTPSOTO Kommando nicht gefunden" > What does this say? How to fix? It says it can't find the compiler binary. Hopefully Bo will be able to give you some direct help, but the classical way of fixing it would be by something like make clean all PP=ppcXXX

.
Went to /home/pi/dev/fpc/3.02 and did make clean all PP=ppcarm. Got "An unhandled exception occurred at $000678A0". Maybe the ARMv6 CPU got some ARMv7 code?

-- Joe

Reply by email

Bo Berglund
to Joe
Joe wrote
Went to /home/pi/dev/fpc/3.02 and did make clean all PP=ppcarm. Got "An unhandled exception occurred at $000678A0". Maybe the ARMv6 CPU got some ARMv7 code?

You should probably use this instead:
make clean all PP=/home/pi/dev/fpc/ppcarm
because my script downloads the seed compiler (ppcarm ver 3.0.0) to the base fpc directory in which there are the version subdirs like 3.0.2 and the only files are supposed to be the relevant ppcarm compiler binary.

Bo Berglund Developer in Sweden

Reply by email