Other problems compiling lazarus from CVS lazarus / 1-Linux ---------------------------------------------------------------------- bro1 · 2004-01-30 23:36 Hi, I have fpc 1.0.10. I am running Debian unstable. Today I have got lazarus code from CVS and tried to build it. Code: [Select] make[1]: Entering directory `/home/bro1/projects/lazarus/lcl' /bin/rm -f units/i386/linux/alllclunits.ppu /usr/bin/ppc386 -gl -Fu./units/gtk -Fu./units -Fu. -Funonwin32 -Fiinclude -FUunits/i386/linux -Fl/usr/lib/gcc-lib/i486-linux/3.3.3 -Fl/usr/X11R6/lib -Fl/usr/lib/kylix3 -di386 alllclunits.pp Free Pascal Compiler version 1.0.10 [2003/12/20] for i386 Copyright (c) 1993-2003 by Florian Klaempfl Target OS: Linux for i386 Compiling alllclunits.pp Compiling fpcadds.pas fpcadds.pas(29,10) Fatal: Can't find unit CLASSES make[1]: *** [alllclunits.ppu] Error 1 make[1]: Leaving directory `/home/bro1/projects/lazarus/lcl' make: *** [lcl] Error 2 Is this classes unit part of lazarus? Or part of freepascal? Where do I get it? ---------------------------------------------------------------------- Vincent Snijders · 2004-01-31 19:43 It is part of FPC, to be precise, the FCL, a non-visual class library. This file is suposed to installed when you install fpc. Some other user had a problem that on debian there was no /etc/fpc.cfg file. This could lead to not finding the file classes.ppu Please, read the last messages of http://www.lazarus.freepascal.org/in dex.php?name=PNphpBB2&file=viewtopic&t=79 If you have a fpc.cfg, what are the paths after -Fu? ---------------------------------------------------------------------- bro1 · 2004-01-31 20:57 This is what I have in /etc/fpc.cfg Code: [Select] # searchpath for units and other system dependent things -Fu/usr/lib/fpc/$version/units/$target -Fu/usr/lib/fpc/$version/units/$target/* -Fu/usr/lib/fpc/$version/units/$target/rtl Just looked into /usr/lib/fpc/1.0.10/units/linux/ this directory contains only a sub directory rtl. I'll try to get FCL as well. OK, I found out that I have couple of free pascal debian packages missing and I am installing fp-units-base and fp-units-fcl now. I'll try to post information on the progress here. Thanks! ---------------------------------------------------------------------- bro1 · 2004-01-31 23:50 So in order to build Lazarus on Debian unstable I had to install the following: fp-compiler fp-units-fcl fp-units-gtk fp-units-base and some developmrnt packages related to pixbuf and gtk OK, so I have built Lazarus, started it playd with it for about 2 minutes and managed to crash my X session twice :/ Anyway, it looks very nice and I hope to try to port my application from Kylix/Delphi to Lazarus some time. Thanks