Hi, Lazarus IDE fails to compile under FreeBSD 9.1 (64-bit) using FPC 2.6.0.
First of all, the Readme.txt file is wrong. It says to use 'make clean all', well apparently not so under FreeBSD. After peeking at the Makefile in the /usr/ports/editors/lazarus/ directory, I guessed I should use 'gmake' instead. This started compiling lazarus, but then I got an issue of a missing unit. I've checked out Lazarus Trunk r40096. ps: I don't want to install FPC and Lazarus from ports, because I want different install locations, and will be switching to FPC 2.6.1 (fixes) branch soon. Also I want to try Lazarus Trunk, instead of 1.0.4. ----8<-------------8<-------------8<-------------8<-------------8<---- $ uname -a FreeBSD graeme-desktop 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 $ echo $PATH /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/graemeg/bin:/data/devel/fpc-2.6.0/x86_64-freebsd/bin $ pwd /data/devel/lazarus $ gmake bigide ...snip... Compiling otheridentifiertree.pas Assembling otheridentifiertree Compiling codetoolscfgscript.pas Assembling codetoolscfgscript Compiling ctxmlfixfragment.pas Assembling ctxmlfixfragment Compiling codetoolsfpcmsgs.pas Assembling codetoolsfpcmsgs Compiling unitdictionary.pas Assembling unitdictionary Compiling ctloadlaz.pas Assembling ctloadlaz Compiling ctunitgroupgraph.pas Assembling ctunitgroupgraph Assembling codetools 117099 lines compiled, 5.6 sec /bin/cp -f Makefile.compiled units/x86_64-freebsd/CodeTools.compiled gmake[1]: Leaving directory `/data/devel/lazarus/components/codetools' gmake -C lcl LCL_PLATFORM=nogui gmake[1]: Entering directory `/data/devel/lazarus/lcl' /bin/rm -f units/x86_64-freebsd/alllclunits.ppu /data/devel/fpc-2.6.0/x86_64-freebsd/bin/ppcx64 -gl -Fu../packager/units/x86_64-freebsd -Fu../components/lazutils/lib/x86_64-freebsd -Fu. -Funonwin32 -Fuforms -Fuwidgetset -Fiinclude -FE. -FUunits/x86_64-freebsd -Cg -dx86_64 alllclunits.pp Free Pascal Compiler version 2.6.0 [2011/12/30] for x86_64 Copyright (c) 1993-2011 by Florian Klaempfl and others Target OS: FreeBSD for x86-64 Compiling alllclunits.pp Compiling barchart.pp Compiling lclproc.pas Compiling lclstrconsts.pas Writing Resource String Table file: lclstrconsts.rst Assembling lclstrconsts PPU Loading units/x86_64-freebsd/fileutil.ppu PPU Source: fileutil.pas not found PPU Source: fileutil.inc not found Recompiling FileUtil, checksum changed for LCLStrConsts fileutil.pas(42,62) Fatal: Can't find unit FileUtil used by LazLogger Fatal: Compilation aborted gmake[1]: *** [alllclunits.ppu] Error 1 gmake[1]: Leaving directory `/data/devel/lazarus/lcl' gmake: *** [lazbuild] Error 2 ----8<-------------8<-------------8<-------------8<-------------8<---- Yet, if I do the following, it does seem to find the unit in the directory hierarchy. $ find . -name fileutil.* -print ./components/lazutils/fileutil.inc ./components/lazutils/lib/x86_64-freebsd/fileutil.ppu ./components/lazutils/lib/x86_64-freebsd/fileutil.o ./components/lazutils/fileutil.pas ./docs/xml/lazutils/fileutil.xml ./lcl/units/x86_64-freebsd/fileutil.ppu ./lcl/units/x86_64-freebsd/fileutil.o Any ideas? Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus