[SOLVED] How to correctly install FPC + Lazarus on FreeBSD? lazarus / 36-Other ---------------------------------------------------------------------- guest64953 · 2019-11-15 08:23 I installed FPC using pkg. I found there are many fpc-* packages out there but it only install just fpc. The installed fpc can't compile my test program, it said it can't find ld.bfd. I uninstalled fpc and I think if I install Lazarus it will install all the of needed dependencies. I installed the gtk2 version. It turned out to be wrong. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i New packages to be INSTALLED:        lazarus-gtk2: 2.0.4_1        mpfr: 4.0.2        binutils: 2.32_1,1        fpc-utils: 3.0.4_4        fpc- source: 3.0.4_1        gdb: 8.3.1        source-highlight: 3.1.8_8 You see, it even not list the fpc compiler! So I canceled because I know even if I proceeded to install it, it will not work ---------------------------------------------------------------------- guest64953 · 2019-11-16 04:30 Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo pkg install fpc fpc-base fpc-units fpc-source fpc-docs gdb lazarus-gtk2 ---------------------------------------------------------------------- guest64953 · 2019-12-05 14:00 Quote from: hunghung on November 16, 2019, 05:30:17 amCode: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i sudo pkg install fpc fpc-base fpc-units fpc-source fpc-docs gdb lazarus-gtk2 In other to rebuild the ide we also have to install the fpc-regexpr package. ---------------------------------------------------------------------- trev · 2019-12-06 01:06 If that's a missing dependency, as it appears to be, then you should log a bug against the port at https://bugs.freebsd.org/bugzilla/ so that it gets fixed. ---------------------------------------------------------------------- guest64953 · 2019-12-06 07:02 Quote from: trev on December 06, 2019, 02:06:34 amIf that's a missing dependency, as it appears to be, then you should log a bug against the port at https://bugs.freebsd.org/bugzilla/ so that it gets fixed. The fpc-regexpr is already available as a port and package. It's just not listed as an dependency of fpc-units, which in turn not listed as an dependency of lazarus-gtk2. It's weird, fpc itself even not listed as an dependency of lazarus-gtk2.