Recent

Author Topic: How do you update your lazarus/cocoa installation  (Read 1452 times)

MISV

  • Hero Member
  • *****
  • Posts: 783
How do you update your lazarus/cocoa installation
« 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.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: How do you update your lazarus/cocoa installation
« Reply #1 on: June 24, 2019, 06:10:04 pm »

MISV

  • Hero Member
  • *****
  • Posts: 783
Re: How do you update your lazarus/cocoa installation
« Reply #2 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)




skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: How do you update your lazarus/cocoa installation
« Reply #3 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.

Thaddy

  • Hero Member
  • *****
  • Posts: 14205
  • Probably until I exterminate Putin.
Re: How do you update your lazarus/cocoa installation
« Reply #4 on: June 24, 2019, 08:48:13 pm »
I only do svn co, svn update, then make clean useride
Specialize a type, not a var.

MISV

  • Hero Member
  • *****
  • Posts: 783
Re: How do you update your lazarus/cocoa installation
« Reply #5 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...
« Last Edit: July 24, 2019, 04:08:15 pm by MISV »

 

TinyPortal © 2005-2018