[lazarus] Build problems

Michal Bukovjan bukovjan at mbox.dkm.cz
Mon Jun 3 15:04:18 EDT 2002


Mattias Gaertner wrote:

>On Fri, 31 May 2002 13:22:14 +0200
>Michal Bukovjan <bukovjan at mbox.dkm.cz> wrote:
>
>  
>
>>Hello,
>>
>>I just did a fresh checkout of flc, lazarus and packages. I also 
>>installed fpc-1.0.6 rpm downloaded today.
>>Lazarus will not compile, saying:
>>
>>[..snip...]
>>`/home/michal/source/lazarus/lazarus/components/synedit'
>>/bin/rm -f ../units/allunits.ppu
>>/usr/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu. 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/rtl 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/paszlib 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/inet 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/fcl 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/regexpr 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/mysql 
>>-Fu/usr/lib/fpc/1.0.6/units/linux/ibase -FU../units 
>>-Fl/usr/lib/gcc-lib/i586-mandrake-linux-gnu/2.96 -Fl/usr/X11R6/lib/wine 
>>-Fl/usr/X11R6/lib -Fl/usr/local/lib -Fl/usr/lib/wine -Fl/usr/lib/qt2/lib 
>>-di386 allunits.pp
>>Free Pascal Compiler version 1.0.6 [2002/05/23] for i386
>>Copyright (c) 1993-2002 by Florian Klaempfl
>>Target OS: Linux for i386
>>Compiling allunits.pp
>>Compiling syntextdrawer.pp
>>gtkint.pp(74,11) Fatal: Can't find unit GTK
>>
>>This used to work - perhaps broken Makefiles?
>>    
>>
>
>No problem here. (1.0.7 cvs and 1.0.6 rpm)
>Probable u have already tried all the FAQ hints, so I will skip this.
>I have heard from this error, but it always vanished mysteriously after some 'trying out what is going on'. compiler bug?
>Since u are familiar with the compiler plz do a 'make clean all OPT=-va > c.txt' and find out more details. Does the compiler search in the correct directories?
>
>
>  
>
Now this seems funny. From the end of the log file...

-------------------
Load from INTERFACEBASE (interface) unit SYSLINUX
Load from INTERFACEBASE (interface) unit OBJPAS
Load from INTERFACEBASE (interface) unit LCLLINUX
Load from INTERFACEBASE (interface) unit LCLTYPE
Load from INTERFACEBASE (interface) unit VCLGLOBALS
Load from INTERFACEBASE (interface) unit CLASSES
Load from INTERFACEBASE (interface) unit CONTROLS
Load from INTERFACEBASE (interface) unit LMESSAGES
Load from INTERFACEBASE (interface) unit GRAPHTYPE
Load from INTERFACES (implementation) unit GTKINT
Unitsearch: gtkint.ppu
Unitsearch: ../units/gtkint.ppu
Unitsearch: gtkint.pp
Unitsearch: gtkint.pas
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtkint.ppu
PPU Loading /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtkint.ppu
PPU Name: /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtkint.ppu
PPU Time: 2002/06/03 21:07:21
PPU Flags: 4243
PPU Crc: 1378560588
PPU Crc: 2013393362 (intfc)
PPU Check file 
/home/michal/source/lazarus/lazarus/lcl/units/gtk/gtkint.o time 
2002/06/03 21:07:21
PPU Source: gtkint.pp not found
PPU Source: gtkwinapih.inc not found
PPU Source: gtklistslh.inc not found
PPU Source: gtklistsl.inc not found
PPU Source: dragicons.inc not found
PPU Source: gtkproc.inc not found
PPU Source: gtkcallback.inc not found
PPU Source: gtkdragcallback.inc not found
PPU Source: gtklistviewcallback.inc not found
PPU Source: gtkobject.inc not found
PPU Source: gtkwinapi.inc not found
Load from GTKINT (interface) unit SYSLINUX
Load from GTKINT (interface) unit OBJPAS
Load from GTKINT (interface) unit INTERFACEBASE
Load from GTKINT (interface) unit GTK
Unitsearch: gtk.ppu
Unitsearch: ../units/gtk.ppu
Unitsearch: gtk.pp
Unitsearch: gtk.pas
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtk.ppu
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtk.pp
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk/gtk.pas
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk.ppu
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk.pp
Unitsearch: /home/michal/source/lazarus/lazarus/lcl/units/gtk.pas
Unitsearch: gtk.ppu
Unitsearch: gtk.pp
Unitsearch: gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/rtl/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/rtl/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/rtl/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/paszlib/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/paszlib/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/paszlib/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/inet/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/inet/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/inet/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/fcl/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/fcl/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/fcl/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/regexpr/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/regexpr/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/regexpr/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/mysql/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/mysql/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/mysql/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/ibase/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/ibase/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/ibase/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/units/linux/gtk.pas
Unitsearch: /usr/lib/fpc/1.0.6/gtk.ppu
Unitsearch: /usr/lib/fpc/1.0.6/gtk.pp
Unitsearch: /usr/lib/fpc/1.0.6/gtk.pas
gtkint.pp(74,11) Fatal: Can't find unit GTK
gtkint.pp(74,11)  ENDIF SYN_LAZARUS found
make[2]: Leaving directory 
`/home/michal/source/lazarus/lazarus/components/synedit'
make[1]: Leaving directory `/home/michal/source/lazarus/lazarus/components'
---------------------

It should look in Unitsearch: /usr/lib/fpc/1.0.6/units/linux/gtk/gtk.pp

The unit is there. So I believe this is an error in Makefile (for this 
particular unit). Strange, though, that it works for others.

Michal






More information about the Lazarus mailing list