Forum > Linux

Other problems compiling lazarus from CVS



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: ---
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
--- End code ---

Is this classes unit part of lazarus? Or part of freepascal? Where do I get it?

Vincent Snijders:
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

If you have a fpc.cfg, what are the paths after -Fu?

This is what I have in /etc/fpc.cfg

--- Code: ---
# searchpath for units and other system dependent things

--- End code ---

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.


So in order to build Lazarus on Debian unstable I had to install the following:

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.



[0] Message Index

Go to full version