LongDirtyAnimAlf / fpcupdeluxe

A GUI based installer for FPC and Lazarus
505 stars 94 forks source link

Can't build lazarus after install (can't install packages) (OSX) #630

Open grahamegrieve opened 1 year ago

grahamegrieve commented 1 year ago

I installed using FPCUPDeluxe v2.4.0a on OSX M1 using trunk + trunk. The install appeared to succeed just fine, but when I try to rebuild Lazarus while installing packages, I get the following error:

lazarus.pp(54,3) Error: Cannot find clocale used by Lazarus. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/Users/grahamegrieve/Lazarus-Trunk/fpc/units/aarch64-darwin/rtl-extra/clocale.ppu..

LongDirtyAnimAlf commented 1 year ago

Have you seen this ? https://forum.lazarus.freepascal.org/index.php/topic,51837.0.html Does this advice help ?

grahamegrieve commented 1 year ago

hmm, so I tried deleting everything and then just having the fpcupdeluxe install... no difference. Still the same message

LongDirtyAnimAlf commented 1 year ago

This is strange.

The error is most likely caused by the Lazarus build process. The Lazarus Makefile does pick-up a lot of other things besides the fpcupdeluxe install. Fpcupdeluxe goes through great effort to prevent this when installing FPC and Lazarus. When the installed Lazarus is re-build by its own, this protection is not there anymore.

This is why the link towards the forum issue.

If there are no stray installs on your system, I am nearly out of ideas unfortunately.