[Lazarus] Compiling IDE issues using FreeBSD 9.1 & FPC 2.6.0

Graeme Geldenhuys graeme at geldenhuys.co.uk
Thu Jan 31 18:33:27 CET 2013


OK, it seems that there is a problem with the 'gmake bigide' option. I
always used to use 'make bigide' under Linux, so wanted to use the same
options under FreeBSD.

Atfer that failure, I thought what the hell, let try a few others. I
then tried 'gmake clean all' for the minimal IDE, and that worked correctly.

So again, it seems somewhere in the Makefile there is an issue with the
'bigide' option, or one of the packages that 'bigide' pulls in has a
compile problem under FreeBSD.


Regards,
  - Graeme -



On 01/31/13 17:25, Graeme Geldenhuys wrote:
> 
> $ gmake bigide
> ...snip...
> 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 -
> 





More information about the Lazarus mailing list