[lazarus] Newbie Q : Can't find classes.pas...
marc at dommelstein.net
Fri Jun 28 13:24:40 EDT 2002
At 01:35 29/06/2002 +1000, David Creelman wrote:
>Here it is.
>The only change I made was in Makefile.fpc to try to get it to find gtk
> unitdir=lcl/units /usr/lib/fpc/1.0.6/units/linux/gtk lcl/u....
>This didn't work,
Luckely it didn't :-) (you need to run fpcmake after changing Mekefile.fpc)
gtk shouldn't be needed here
>copying the ppu did. I'm using the 1.0.6 fpc rpm and
>downloaded and installed the source rpm as well.
Hmm..... from your output:
>make: Entering directory `/home/davidc/develop/lazarus/components/synedit'
>/bin/rm -f ../units/allunits.ppu
>/usr/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu.
>-Fl/usr/lib/qt2/lib -Fl/usr/local/lib/wine -Fl/usr/local/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
>gtkint.pp(74,11) Fatal: Can't find unit GTK
Why is gtkint complaining here... gtkint is part of the interface for GTK.
This directory is part of components and should be independent of the
platform. Thats why there is nu reference to a gtk dir.
It seems to me that somehow there is a platform dependency in SynEdit which
shouldn't be there.
More information about the Lazarus