Recent

Author Topic: Missing Graphtype for installation?  (Read 1077 times)

teresa

  • Guest
Missing Graphtype for installation?
« on: April 11, 2024, 10:22:24 am »
I have to update Lazarus since MariaDB has updated and the MySQL connector verion 5.7 at least is required. The distro (openSUSE Leap) has only old versions in repositories, so I ignored them.

I installed fpc 3.2.2 - apparently successfully - in /usr/local

Downloaded lazarus-3.2.0.tar.gz, extracted it, (into ~/lazarus) ran 'make clean', then 'make bigide' as usual.

This failed quite quickly, with the message 'cannot find unit GraphType used by LMessages'. but
I can find  graphtype.pp in ~/lazarus/components/lazutils  which generates the unit GraphType

What's happening here?

I'll append the log - help would really be appreciated.

Teresa

Code: Text  [Select][+][-]
  1. /usr/bin/rm -f units/x86_64-linux/alllclunits.ppu
  2. /usr/bin/rm -f ../units/x86_64-linux/fcllaz.ppu
  3. /usr/bin/mkdir -p units/x86_64-linux
  4. /usr/bin/mkdir -p ../units/x86_64-linux
  5. /usr/local/bin/ppcx64 -MObjFPC -Scghi -O1 -g -gl -l -vewnhibq -Fu. -Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux/rtl -FE. -FU../units/x86_64-linux -Cg -Fl/usr/lib64/gcc/x86_64-suse-linux/7 -dx86_64 fcllaz.pas
  6. /usr/local/bin/ppcx64 -gl -Sic -Fu../packager/units/x86_64-linux -Fu../components/lazutils/lib/x86_64-linux -Fu../components/freetype/lib/x86_64-linux -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fu/usr/local/lib/fpc/3.2.2/units/x86_64-linux/rtl -Fiinclude -FE. -FUunits/x86_64-linux -Cg -Fl/usr/lib64/gcc/x86_64-suse-linux/7 -dx86_64 alllclunits.pp
  7. Hint: (11030) Start of reading config file /etc/fpc.cfg
  8. Hint: (11031) End of reading config file /etc/fpc.cfg
  9. Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64
  10. Copyright (c) 1993-2021 by Florian Klaempfl and others
  11. (1002) Target OS: Linux for x86-Free Pascal Compiler version 3.2.2 [2021/05/16] for x86_64
  12. Copyright (c) 1993-2021 by Florian Klaempfl and others
  13. Target OS: Linux for x86-64
  14. Compiling alllclunits.pp
  15. Compiling checklst.pas
  16. Compiling lcltype.pp
  17. lcltype.pp(1136,36) Note: Values in enumeration types have to be ascending
  18. Compiling lclintf.pas
  19. Compiling lmessages.pp
  20. lmessages.pp(31,3) Fatal: Can't find unit GraphType used by LMessages
  21. Fatal: Compilation aborted
  22.  

teresa

  • Guest
Re: Missing Graphtype for installation?
« Reply #1 on: April 12, 2024, 12:36:26 am »
Seems that $MAKEFLAGS "-j 6" was too much for something, although I'm quite sure it was set to that value last time I built Lazarus (v2.0. from memory).

Resetting to "-j 1" has completed the compilation. 

 

TinyPortal © 2005-2018