Recent

Author Topic: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD  (Read 1377 times)

TCH

  • Full Member
  • ***
  • Posts: 148
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.)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 9680
  • FPC developer.
Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
« Reply #1 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)

TCH

  • Full Member
  • ***
  • Posts: 148
Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
« Reply #2 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.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 9680
  • FPC developer.
Re: Building Lazarus 2.0.12 with FreePascal 3.2.2 fails under FreeBSD
« Reply #3 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