Lazarus

Programming => Operating Systems => Other => Topic started by: TCH on June 08, 2021, 09:37:01 am

Title: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
Post by: TCH on June 08, 2021, 09:37:01 am
During the build, it crashes with telling there is no /usr/local/local/lazarus. Can be solved by
Code: Bash  [Select][+][-]
  1. ln -s /usr/local /usr/local/local
but before this, it worked. (With FreePascal 3.2.0 and Lazarus 2.0.10.)
Title: Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
Post by: marcov on June 08, 2021, 09:41:02 am
Please check if the -Fl statement in the fpc.cfg is ok.

Install.sh is often updated without testing all targets. It might be some sideeffect (running the scripts and commands under bash might also help)
Title: Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
Post by: TCH on June 08, 2021, 09:58:26 am
Code: [Select]
-Fl/usr/local/lib
#-Fl/usr//lib/fpc/$fpcversion/lib
#-Fl/lib;/usr/lib
-Fl/usr//lib/fpc/$fpcversion/lib/$FPCTARGET
These are the only lines with -Fl in my system's /etc/fpc.cfg. I did not alter it manually.
Title: Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
Post by: marcov on June 08, 2021, 10:37:05 am
I think that is the only place where Free Pascal uses that.  Not entirely (in theory there could be hardcoded paths in t_bsd, but I doubt it).

So my first guess would be that is on the lazarus side.
TinyPortal © 2005-2018