[lazarus] Newbie Q : Can't find classes.pas...

David Creelman dave at geko.net.au
Sat Jun 29 06:34:29 EDT 2002


Sorry to keep bothering the list.

This is still an issue for me. After removing fpc as an rpm and
downloading the fpc-1.0.6.ELF.tar file and installing it (said yes to
all options), tried make clean all again and got the same error. The
compiler seems to be complaining correctly that it can't find the unit
gtk. From all of the directories it searches, the gtk directory is not
in the list
make[2]: Entering directory
/bin/rm -f ../units/allunits.ppu
/usr/local/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu.
-Fu/usr/local/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
-Fl/usr/lib/qt2/lib -Fl/usr/local/lib/wine -Fl/usr/local/lib -di386
Free Pascal Compiler version 1.0.6 [2002/04/30] 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
make[2]: *** [allunits.ppu] Error 1
make[2]: Leaving directory
make[1]: *** [synedit_all] Error 2
make[1]: Leaving directory `/home/davidc/develop/lazarus/components'
make: *** [components] Error 2

I'm not on an NFS share, I have a correctly configured /etc/fpc.cfg and
gtk.ppu is in /usr/local/lib/fpc/1.0.6/units/linux/gtk, but is not found
unless I copy it into the lazarus gtk directory.


On Sat, 2002-06-29 at 17:55, Mattias Gaertner wrote:
> On Sat, 29 Jun 2002 08:56:12 +0200
> Michal Bukovjan <bukovjan at mbox.dkm.cz> wrote:
> > Also note that the "missing" gtk.ppu was solved for me when I deleted a 
> > stale /etc/ppc386.cfg (now only /etc/fpc.cfg should it used). Look if 
> > you have the /etc/ppc386.cfg and if so, remove it and see what happens.
> That's already in the FAQ.
> Perhaps we should add a quick installation guide with the following:
> - where to get the fpc package (binaries+sources)
> - installing fpc
> - getting lazarus sources (tar and cvs)
> - compiling + FAQs
> - Some configuration hints for the IDE (paths, key mapping)
> any volunteers?
> Mattias
> _________________________________________________________________
>      To unsubscribe: mail lazarus-request at miraclec.com with
>                 "unsubscribe" as the Subject
>     archives at http://www.miraclec.com/list_archives/lazarus

More information about the Lazarus mailing list