Recent

Author Topic: Fpcupdeluxe  (Read 910352 times)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1797
Re: Fpcupdeluxe
« Reply #2235 on: June 11, 2023, 02:45:16 pm »
If you start fpcupdeluxe, it will show you the installed cross-compilers.
Please check if aarch64-linux is one of them.
If not (or even if so), please (re-)install the aarch64-linux cross-compiler.
(I suspect you might have installed aarch64-embedded, but I might also be wrong)

Hartmut

  • Hero Member
  • *****
  • Posts: 905
Re: Fpcupdeluxe
« Reply #2236 on: June 11, 2023, 05:30:31 pm »
Thank you DonAlfredo for your quick reply.

If you start fpcupdeluxe, it will show you the installed cross-compilers.
Please check if aarch64-linux is one of them.

Yes, it is one of them, see screenshot "cross-compilers.png"

Quote
If not (or even if so), please (re-)install the aarch64-linux cross-compiler.

I re-installed the aarch64-linux cross-compiler. Unfortunately it made no difference, I get the same Error messages in the IDE as before, see screenshot "error_message.png"

Please help me. I attached the fpcupdeluxe logfiles (black and white windows).
If you have any questions, please ask. Thanks.

ginoo

  • Full Member
  • ***
  • Posts: 111
Re: Fpcupdeluxe
« Reply #2237 on: June 12, 2023, 09:31:07 am »
@Hartmut

