Recent

Author Topic: Installing package in Laz on OS X  (Read 8037 times)

Phil

  • Hero Member
  • *****
  • Posts: 2737
Installing package in Laz on OS X
« on: October 02, 2006, 10:22:59 pm »
When I install a package in Laz on OSX, duing the rebuild process it prompts me that it can't create a make file for 8-10 of the other packages (TurboPower_ipro, etc.). The folder it's trying to write to is /usr/local/share/lazarus, which is read-only. However, I copied the entire lazarus folder to my writeable user area and started the lazarus executable from there. Also, I changed the Lazarus directory in Environment options to point to my user folder lazarus.

Clicking Ignore for each prompt allowed the building the continue, but I'm wondering if there's some setting I forgot to change or whether this is a bug. I believe it's always done this so if a bug it's not a new one.

Thanks.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2649
RE: Installing package in Laz on OS X
« Reply #1 on: October 03, 2006, 11:35:15 am »
what version of laz did you use ?
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Installing package in Laz on OS X
« Reply #2 on: October 03, 2006, 04:44:25 pm »
Quote from: "Marc"
what version of laz did you use ?


I was working with the 20060929 snapshot for PowerPC.

Thanks.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Re: RE: Installing package in Laz on OS X
« Reply #3 on: October 03, 2006, 10:31:19 pm »
It doesn't work with  20060929? For what version does it work?

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: RE: Re: RE: Installing package in Laz on OS X
« Reply #4 on: October 09, 2006, 03:07:56 pm »
Quote from: "Vincent"
It doesn't work with  20060929? For what version does it work?


It's done this for several months.

Phil

  • Hero Member
  • *****
  • Posts: 2737
Re: Installing package in Laz on OS X
« Reply #5 on: November 06, 2006, 12:41:56 am »
Quote from: "Phil"
When I install a package in Laz on OSX, duing the rebuild process it prompts me that it can't create a make file for 8-10 of the other packages (TurboPower_ipro, etc.).


The solution is to manually edit the ~/.lazarus/packagefiles.xml and change the path for each .lpk to point to where the Lazarus IDE that's being rebuilt is installed.

Suggestion: As long as Lazarus has to be rebuilt in order to add anything to it (updated files, packages, etc.) and the default location (/usr/local/share) can't be used since it's read-only, we have to manually move Lazarus to a read-write area (e.g., /Users/loginname) after installing a snapshot. Would it make sense to install Lazarus by default to a writeable folder?

Thanks.

 

TinyPortal © 2005-2018