Recent

Author Topic: Install new components in Lazarus x86-64 on Catalina  (Read 2464 times)

maxnd

  • Jr. Member
  • **
  • Posts: 61
Install new components in Lazarus x86-64 on Catalina
« 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!

jermen

  • New member
  • *
  • Posts: 7
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #1 on: March 25, 2020, 04:00:37 pm »
Hello,

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

Thanks!

maxnd

  • Jr. Member
  • **
  • Posts: 61
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #2 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.

jermen

  • New member
  • *
  • Posts: 7
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #3 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...

maxnd

  • Jr. Member
  • **
  • Posts: 61
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #4 on: March 25, 2020, 07:02:54 pm »
Thank you!

Rotor

  • Newbie
  • Posts: 2
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #5 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.

Rotor

  • Newbie
  • Posts: 2
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #6 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)


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1046
  • Former Delphi 1-7, 10.2 User
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #7 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].
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

rossh_lz

  • New Member
  • *
  • Posts: 14
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #8 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

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1046
  • Former Delphi 1-7, 10.2 User
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #9 on: July 11, 2020, 10:48:48 am »
I think this Wiki article on 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 :)
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

mrkwlee

  • New Member
  • *
  • Posts: 18
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #10 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.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1046
  • Former Delphi 1-7, 10.2 User
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #11 on: August 13, 2020, 01:50:00 am »
Try this:

 open ~/.lazarus/bin/lazarus.app
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

mrkwlee

  • New Member
  • *
  • Posts: 18
Re: Install new components in Lazarus x86-64 on Catalina
« Reply #12 on: August 13, 2020, 03:42:16 am »
It works . Thank you very much.

 

TinyPortal © 2005-2018