I tried installing it with LAMW and it worked. It failed to compile, but installed it already compiled

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1797
Re: Fpcupdeluxe
« Reply #2238 on: June 12, 2023, 11:40:40 am »
See included screenshot.
I tried to simulate your setup, up to all details. Works flawless on my system.
So, I am out of options unfortunately.
You might try to do the following.
Delete both the lazarus directory and the lazarus config directory and re-run fpcupdeluxe to install Lazarus. This might help.
If not ... :-(

Hartmut

  • Hero Member
  • *****
  • Posts: 905
Re: Fpcupdeluxe
« Reply #2239 on: June 12, 2023, 06:02:23 pm »
@Hartmut
I tried installing it with LAMW and it worked.
Thanks ginoo.

Quote
It failed to compile, but installed it already compiled
Sorry, I don't understand this sentence. Can you please explain more verbose?



See included screenshot.
I tried to simulate your setup, up to all details. Works flawless on my system.
So, I am out of options unfortunately.

Thank you very much DonAlfredo for your detailed testing. More you cannot do. So I will live with this issue.

Josh

  • Hero Member
  • *****
  • Posts: 1372
Re: Fpcupdeluxe
« Reply #2240 on: June 18, 2023, 11:55:39 pm »
Just tried a fresh install of fpc fixes but get following error

typshrd.inc(146,11) Error: Identifier not found "ArcTan2"
windows.pp(75) Fatal: There were 1 errors compiling module, stopping
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Wallaby

  • Full Member
  • ***
  • Posts: 104
Re: Fpcupdeluxe
« Reply #2241 on: June 19, 2023, 03:01:25 am »
typshrd.inc(146,11) Error: Identifier not found "ArcTan2"
windows.pp(75) Fatal: There were 1 errors compiling module, stopping

That'd be from this commit.

BSaidus

  • Hero Member
  • *****
  • Posts: 616
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Fpcupdeluxe
« Reply #2242 on: June 20, 2023, 05:36:27 pm »
problem with fppkg.
Hello, using the last release of fpcupdeluxe today, I compiled fpc trunk, lazarus ( release, fixes 2.2, and TRUNK). while building finished & trying to start lazaarus, it seems that there is an error in fppkg configuration .
I posted in lazarus, FPC issues
https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40336
https://gitlab.com/freepascal.org/fpc/source/-/issues/40328

@Marcov, says that the issue concern fpcupdeluxe.

Thanks.


lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

af0815

  • Hero Member
  • *****
  • Posts: 1383
Re: Fpcupdeluxe
« Reply #2243 on: June 21, 2023, 09:42:33 am »
Actual i am not able to make a fpc->fixes with Lazarus->trunk(main). The fpc part is well done, LazBuild cannot compiled, because there is a dupilcate definition in lazcanvas.pas
Quote
    {$if FPC_FullVersion < 30301}
    PolygonNonZeroWindingRule: Boolean; // <--- here
    {$endif}
Is this on my system only or known ?

Edit: Original Message
Quote
Build with: FPC 3.2.2 on Win11 x86_64 // = branch fixes
...........
Compiling lazcanvas.pas
Compiling lazregions.pas
lazcanvas.pas(89,30) Error: Duplicate identifier "PolygonNonZeroWindingRule"
lazcanvas.pas(168,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

« Last Edit: June 21, 2023, 10:03:41 am by af0815 »
regards
Andreas

Wallaby

  • Full Member
  • ***
  • Posts: 104
Re: Fpcupdeluxe
« Reply #2244 on: June 21, 2023, 01:58:53 pm »
Actual i am not able to make a fpc->fixes with Lazarus->trunk(main). The fpc part is well done, LazBuild cannot compiled, because there is a dupilcate definition in Is this on my system only or known ?

Same here, must be some new commit in the last couple of days.

FPC trunk/LAZ trunk build okay, FPC fixes/LAZ trunk errors with this message.

paweld

  • Hero Member
  • *****
  • Posts: 1363
Re: Fpcupdeluxe
« Reply #2245 on: June 21, 2023, 03:42:43 pm »
reported bug: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40339
In the meantime, replace in the lazcanvas.pas file:
Code: [Select]
{$if FPC_FullVersion < 30301}to
Code: [Select]
{$if FPC_FullVersion < 30203}   
   
Lines: 88 and 863   
   
Edit: @af0815, @Wallaby - problem solved.
« Last Edit: June 21, 2023, 04:44:46 pm by paweld »
Best regards / Pozdrawiam
paweld

ydd

  • Jr. Member
  • **
  • Posts: 82
Re: Fpcupdeluxe
« Reply #2246 on: June 27, 2023, 01:20:32 am »
I use VirtualBox on Windows and virtual machine with Linux.
Some time ago I was able to install Lazarus stable into folder inside of virtual machine.
Now I want to use "Shared Folders" feature of VirtualBox and install Lazarus into folder which is shared between Windows and Linux VM. Such way I can share same Lazarus installation between virtual machines. See settings for Shared Folder in screenshot.

I'm getting error:
Quote
fpcupdeluxe: Executing: /usr/bin/make --directory=/home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus FPC=/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/fpc.sh PP=/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/ppcx64 USESVN2REVISIONINC=0 PREFIX=/home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus INSTALL_PREFIX=/home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus LAZARUS_INSTALL_DIR=/home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus/ FPCDIR=/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/units/x86_64-linux FPCMAKE=/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/fpcmake PPUMOVE=/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/ppumove OPT=-vw-n-h-l-d-u-t-p-c- -g -gl lazbuild (working dir: /home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus)
make: *** [Makefile:3800: registration] Error 2
/usr/bin/make -C packager/registration
/home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/fpc.sh -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -FE. -FU../units/x86_64-linux -Cg -Fl/usr/lib/gcc/x86_64-linux-gnu/10 -vw-n-h-l-d-u-t-p-c- -g -gl -dx86_64 fcllaz.pas
(1002) Target OS: Linux for x86-64
(3104) Compiling fcllaz.pas
Fatal: (10022) Can't find unit system used by fcllaz
Fatal: (1018) Compilation aborted
Error: /home/yd/SHARE/LinuxLazarus/230626_Stable/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
fpcupdeluxe: ERROR: Lazarus Native Installer (BuildModuleCustom: Lazbuild): make returned exit status #512.

ERROR: Fpcupdeluxe fatal error !
Sequencer (UserIDE): Failure running fpcupdeluxe: error executing sequence UserIDE
Sequencer (Lazarus): Failure running fpcupdeluxe: error executing sequence Lazarus
Sequencer (Default): Failure running fpcupdeluxe: error executing sequence Default

if I run "/usr/bin/make .." in console I'm getting error:
Quote
/usr/bin/make: invalid option -- 'g'

PS: if I run "Install/Update .." again - I'm getting errors:
Quote
yd@d11:~/SHARE/LinuxLazarus/230626_Stable/lazarus$ /usr/bin/git status --porcelain
fatal: detected dubious ownership in repository at '/home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus'
To add an exception for this directory, call:
        git config --global --add safe.directory /home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus

executing command "git config --global --add safe.directory /home/yd/SHARE/LinuxLazarus/230626_Stable/lazarus" fixes error

thank you!

Gustavo 'Gus' Carreno

  • Hero Member
  • *****
  • Posts: 1189
  • Professional amateur ;-P
Re: Fpcupdeluxe
« Reply #2247 on: June 27, 2023, 03:16:33 pm »
Hey ydd,

The way all the config files and the whole system is installed, it's heavily based on full path and not relative paths.

In other words, if you have it on a shared folder and it's Under Windows as E:\etc\etc and you installed it in /home/yd/SHARE/LinuxLazarus on your Linux box, then every time fpc wants to find the files, it's gonna try accessing /home/yd/SHARE/LinuxLazarus which in a Windows env it makes no sense.

Sorry, but FPC+Lazarus is not able to be installed in a way you can share that install.

Hope this helps!!

Cheers,
Gus
Lazarus 3.99(main) FPC 3.3.1(main) Ubuntu 23.10 64b Dark Theme
Lazarus 3.0.0(stable) FPC 3.2.2(stable) Ubuntu 23.10 64b Dark Theme
http://github.com/gcarreno

WayneSherman

  • Sr. Member
  • ****
  • Posts: 255
Re: Fpcupdeluxe
« Reply #2248 on: June 27, 2023, 03:37:36 pm »
I use VirtualBox on Windows and virtual machine with Linux.
Some time ago I was able to install Lazarus stable into folder inside of virtual machine.
Now I want to use "Shared Folders" feature of VirtualBox and install Lazarus into folder which is shared between Windows and Linux VM. Such way I can share same Lazarus installation between virtual machines.

When I setup shared folders in Virtualbox for building FPC and Lazarus I had to enable symlink support for shared folders in Virtualbox:
https://forum.lazarus.freepascal.org/index.php/topic,34645.msg407786.html#msg407786

In my case running Virtualbox on a Linux host with a Linux guest.

ydd

  • Jr. Member
  • **
  • Posts: 82
Re: Fpcupdeluxe
« Reply #2249 on: June 27, 2023, 04:36:18 pm »
In other words, if you have it on a shared folder and it's Under Windows as E:\etc\etc and you installed it in /home/yd/SHARE/LinuxLazarus on your Linux box, then every time fpc wants to find the files, it's gonna try accessing /home/yd/SHARE/LinuxLazarus which in a Windows env it makes no sense.

for the very long time I compile & debug using Lazarus on Linux VM accessing files which are stored on Windows host using SharedFolders. File Structure is very big - with many directories and files.

 

TinyPortal © 2005-2018