Recent

Author Topic: Fpcupdeluxe  (Read 792637 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1770 on: January 17, 2021, 12:45:18 pm »
Code: Pascal  [Select][+][-]
  1. cd /usr/lib/x86_64-linux-gnu
  2. sudo ln -s libGL.so.1 libGL.so

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: Fpcupdeluxe
« Reply #1771 on: January 17, 2021, 12:54:29 pm »
Now how do I make Lazarus see it? By using symbolic links?

When you install the corresponding "-dev" package it should itself add the link and, incidentally, is the recommended way to do it.

Unless there is a very special purpose to it you should leave the system deal with system directories itself.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Fpcupdeluxe
« Reply #1772 on: January 17, 2021, 03:28:05 pm »
Now how do I make Lazarus see it? By using symbolic links?

When you install the corresponding "-dev" package it should itself add the link and, incidentally, is the recommended way to do it.

Unless there is a very special purpose to it you should leave the system deal with system directories itself.

Thanks a million. It worked.

JD
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

thecorsoguy

  • Newbie
  • Posts: 1
Re: Fpcupdeluxe
« Reply #1773 on: January 18, 2021, 02:44:56 pm »
I have a strange issue on MacOs Big Sur.

I install Fpcupdelux-x86_64-darwin-cocoa to install FPC and Lazarus.

As soon as I tried it I got the error that SVN is not found on the system. I install it using brew and now I can run SNV from the terminal, but fpcupdelux still warn me it is not present and so it can't install anything.

How can I solve this issue?

Thanks

Luca

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1774 on: January 18, 2021, 04:59:26 pm »
On recent Mac its best to use a GIT repo. GIT is available by default.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Fpcupdeluxe
« Reply #1775 on: January 18, 2021, 09:59:50 pm »
I have a strange issue on MacOs Big Sur.
[...]
As soon as I tried it I got the error that SVN is not found on the system.

Starting with Catalina, the Apple Xcode and command line tools removed svn so now you need to use git. Installing a third party svn probably doesn't work with Fpcupdeluxe because it is looking for the Xcode tool.

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 363
Re: Fpcupdeluxe
« Reply #1776 on: January 19, 2021, 02:32:30 am »
> its best to use a GIT repo

Right, but only few versions are available under git, and I need 3.3.1/2.1.0. Is it possible to fix FPCUPdeluxe to use another svn?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Fpcupdeluxe
« Reply #1777 on: January 19, 2021, 03:03:00 am »
The Wiki article Installing Lazarus on macOS has detailed instructions for installing Lazarus trunk and FPC trunk on macOS (Intel or aarch64) for both svn and git. It's easy.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1778 on: January 19, 2021, 08:46:13 am »
Quote
I need 3.3.1/2.1.0
= FPC trunk / Lazarus trunk
These are available through GIT. As are Lazarus and FPC stable.

nomorelogic

  • Full Member
  • ***
  • Posts: 165
Re: Fpcupdeluxe
« Reply #1779 on: February 04, 2021, 08:43:26 am »
hi

during installation of fpc and lazarus, both stable, I get this error
any idea about the installation fails?

thanks
nomorelogic

Code: Pascal  [Select][+][-]
  1. ....
  2. (3104) Compiling sshgdbmidebugger.pas
  3. (1008) 20675 lines compiled, 1.7 sec
  4. (1002) Target OS: Linux for x86-64
  5. (3104) Compiling allsyneditdsgn.pas
  6. (3104) Compiling syndesignstringconstants.pas
  7. (1023) 15 note(s) issued
  8. (3104) Compiling syneditlazdsgn.pas
  9. (3104) Compiling synpropertyeditobjectlist.pas
  10. (1008) 977 lines compiled, 0.7 sec
  11. An unhandled exception occurred at $0000000000000000:
  12. EAccessViolation: Access violation
  13.   $0000000000000000
  14.   $00000000009F1864  SETTOOL,  line 1323 of exttools.pas
  15.   $00000000009F2ABE  DESTROY,  line 1622 of exttools.pas
  16. make: *** [Makefile:3610: useride] Errore 217
  17. fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: UserIDE): make returned exit status #512
  18.  
  19.  
  20. ERROR: Fpcupdeluxe fatal error !
  21. Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
  22. Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
  23. Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default
  24.  


Edit:
Code: Pascal  [Select][+][-]
  1. # uname -a
  2. Linux ws4m 5.10.10-artix1-1 #1 SMP PREEMPT Sun, 24 Jan 2021 14:25:12 +0000 x86_64 GNU/Linux
  3.  

sstvmaster

  • Sr. Member
  • ****
  • Posts: 299
Re: Fpcupdeluxe
« Reply #1780 on: February 13, 2021, 11:08:59 pm »
I have problems with trunk. fpcupdeluxe is version 1.8.2j win32.
Code: Pascal  [Select][+][-]
  1. C:/!LAZ/laztrunk/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/!LAZ/laztrunk/fpcsrc/rtl/units/i386-win32 -Fii386 -FEi386/bin/i386-win32 -FUi386/units/i386-win32 -dRELEASE -vw-n-h-l-d-u-t-p-c-   -dREVINC -di386 -dGDB -dBROWSERLOG -Fux86 -Fix86 version.pas
  2. C:/!LAZ/laztrunk/fpcbootstrap/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems -FuC:/!LAZ/laztrunk/fpcsrc/rtl/units/i386-win32 -Fii386 -FEi386/bin/i386-win32 -FUi386/units/i386-win32 -dRELEASE -vw-n-h-l-d-u-t-p-c-   -dREVINC -di386 -dGDB -dBROWSERLOG -Fux86 -Fix86 pp.pas
  3. t_embed.pas(1704,3) Fatal: Syntax error, "NIL" expected but "(" found
  4. Fatal: Compilation aborted
  5. make[4]: *** [next] Error 2
  6. make[3]: *** [ppc1.exe] Error 2
  7. make[2]: *** [cycle] Error 2
  8. make[1]: *** [compiler_cycle] Error 2
  9. make: *** [build-stamp.i386-win32] Error 2
  10.  
  11. fpcupdeluxe: ERROR: FPCNativeInstaller (BuildModuleCustom: FPC): Error running C:\!LAZ\laztrunk\fpcbootstrap\make.exe for FPC failed with exit code 2
  12. . Details:
  13.  
  14.  
  15. ERROR: Fpcupdeluxe fatal error !
  16. Sequencer (FPC): Failure running fpcupdeluxe: error executing sequence FPC
  17. Sequencer (Defaultwin32): Failure running fpcupdeluxe: error executing sequence Defaultwin32
  18.  
greetings Maik

Windows 10,
- Lazarus 2.2.6 (stable) + fpc 3.2.2 (stable)
- Lazarus 2.2.7 (fixes) + fpc 3.3.1 (main/trunk)

sstvmaster

  • Sr. Member
  • ****
  • Posts: 299
Re: Fpcupdeluxe
« Reply #1781 on: February 18, 2021, 04:46:05 pm »
Solved, thanks to Don and Michael. See: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/342
« Last Edit: February 18, 2021, 07:16:13 pm by sstvmaster »
greetings Maik

Windows 10,
- Lazarus 2.2.6 (stable) + fpc 3.2.2 (stable)
- Lazarus 2.2.7 (fixes) + fpc 3.3.1 (main/trunk)

Bi0T1N

  • Jr. Member
  • **
  • Posts: 85
Re: Fpcupdeluxe
« Reply #1782 on: February 20, 2021, 02:37:21 pm »
Solved, thanks to Don and Michael. See: https://github.com/LongDirtyAnimAlf/fpcupdeluxe/issues/342
Thanks, I've had the same problem. Deleting the fpcbootstrap folder solved it :)
However, I only replace the fpcupdeluxe binary so all these bootstrap utilities seem to stay and not getting updated or is v1.8.2g of fpcupdeluxe too old and v1.8.2h forces to download a newer FPC version?
If the utilities are not updated maybe show a message that they should be updated/fpcbootstrap folder be deleted so that this error do not pop up again.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1738
Re: Fpcupdeluxe
« Reply #1783 on: February 20, 2021, 04:05:58 pm »
The bootstrap utilities (m.i. the bootstrap compiler) are not influenced by the fpcupdeluxe version.
Fpcupdeluxe reads the Makefile of FPC to find a bootstrap version.

FPC 3.2 contains this:
REQUIREDVERSION=3.0.4
REQUIREDVERSION2=3.2.0

FPC trunk (3.3.1) contains this:
REQUIREDVERSION=3.2.0
REQUIREDVERSION2=3.0.4

As you can see, version 3.0.4 is allowed for both 3.2 as well as 3.3.1.
However, 3.0.4 does not work that well anymore.

If fpcupdeluxe finds an available 3.0.4 in the bootstrap directory, it will use it while it is allowed by the Makefile.
If you delete the bootstrapper, fpcupdeluxe will download a new one. The highest allowed. So, it will try to download a 3.2.0 bootstrapper.
So, deleting the bootstrapper and re-run fpcupdeluxe might solve this problem.

Okoba

  • Hero Member
  • *****
  • Posts: 528
Re: Fpcupdeluxe
« Reply #1784 on: February 22, 2021, 11:29:28 am »
DonAlfredo,

Today I faced an issue I wanted to share with you, Fpcupdeluxe was saying it had done everything well, but Lazarus was not the latest Trunk. After a while I found out that there is an untracked file "packager/globallinks/chmhelppkg-0.2.1.lpl" that prevents git to merge, but there was no hint in the logs and I find this while executing git separately. After removing that file, git could merge and Fpcupdeluxe done the job.

Here is the git output:
Quote
git.exe pull --progress -v --no-rebase "origin"
From https://github.com/graemeg/lazarus
= [up to date]            upstream     -> origin/upstream
= [up to date]            fixes_0.9.28 -> origin/fixes_0.9.28
= [up to date]            master       -> origin/master
error: The following untracked working tree files would be overwritten by merge:
packager/globallinks/chmhelppkg-0.2.1.lpl
Please move or remove them before you merge.
Updating 11bab9a731..1fdfd8b521
Aborting

I think there should be a warning or stop if git throws such error.

 

TinyPortal © 2005-2018