Recent

Author Topic: Fpcupdeluxe  (Read 794453 times)

olly

  • New Member
  • *
  • Posts: 42
Re: Fpcupdeluxe
« Reply #1755 on: January 07, 2021, 06:39:19 pm »
But Fpcupdeluxe support unattended installation? I need to make a simple script to install FPC + Lazarus (version x + cross compile) on github action runner.

Yes! There is https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

I use it here https://github.com/ollydev/Simba/blob/single-exectuable/.github/workflows/build.yml

El Salvador

  • Full Member
  • ***
  • Posts: 134
Re: Fpcupdeluxe
« Reply #1756 on: January 08, 2021, 02:54:22 pm »
But Fpcupdeluxe support unattended installation? I need to make a simple script to install FPC + Lazarus (version x + cross compile) on github action runner.

Yes! There is https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

I use it here https://github.com/ollydev/Simba/blob/single-exectuable/.github/workflows/build.yml

Oh, very nice. Can I use your build.yml as base for my script? Thanks!

ydd

  • Jr. Member
  • **
  • Posts: 78
Re: Fpcupdeluxe
« Reply #1757 on: January 11, 2021, 12:48:10 am »
Introducing fpcupdeluxe

do you have plans for Apple M1 native support?

I read instructions how to manually setup FCP (https://wiki.freepascal.org/Installing_Lazarus_on_macOS) but it is too complicated for me.

From my site - I can provide you support of executing what is needed - I just bought Macbook Air M1 and main purpose was to test my code on ARM cpu.

sstvmaster

  • Sr. Member
  • ****
  • Posts: 299
Re: Fpcupdeluxe
« Reply #1758 on: January 14, 2021, 07:59:26 pm »
Problems with trunk:
Quote
(1002) Target OS: Win32 for i386
(3104) Compiling startlazarus.lpr
(3104) Compiling redirect_stderr.pas
(3104) Compiling lazarusmanager.pas
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(278,53) Error: (5000) Identifier not found "TStringListUTF8"
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(284,12) Error: (3205) Illegal qualifier
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(296,11) Error: (5000) Identifier not found "TStringListUTF8"
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(296,26) Error: (5007) Error in type definition
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(390,15) Error: (5000) Identifier not found "TStringListUTF8"
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(412,16) Error: (3205) Illegal qualifier
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(414,16) Error: (3205) Illegal qualifier
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(417,61) Error: (4025) Incompatible type for arg no. 1: Got "<erroneous type>", expected "{Open} Array Of AnsiString"
C:\!LAZ\laztrunk\lazarus\ide\lazarusmanager.pas(419,16) Error: (3205) Illegal qualifier
lazarusmanager.pas(482) Fatal: (10026) There were 9 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: C:\!LAZ\laztrunk\fpc\bin\i386-win32\ppc386.exe returned an error exitcode
make[1]: *** [starter] Error 2
make: *** [starter] Error 2
fpcupdeluxe: ERROR: LazarusNativeInstaller (BuildModuleCustom: StartLazarus): make.exe returned exit status #2

I think this is because of this: https://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=64384

Full log, see attachment.
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)

olly

  • New Member
  • *
  • Posts: 42
Re: Fpcupdeluxe
« Reply #1759 on: January 14, 2021, 09:26:29 pm »
But Fpcupdeluxe support unattended installation? I need to make a simple script to install FPC + Lazarus (version x + cross compile) on github action runner.

Yes! There is https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

I use it here https://github.com/ollydev/Simba/blob/single-exectuable/.github/workflows/build.yml

Oh, very nice. Can I use your build.yml as base for my script? Thanks!

Of course. Sorry for late reply.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1760 on: January 15, 2021, 12:41:25 pm »
Quote
do you have plans for Apple M1 native support?

https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.8.2g/fpcupdeluxe-aarch64-darwin-cocoa.zip

This version might work for you.


ydd

  • Jr. Member
  • **
  • Posts: 78
Re: Fpcupdeluxe
« Reply #1762 on: January 15, 2021, 03:54:00 pm »
Quote
do you have plans for Apple M1 native support?
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.8.2g/fpcupdeluxe-aarch64-darwin-cocoa.zip
This version might work for you.

thank you for your attention!

I was able to start, but it is giving error - "Access violation" on start (attached)
I can press to ignore error and open the App.
But I cannot continue - "FPC Version" & "Lazarus version" lists are empty
But app requires to select them
Screen attached

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1763 on: January 15, 2021, 03:59:58 pm »
This seems to be a security issue. Fpcupdeluxe must be allowed to create some files inside the directory it is placed and running. Please check if the permissions are correct and if this is allowed.

Ps:
I do not have a Mac. Only a VM on Windows running 10.15

ydd

  • Jr. Member
  • **
  • Posts: 78
Re: Fpcupdeluxe
« Reply #1764 on: January 15, 2021, 04:16:13 pm »
This seems to be a security issue. Fpcupdeluxe must be allowed to create some files inside the directory it is placed and running. Please check if the permissions are correct and if this is allowed.

I moved it from Downloads folder to Documents - and was able to start w/o error - thank you!

I will continue in about 5 hours

ydd

  • Jr. Member
  • **
  • Posts: 78
Re: Fpcupdeluxe
« Reply #1765 on: January 15, 2021, 11:39:04 pm »
Quote
do you have plans for Apple M1 native support?
https://github.com/LongDirtyAnimAlf/fpcupdeluxe/releases/download/1.8.2g/fpcupdeluxe-aarch64-darwin-cocoa.zip
This version might work for you.

I tried it. First I got problems due to missing SVN, so I selected stable.git for both FPC & Lazarus
Then I got other errors, logs are attached

ydd

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

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Fpcupdeluxe
« Reply #1767 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 - 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

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: Fpcupdeluxe
« Reply #1768 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: 1848
Re: Fpcupdeluxe
« Reply #1769 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 - 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

 

TinyPortal © 2005-2018