Recent

Author Topic: Fpcupdeluxe  (Read 492251 times)

ydd

  • New Member
  • *
  • Posts: 39
Re: Fpcupdeluxe
« Reply #1740 on: January 16, 2021, 12:41:06 am »
miracle - I selected trunk.git for both - and it succeeded!

JD

  • Hero Member
  • *****
  • Posts: 1822
Re: Fpcupdeluxe
« Reply #1741 on: January 16, 2021, 05:41:26 pm »
Two possibilities:
1:
You need to have libGL installed on your system. See: https://dri.freedesktop.org/wiki/libGL/ . Part of OpenGL.
2:
You have libGL on your system, but need an extra symlink. E.g. libGL.so.1 -> libGL.so

How do I install libGL on my system becase I've searched and I can't find it?

JD
Windows (10), Linux Mint - Lazarus 2.1/FPC 3.2, Delphi

Indy 10.6 series; mORMot; Zeos 7.3; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1404
Re: Fpcupdeluxe
« Reply #1742 on: January 16, 2021, 07:46:52 pm »
1: Try to locate this lib on your system using:
Code: Pascal  [Select][+][-]
  1. locate libGL.so

2: Find it in a package:
Code: Pascal  [Select][+][-]
  1. dpkg --get-selections | awk '/libgl/{print $1}' | xargs dpkg-query --show $1

3: If needed, install the package. Most used:
Code: Pascal  [Select][+][-]
  1. sudo apt-get install libgl1
  2. sudo apt-get install libgl1-mesa-dev

JD

  • Hero Member
  • *****
  • Posts: 1822
Re: Fpcupdeluxe
« Reply #1743 on: January 17, 2021, 12:37:57 pm »
1: Try to locate this lib on your system using:
Code: Pascal  [Select][+][-]
  1. locate libGL.so

Now I found it. Thanks a lot. My results are as follows:

Code: Pascal  [Select][+][-]
  1. /usr/lib/i386-linux-gnu/libGL.so.1
  2. /usr/lib/i386-linux-gnu/libGL.so.1.7.0
  3. /usr/lib/x86_64-linux-gnu/libGL.so.1
  4. /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0
  5.  

Now how do I make Lazarus see it? By using symbolic links? If so, I haven't used them in a long while so I would appreciate your assistance here  :D

JD
« Last Edit: January 17, 2021, 12:40:37 pm by JD »
Windows (10), Linux Mint - Lazarus 2.1/FPC 3.2, Delphi

Indy 10.6 series; mORMot; Zeos 7.3; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1404
Re: Fpcupdeluxe
« Reply #1744 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: 3600
Re: Fpcupdeluxe
« Reply #1745 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.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

JD

  • Hero Member
  • *****
  • Posts: 1822
Re: Fpcupdeluxe
« Reply #1746 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 (10), Linux Mint - Lazarus 2.1/FPC 3.2, Delphi

Indy 10.6 series; mORMot; Zeos 7.3; SQLite, Firebird, PostgreSQL & MariaDB; VirtualTreeView 5.5.3 R1

thecorsoguy

  • Newbie
  • Posts: 1
Re: Fpcupdeluxe
« Reply #1747 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: 1404
Re: Fpcupdeluxe
« Reply #1748 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: 1275
  • Former Delphi 1-7, 10.2 User
Re: Fpcupdeluxe
« Reply #1749 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.
Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64455 3.3.1 r48688  macOS 11.2 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

Grahame Grieve

  • Full Member
  • ***
  • Posts: 156
Re: Fpcupdeluxe
« Reply #1750 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: 1275
  • Former Delphi 1-7, 10.2 User
Re: Fpcupdeluxe
« Reply #1751 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.
Lazarus 2.1 r64368 FPC 3.3.1 r48100 macOS 10.14.6 Xcode 11.3.1
Lazarus 2.1 r64455 3.3.1 r48688  macOS 11.2 aarch64 Xcode 12.4
Lazarus 2.1 r61574 3.3.1 r42318 FreeBSD 12.1 amd64 VMware VM
Lazarus 2.1 r61574 3.0.4 Ubuntu 20.04 Parallels VM
Lazarus 2.0.10 3.2.0 Win10 Parallels VM

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1404
Re: Fpcupdeluxe
« Reply #1752 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: 136
Re: Fpcupdeluxe
« Reply #1753 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

  • Full Member
  • ***
  • Posts: 211
Re: Fpcupdeluxe
« Reply #1754 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.  
Windows 10 (64 bit)
Lazarus: 2.0.12 / Trunk x32

 

TinyPortal © 2005-2018