On Thu, 25 Oct 2007 12:42:43 +0100
Chris Kirkpatrick <[EMAIL PROTECTED]> wrote:
> Hi all -
>
> Attempting to recompile lazarus from command line with 'make'.
> (Same problem previously occurred when I tried to rebuild from
> lazarus ide). Latest SVN revision for lazarus (12586)
> Latest SVN for fpc (3925) - re-compiled/installed OK
> (have even deleted local version of lazarus and done a new checkout)
> Only one version of fpc.cfg (in /etc/) with correct links to
> /usr/local/lib/fpc/2.3.1/
> OS: Mepis-32 version 6.5 (a variant of debian linux)
>
> Repeatedly getting error:
>
> ......
> /usr/bin/ppc386 -gl -dgtk1 -Fu../../units/i386-linux -Fu.
> -Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/rtl
> -Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/gtk
> -Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/x11
> -Fu/usr/local/lib/fpc/2.3.1/units/i386-linux/opengl -FE.
> -FU../../units/i386-linux/gtk -Fl/usr/lib/gcc/i486-linux-gnu/4.0.3
> -Fl/lib -Fl/lib32 -Fl/usr/lib -Fl/usr/X11R6/lib -Fl/usr/lib32
> -Fl/usr/X11R6/lib32 -di386 interfaces.pp
> Free Pascal Compiler version 2.3.1 [2007/10/25] for i386
> Copyright (c) 1993-2007 by Florian Klaempfl
> Target OS: Linux for i386
> Compiling interfaces.pp
> PPU Loading
> /home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
> PPU Source: interfacebase.pp not found
> PPU Source: winapih.inc not found
> PPU Source: lclintfh.inc not found
> PPU Source: interfacebase.inc not found
> PPU Source: intfbasewinapi.inc not found
> PPU Source: intfbaselcl.inc not found
> PPU Loading
> /home/kirkpatc/FreePascal/lazarus/lcl/units/i386-linux/interfacebase.ppu
> PPU Source: interfacebase.pp not found
> PPU Source: winapih.inc not found
> PPU Source: lclintfh.inc not found
> PPU Source: interfacebase.inc not found
> PPU Source: intfbasewinapi.inc not found
> PPU Source: intfbaselcl.inc not found
> Recompiling InterfaceBase, checksum changed for Themes
> interfacebase.pp(35,16) Fatal: Can't find unit InterfaceBase used by
> LCLIntf Fatal: Compilation aborted
> make[3]: *** [interfaces.ppu] Error 1
> make[3]: Leaving directory
> `/home/kirkpatc/FreePascal/lazarus/lcl/interfaces/gtk'
> make[2]: *** [gtk_all] Error 2
> make[2]: Leaving directory
> `/home/kirkpatc/FreePascal/lazarus/lcl/interfaces'
> make[1]: *** [interfaces] Error 2
> make[1]: Leaving directory `/home/kirkpatc/FreePascal/lazarus/lcl'
> make: *** [lcl] Error 2
>
> Any ideas?
checksum changed means, the compiler found an old ppu.
This can happen, if some files were renamed. Therefore it is
recommended to use 'make clean all' or even 'make cleanall all' after
an svn update.
If this does not work, compile with 'make OPT=-vut > log.txt'. Then
explore the created log.txt.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives