Recent

Author Topic: [Solved] Can't install trunk version of FPC and Lazarus. Need help  (Read 4006 times)

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
I recently updated to Big Sur. Did a clean install. Installed Xcode 12.4 and the Command Line tools for Xcode 12.4
Then downloaded FPCUDeluxe  latest version and tried to install lazarus trunk and FPC 3.3.1.


But is failed.


I do not know what I am doing wrong.
Can anyone try and help me with suggestions?
« Last Edit: April 23, 2021, 10:55:49 pm by madref »
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

ccrause

  • Hero Member
  • *****
  • Posts: 845
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #1 on: April 19, 2021, 04:15:19 pm »
Do you have svn installed?  The log suggests that it tried to download a copy of the source using svn, but failed.

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #2 on: April 19, 2021, 04:20:43 pm »
How do install that then?


Never had problems like this before om Mojave
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

balazsszekely

  • Guest
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #3 on: April 19, 2021, 04:23:25 pm »
How do install that then?
Select trunk.git

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #4 on: April 19, 2021, 06:04:43 pm »
That did the trick.


But what is the difference between trunk and trunk.git?
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

balazsszekely

  • Guest
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #5 on: April 20, 2021, 06:17:33 am »
That did the trick.

But what is the difference between trunk and trunk.git?
Starting with MacOS Big Sur, subversion(svn) is removed from the command line tools. AFAIK you can still install it via MacPorts or HomeBrew. 
You have two choices:
1. Brew install svn
2. Use the more popular version control git, luckily FpcUpDeluxe supports it

From the user perspective there is no difference between trunk(svn) and trunk(git). Perhaps git is faster on slow connections.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5446
  • Compiler Developer
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #6 on: April 20, 2021, 09:11:20 am »
From the user perspective there is no difference between trunk(svn) and trunk(git). Perhaps git is faster on slow connections.

Trunk from SVN is the official repository, Trunk from Git is an unofficial mirror of that SVN repository. It's synced only every 15 minutes or so, thus if you need a specific fix that was committed 5 minutes ago you might need to wait a bit longer for the fix to appear in the Git mirror.

balazsszekely

  • Guest
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #7 on: April 20, 2021, 09:31:19 am »
@PascalDragon
Quote
Trunk from SVN is the official repository, Trunk from Git is an unofficial mirror of that SVN repository. It's synced only every 15 minutes or so, thus if you need a specific fix that was committed 5 minutes ago you might need to wait a bit longer for the fix to appear in the Git mirror.

Thanks! 15 minutes lag can indeed be a problem in some cases. If I'm not mistaken, the FPC team planned to switch to git at some point? I prefer svn though.
« Last Edit: April 20, 2021, 09:33:53 am by GetMem »

madref

  • Hero Member
  • *****
  • Posts: 949
  • ..... A day not Laughed is a day wasted !!
    • Nursing With Humour
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #8 on: April 23, 2021, 10:55:35 pm »
Thanks for the explanation  !!!
You treat a disease, you win, you lose.
You treat a person and I guarantee you, you win, no matter the outcome.

Lazarus 3.99 (rev main_3_99-649-ge13451a5ab) FPC 3.3.1 x86_64-darwin-cocoa
Mac OS X Monterey

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Can't install trunk version of FPC and Lazarus. Need help
« Reply #9 on: April 23, 2021, 11:02:19 pm »
@PascalDragon
If I'm not mistaken, the FPC team planned to switch to git at some point?

Hope not. "Fixed from revision 12345 onwards" is an unambiguous statement with- AIUI- no easy equivalent in Gitspeak.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: [Solved] Can't install trunk version of FPC and Lazarus. Need help
« Reply #10 on: April 24, 2021, 03:59:35 am »
@MarkMLI: see FPC Git Migration on the Wiki.

BTW, I agree. Git (when used as an insult) is a reasonably appropriate name for it which is why sites like this (Warning: Adult Content) and this (same site, but for the more genteel) exist.

[Edit] To continue using svn on macOS, see this thread.
« Last Edit: April 24, 2021, 04:02:39 am by trev »

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: [Solved] Can't install trunk version of FPC and Lazarus. Need help
« Reply #11 on: April 24, 2021, 09:15:58 am »
@MarkMLI: see FPC Git Migration on the Wiki.

BTW, I agree. Git (when used as an insult) is a reasonably appropriate name for it which is why sites like this (Warning: Adult Content) and this (same site, but for the more genteel) exist.

[Edit] To continue using svn on macOS, see this thread.

Git certainly has its uses as a way of coordinating distributed development, but I've never been convinced that it is good for the sort of distribution for which FPC and Lazarus use Subversion.

I've seen an interesting case where PCB design software (KiCAD) uses git as the repository for live templates etc., it seems to work but I think Subversion would work equally well.

I've also seen it used as the principal distribution mechanism for Mycroft https://mycroft.ai/ where arguably it doesn't work: the developers have somehow managed to structure it that you have to pull the entire repository (i.e. depth= can't be used) before anything will work.

So I remain sceptical.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018