Lazarus

Programming => Widgetset => Cocoa => Topic started by: MISV on June 24, 2019, 05:42:51 pm

Title: How do you update your lazarus/cocoa installation
Post by: MISV on June 24, 2019, 05:42:51 pm
What method are you using?

I was using FPCUPdeluxe but now I am *again* getting

Quote
d: malformed file
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libc.tbd:4:18: error: unknown enumerated scalar
platform:        zippered
                 ^~~~~~~~
 file '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib//libc.tbd'

If you want see: https://forum.lazarus.freepascal.org/index.php/topic,34645.msg324842.html#msg324842

...

I still have my "old" installation ... and I simply need to update to the latest Cocoa widgetset sources?

Could I simply download these files myself manually and replace the old source files? Or what is the best way to sync this?

I do not need to have the IDE itself recompiled although as long as I have lazbuild that would be okay as well.
Title: Re: How do you update your lazarus/cocoa installation
Post by: skalogryz on June 24, 2019, 06:10:04 pm
so the old solution
https://forum.lazarus.freepascal.org/index.php/topic,44453.30.html
stopped working?
Title: Re: How do you update your lazarus/cocoa installation
Post by: MISV on June 24, 2019, 07:01:46 pm
(FPCUPdeluxe installer broke/stopped due to the error. Hence the installation is not complete as far as I can tell. At least there is no lazbuild - thus I can not compile the IDE using that solution. For what it is worth - FPCUPDeluxe now seems to generate a correct fpc.cfg so that is a plus)



Title: Re: How do you update your lazarus/cocoa installation
Post by: skalogryz on June 24, 2019, 07:04:31 pm
I did use fpcupdeluxe ONCE - to build both fpc 3.0.4a and Lazarus. It worked flawlessly.

After that, I just manually use "svn update" to get updates and rebuild Lazarus itself from either IDE or command-line.

You might want to try the same approach yourself. just run "svn update" in fpcupdeluxe/lazarus dir and rebuild from IDE.
Title: Re: How do you update your lazarus/cocoa installation
Post by: Thaddy on June 24, 2019, 08:48:13 pm
I only do svn co, svn update, then make clean useride
Title: Re: How do you update your lazarus/cocoa installation
Post by: MISV on June 24, 2019, 10:23:18 pm
Navigating to Lazarus folder and running
Code: Pascal  [Select]
  1. SVN update
ran really well.

In "Tools - Rebuilld" I added
"-FD/Library/Developer/CommandLineTools/usr/bin"
and
"-WM10.8"

And it freaking works! So much easier! Thank you so much! :)

Much much easier way updating than what I have used so far...