Recent

Author Topic: Help Installing using FPCUpDeluxe  (Read 2403 times)

Weitentaaal

  • Hero Member
  • *****
  • Posts: 539
Help Installing using FPCUpDeluxe
« on: April 08, 2024, 04:02:49 pm »
Hi,

i did search up the Error message i got but i could not find any working solution for me.
what do i have to do when i get this Message:

Quote
C:/FreshInstall/fpcbootstrap/make.exe compiler_cycle RELEASE=1
C:/FreshInstall/fpcbootstrap/make.exe -C compiler cycle
C:/FreshInstall/fpcbootstrap/make.exe tempclean ppc3.exe
C:/FreshInstall/fpcbootstrap/make.exe 'OLDFPC=' next CYCLELEVEL=1
C:/FreshInstall/fpcbootstrap/make.exe rtlclean rtl
C:/FreshInstall/fpcbootstrap/make.exe -C C:/FreshInstall/fpcsrc/rtl clean
C:/FreshInstall/fpcbootstrap/make.exe -C win64 clean
C:/FreshInstall/fpcbootstrap/make.exe -C C:/FreshInstall/fpcsrc/rtl 'OPT=-vw-n-h-l-d-u-t-p-c- -dFPC_SOFT_FPUX80  ' all
C:/FreshInstall/fpcbootstrap/make.exe -C win64 all
C:/FPC/3.2.2/bin/i386-Win32/fpc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/FreshInstall/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-l-d-u-t-p-c- -dFPC_SOFT_FPUX80 -dx86_64 -dRELEASE  -Us -Sg system.pp -Fi../win
system.pp(77,18) Error: Invalid register name
system.pp(77,18) Error: No size specified and unable to determine the size of the operands
system.inc(154,4) Fatal: Cannot open include file "i386.inc"
Fatal: Compilation aborted
Error: C:\FPC\3.2.2\bin\i386-Win32\ppc386.exe returned an error exitcode
make.exe[6]: *** [win64_all] Error 2
make.exe[5]: *** [rtl_] Error 2
make.exe[4]: *** [next] Error 2
make.exe[3]: *** [ppc1.exe] Error 2
make.exe[2]: *** [cycle] Error 2
make.exe[1]: *** [compiler_cycle] Error 2
C:\FreshInstall\fpcbootstrap\make.exe: *** [build-stamp.x86_64-win64] Error 2

fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running C:\FreshInstall\fpcbootstrap\make.exe for FPC failed with exit code 2
. Details: .


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

in the textbox under the command line i got this messages:

Quote
info: FPC Native Installer (BuildModule: FPC): Now building FPC.
info: FPC Native Installer (BuildModule: FPC): Adding -dFPC_SOFT_FPUX80 to compiler option to enable 80bit (soft)float support (trunk only).
Start of compile error summary.
system.pp(77,18) Error: Invalid register name
Start of compile error summary.
system.pp(77,18) Error: No size specified and unable to determine the size of the operands
Start of compile error summary.
system.inc(154,4) Fatal: Cannot open include file "i386.inc"
system.pp(77,18) Error: No size specified and unable to determine the size of the operands
Start of compile error summary.
Fatal: Compilation aborted
system.inc(154,4) Fatal: Cannot open include file "i386.inc"
Start of compile error summary.
Error: C:\FPC\3.2.2\bin\i386-Win32\ppc386.exe returned an error exitcode
Start of compile error summary.
ERROR: FPC Native Installer (BuildModule: FPC): Error running C:\FreshInstall\fpcbootstrap\make.exe for FPC failed with exit code 2
. Details: .
fpcupdeluxe: Done !!

All the Solutions that i found so far would be trying the same in a different Folder/new Folder but i get this Messages for any Versions i try to install. I wanted to be sure and tried Stable/Stable but got the same error.
« Last Edit: April 08, 2024, 04:06:20 pm by Weitentaaal »

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2269
  • Fifty shades of code.
    • Delphi & FreePascal
Re: Help Installing using FPCUpDeluxe
« Reply #1 on: April 08, 2024, 04:30:24 pm »
To me it looks like that the installer uses a wrong FPC for compilation.
In my own installation I let FPUP(deluxe) download, configure and use everything within one basefolder.
In your case, you try install to "C:/FreshInstall/" but it uses "C:/FPC/3.2.2/bin/i386-Win32/" as compiler.
I am unsure how you have done that, but it might be the reason.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

ccrause

  • Hero Member
  • *****
  • Posts: 932
Re: Help Installing using FPCUpDeluxe
« Reply #2 on: April 08, 2024, 04:38:43 pm »

Quote
C:/FreshInstall/fpcbootstrap/make.exe -C win64 all
C:/FPC/3.2.2/bin/i386-Win32/fpc.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/FreshInstall/fpcsrc/rtl/units/x86_64-win64 -vw-n-h-l-d-u-t-p-c- -dFPC_SOFT_FPUX80 -dx86_64 -dRELEASE  -Us -Sg system.pp -Fi../win
system.pp(77,18) Error: Invalid register name
system.pp(77,18) Error: No size specified and unable to determine the size of the operands
system.inc(154,4) Fatal: Cannot open include file "i386.inc"
Fatal: Compilation aborted
Error: C:\FPC\3.2.2\bin\i386-Win32\ppc386.exe returned an error exitcode

Seems like i386 and x86_64 gets mixed up somehow.  Are you using fpcupdeluxe-i386-win32.exe?  Maybe explain what options you have selected in fpcupdeluxe. If starting from the i386 compiler, you may have to ask fpcupdeluxe to create a x86_64 cross compiler first (not sure, I don't use fpcupdeluxe that often)?

Weitentaaal

  • Hero Member
  • *****
  • Posts: 539
Re: Help Installing using FPCUpDeluxe
« Reply #3 on: April 08, 2024, 04:40:13 pm »
i have absolutely no clue how i did that. i just created this folder and selected it. Chose my FPC and Laz Version and clicked on "Install/Update Lazarus + FPC". Is it possible to set the path for FPC install folder ?. i want a completly fresh installation but keep the current installation i have, is that possible or should i just completly remove every installation i have ?.

Edit: im using: fpcupdeluxe-x86_64-win64.exe

TRon

  • Hero Member
  • *****
  • Posts: 3129
Re: Help Installing using FPCUpDeluxe
« Reply #4 on: April 08, 2024, 09:08:40 pm »
Is it possible to set the path for FPC install folder ?. i want a completly fresh installation but keep the current installation i have, is that possible or should i just completly remove every installation i have ?.
You can have separate installations by using the install path on the first FPCUpDeluxe screen/window at the top-left (it is literally staring at you  :) ).

If you meant separated from your Lazarus installation then I am not aware that it is possible with FPCUpDeluxe (without hurting FPCUpDeluxe auto installation process).

FPCUpDeluxe does offer the option to use another (existing, systemwide) FPC installation but afaik FPCUpDeluxe tries to stay away from that installation as much as possible, e.g. not try to manipulate it only use it for the build process.
All software is open source (as long as you can read assembler)

Weitentaaal

  • Hero Member
  • *****
  • Posts: 539
Re: Help Installing using FPCUpDeluxe
« Reply #5 on: April 09, 2024, 07:42:41 am »
Thank you guys i am able to run both Installations now. Made Backups of Configs and FPC Folder just in case.

 

TinyPortal © 2005-2018