[Lazarus] Problem installing package from OLPM on Raspbian

Bo Berglund bo.berglund at gmail.com
Thu Oct 31 10:30:08 CET 2019

On Wed, 30 Oct 2019 23:17:08 +0100, Bo Berglund via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>What is the cause of this problem and what can I do to solve it?
>Kill lazarus via terminal or what?

So this is what I did to get the system running:

- killed lazarus so it was not running in hanged state
- In a terminal I did:
pi at rpi4-gui:~/dev/lazarus/2.0.4 $ time make bigide OPT=-dFPC_ARMHF

After 6 minutes it was done and then I opened Lazarus and used OLPM to
install the uniqueinstance package.

This time the rebuild of the Lazarus IDE succeeded and the package
icon was installed into the System tab.

It seems like lazarus is now ready to be used.

So I opened the project I migrated from svn and tried to build it.
Now I got this message:

Compile Project, Target: ssmonitorctrl: Success, Warnings: 12, Hints:
ssmonitorctrl.lpr(73,28) Warning: "crtbegin.o" not found, this will
probably cause a linking failure
ssmonitorctrl.lpr(73,28) Warning: "crtend.o" not found, this will
probably cause a linking failure

It seems like something needs to be done "somewhere" in order to fix
this warning (I have not seen it in a long time), but where?

I don't really know why this all happened, but it might have something
to do with me moving the complete fpc/lazarus installation from one
SDcard to another with a fresh operating system installed.

I have installed FPC and  Lazarus from sources downloaded via
subversion and done this entirely in the user pi home directory. I
spent some time on figuring out how to confine these tools entirely
into the home dir so as not to depend on any stuff outside home except
for the dependencies installed by apt.
All of the dependencies I know of were installed into the new
operating system before I copied over the home dirs.
And it seemed to work just fine until tye IDE rebuild.

Now I wonder if the lazarus "make bigide" puts or modifies stuff
outside of the home dir, which I then have failed to copy in from the
old installation? The make seems to have corrected whatever problöem
was causing the crash...

And is there really something outside of home that fpc or lazarus
depends on and is not part of the operating system???

Bo Berglund
Developer in Sweden

More information about the lazarus mailing list