Recent

Author Topic: Building latest Lazarus  (Read 2871 times)

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Building latest Lazarus
« on: December 12, 2022, 12:00:08 pm »
I get an error during compile: "idecmdline.pas(45,3) Error: Cannot find LazConf used by IDECmdLine."

This should be the latest version, from yesterday.

Windows 10, 64 bit, freshly compiled fpc (latest).

Code: Pascal  [Select][+][-]
  1. Hint: (11030) Start of reading config file C:\Data\Projecten\fpc\bin\x86_64-win64\fpc.cfg
  2. Hint: (11031) End of reading config file C:\Data\Projecten\fpc\bin\x86_64-win64\fpc.cfg
  3. Free Pascal Compiler version 3.3.1 [2022/12/12] for x86_64
  4. Copyright (c) 1993-2022 by Florian Klaempfl and others
  5. (1002) Target OS: Win64 for x64
  6. (3104) Compiling lazbuild.lpr
  7. C:\Data\Projecten\lazarus\ide\lazbuild.lpr(35,25) Warning: (5075) Unit "UITypes" is deprecated: "Use System.UITypes instead (available since FPC 3.2.0)"
  8. (3104) Compiling initialsetupproc.pas
  9. (10001) PPU Loading ..\units\x86_64-win64\nogui\lazconf.ppu
  10. (10011) PPU Source: lazconf.pp not found
  11. (10011) PPU Source: version.inc not available
  12. (10011) PPU Source: lazconf.inc not available
  13. (10011) PPU Source: ..\win\lazbaseconf.inc not available
  14. (10028) Recompiling LazConf, checksum changed for C:\Data\Projecten\fpc\units\x86_64-win64\rtl\sysutils.ppu
  15. C:\Data\Projecten\lazarus\ide\initialsetupproc.pas(42,24) Fatal: (10022) Can't find unit LazConf used by InitialSetupProc
  16. Fatal: (1018) Compilation aborted
  17. make[2]: *** [lazbuild.exe] Error 1
  18. make[2]: Leaving directory `C:/Data/Projecten/lazarus/ide'
  19. make[1]: *** [lazbuilder] Error 2
  20. make[1]: Leaving directory `C:/Data/Projecten/lazarus/ide'
  21. make: *** [lazbuild] Error 2
  22. PS C:\Data\Projecten\lazarus>


Code: Pascal  [Select][+][-]
  1. PS C:\Data\Projecten\lazarus> make install
  2. C:/Apps/FPC/3.2.2/bin/i386-win32/cp.exe -Rfp packager debugger designer converter ide images languages lazarus.app units C:\lazarus
  3. cp.exe: copying multiple files, but last argument (C:/lazarus) is not a directory
  4. Try `cp.exe --help' for more information.
  5. make: *** [install] Error 1
  6. PS C:\Data\Projecten\lazarus>

Starting the old IDE and rebuilding from there doesn't work either (same error as above).
« Last Edit: December 12, 2022, 12:07:35 pm by SymbolicFrank »

paweld

  • Hero Member
  • *****
  • Posts: 999
Re: Building latest Lazarus
« Reply #1 on: December 12, 2022, 01:22:33 pm »
Lazarus MainMenu > Package > install/Uninstall packages... 
Install package "IdeConfig"
Save and rebuild IDE
Best regards / Pozdrawiam
paweld

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9868
  • Debugger - SynEdit - and more
    • wiki
Re: Building latest Lazarus
« Reply #2 on: December 12, 2022, 01:47:52 pm »
Install package "IdeConfig"
Correct. (and select "clean all" in build Laz)


However, for the command line "make bigide" that should not be needed.
The error is strange:
Code: Text  [Select][+][-]
  1. (10028) Recompiling LazConf, checksum changed for C:\Data\Projecten\fpc\units\x86_64-win64\rtl\sysutils.ppu
"sysutils.ppu" should not have changed....

Did you do "make clean" before?
Because some files moved, and therefore there will be old ppu in the wrong folder.

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Building latest Lazarus
« Reply #3 on: December 12, 2022, 02:20:09 pm »
Ah, "make clean"  :-[

But it works :)

Only, now my application doesn't work anymore. It seems the merge didn't include the TDbf.NextAutoInc property. And I deleted the branch, so I cannot check where it goes wrong. Perhaps it's somewhere in a backup.

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Building latest Lazarus
« Reply #4 on: December 12, 2022, 03:28:30 pm »
Well, it turned out, that what Sourcetree showed me to be on my local disk, wasn't. I had to manually pull both repositories from main/main and rebuild all of it.

But the Variants visualizer now works  :D

SymbolicFrank

  • Hero Member
  • *****
  • Posts: 1313
Re: Building latest Lazarus
« Reply #5 on: December 14, 2022, 10:36:45 am »
At first, everything was very buggy, until I rebooted and did a "rebuild all". Now it works as expected. I'll keep that in mind. Ok, obvious, if you think about it.

 

TinyPortal © 2005-2018