[lazarus] Build problems
Marc Weustink
marc at dommelstein.net
Mon Jun 3 16:27:32 EDT 2002
At 21:14 03/06/2002 +0200, Michal Bukovjan wrote:
[SNIP]
>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
Ehh.. you shouldn't find gtk.pp there but gtk.ppu instead.
Is your fpc.cfg OK and isn't there an old ppc.cfg ?
there should be a line like -Fu/usr/lib/fpc/1.0.6/units/$target/*
Seen from your output you only have rtl, paszlib, inet, fcl, regexp, mysql
and ibase
To me it seems that you are missing dirs (I count 29).
>The unit is there. So I believe this is an error in Makefile (for this
>particular unit). Strange, though, that it works for others.
This is not a Makefile issue but a fpc configuration issue
Marc
More information about the Lazarus
mailing list