Recent

Author Topic: [Solved] MacOS X Yosemite - Install issues ... anyone?  (Read 7601 times)

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
[Solved] MacOS X Yosemite - Install issues ... anyone?
« on: August 20, 2014, 09:14:18 pm »
I've just tried to install Lazarus 1.2.4 on MacOS  Yosemite (Public Beta).
Installation runs just fine, and the Lazarus IDE starts fine as well.
However, compiling a test program, or recompiling the IDE does not seem to work.


I've disabled the debugger (set to: none), XCode and command line tools are installed, paths seem OK.


I keep getting the message (on rebuilding the IDE):
"/Developer/lazarus/packager/registration/lazaruspackageintf.pas(64,27) Fatal: There were 1 errors compiling module, stopping"


I was wondering if anyone ran into this problem as well ...


p.s. I'm aware that a beta OS comes with complications ... just thought I'd ask.
« Last Edit: August 21, 2014, 06:01:20 pm by Hansaplast »

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
Re: MacOS X Yosemite - Install issues ... anyone?
« Reply #1 on: August 21, 2014, 06:00:43 pm »

Finally figured it out after working from the command line (lazbuild).
You need to rung the following from Terminal, otherwise nothing compiles ...


Code: [Select]
sudo xcodebuild -license

Hope this will be usefull to others ...  :D 

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #2 on: August 21, 2014, 06:08:54 pm »
For who is interested:


- Lazarus adapts very nicely (so far) to Yosemite UI elements ... (see attached pic)


- For the debugger I did use the same trick as with 10.9 (link) and it works under the Public Beta as well.




skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2280
    • havefunsoft.com
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #3 on: August 21, 2014, 06:38:53 pm »
Carbon survives another OSX release.
...or is it Cocoa build?

Thank you for the research and solution!
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #4 on: August 21, 2014, 06:40:35 pm »
Running Carbon ...  :D


(but I really wish we could switch to Cocoa soon)

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #5 on: August 21, 2014, 07:02:21 pm »
I created an icon for my Lazarus Projects folder, but even compressed it's too large to post in this forum. Sorry for the inconvenience ... I did attach a preview, and you can download the .icns file from my website (link).

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2280
    • havefunsoft.com
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #6 on: August 21, 2014, 07:17:50 pm »
Running Carbon ...  :D


(but I really wish we could switch to Cocoa soon)
Could you please try TComboBox behavior? I wonder if Apple fixed it after all :)
In current OSX version, selecting an item from Combobox dropdown requires two clicks, instead of one (as it's in Cocoa).

Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

jwdietrich

  • Hero Member
  • *****
  • Posts: 1036
    • formatio reticularis
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #7 on: August 21, 2014, 08:06:51 pm »
@Hansaplast: Thanks for sharing your experiences. Your hints are very helpful.

@skalogryz: This is in fact an odd thing. In my experiments with Yosemite the behaviour was identical to that of previous OS X versions, but I did not yet try the newest build.
function GetRandomNumber: integer; // xkcd.com
begin
  GetRandomNumber := 4; // chosen by fair dice roll. Guaranteed to be random.
end;

http://www.formatio-reticularis.de

Lazarus 2.0.6 | FPC 3.0.4 | PPC, Intel, ARM | macOS, Windows, Linux

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2280
    • havefunsoft.com
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #8 on: August 21, 2014, 09:52:36 pm »
@skalogryz: This is in fact an odd thing. In my experiments with Yosemite the behaviour was identical to that of previous OS X versions, but I did not yet try the newest build.
nah, that's Apple encouragement to move to Cocoa, i'm sure it won't be fixed.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

Hansaplast

  • Hero Member
  • *****
  • Posts: 539
  • Tweaking4All.com
    • Tweaking4All
Re: [Solved] MacOS X Yosemite - Install issues ... anyone?
« Reply #9 on: August 21, 2014, 10:10:55 pm »
@skalogryz:


I had never noticed that  :o  ...
But yep, it still does that,... unless you set the Style property to csDropDownList.
You might run into another problem then though: when I leave ItemIndex at -1, the text doesn't always seem to keep up with what I selected.