Lazarus

Installation => macOS / Mac OS X => Topic started by: maxnd on December 09, 2019, 06:31:58 pm

Title: Install new components in Lazarus x86-64 on Catalina
Post by: maxnd on December 09, 2019, 06:31:58 pm
Hi all,

I've installed Lazarus macOS x86-64 on Catalina, which runs fine. Now when I try to install new components from the Online Package Manager or some downloaded package files all run fine, but when I quit the IDE and restart it those components are not installed any more. Their packages appear to be just "autoinstalled static" and not also "installed static". So I have to open and install them once again, and all works fine.

Any idea on how to fix that?

Thanks!
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: jermen on March 25, 2020, 04:00:37 pm
Hello,

Have you found a solution to your problem, I have the same issue?

Thanks!
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: maxnd on March 25, 2020, 05:00:00 pm
No, but if I open a package (let's say Zeos), compile it again and rebuild Lazarus, all works fine. But when I quit Lazarus and open it again I have to recompile again the component.
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: jermen on March 25, 2020, 05:12:12 pm
Same here, however I noticed that I just have to rebuild Lazarus and it's fine, until your close it and re-open it.

I noticed that there is 2 Lazarus icons in the Dock, when you close Lazarus, the Lazarus icon disappears and reverts to default application icon.  If you open it from there the packages stay installed...
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: maxnd on March 25, 2020, 07:02:54 pm
Thank you!
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: Rotor on May 11, 2020, 10:37:35 pm
Same problem with mojave and Lazarus 2.0.8
But there are no 2 icons in the dock.
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: Rotor on May 18, 2020, 08:31:41 am
Ok, i found a solution.

1. go to application folder, right click to Lazarus (program) and "show original"
2. in this folder search "startlazarus" --> start this and lazarus will start with all included components-Librarys.
3. I made an alias of "startlazarus", spend this alias a new icon and drag the alias to my dock (not to the programs, you can only ad this to the folder section)

Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: trev on May 18, 2020, 10:30:57 am
Curious.

I've been opening the lazarus.app because when using startlazarus.app the icon appears and disappears from the Dock and there's no Menu bar. Using lazarus.app gives me a persistent Dock icon and a Menu bar.

I'm not sure I've installed any additional components so as to miss them though.

[I compile both Lazarus trunk and fpc trunk from source].
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: rossh_lz on July 10, 2020, 12:55:53 pm
Now on version 2.0.10 - same issue - not solved.

However, I found that using directly the Lazarus.app link that the component install rebuild created, all works fine.  ie. use the app at:  ~/.lazarus/bin/lazarus.app
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: trev on July 11, 2020, 10:48:48 am
I think this Wiki article on Startlazarus (https://wiki.freepascal.org/Startlazarus) explains what is happening.

Briefly, if you do not have write access to the Lazarus application directory, when you rebuild Lazarus a new version is deposited in your pcp directory. Of course, next time you start Lazarus, it starts the original  read-only version again :)
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: mrkwlee on August 13, 2020, 01:34:14 am
Same issue, when I start by startlazarus,  everything is ok except that menu bar is missing. How can I get the menu bar back? Or how to solve the readonly component installation problem? Please.
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: trev on August 13, 2020, 01:50:00 am
Try this:

 open ~/.lazarus/bin/lazarus.app
Title: Re: Install new components in Lazarus x86-64 on Catalina
Post by: mrkwlee on August 13, 2020, 03:42:16 am
It works . Thank you very much.
TinyPortal © 2005-2018