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

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Feb 3 23:22:10 CET 2013


On Thu, 31 Jan 2013 17:33:27 +0000
Graeme Geldenhuys <graeme at geldenhuys.co.uk> wrote:

> [...]
> 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

This is ok.

> > ./components/lazutils/fileutil.pas
> > ./docs/xml/lazutils/fileutil.xml
> > ./lcl/units/x86_64-freebsd/fileutil.ppu
> > ./lcl/units/x86_64-freebsd/fileutil.o

Where is this fileutil.ppu coming from?

Maybe the "gmake clean" does not work under FreeBSD?

Mattias




More information about the Lazarus mailing list