Forum > Linux

Other problems compiling lazarus from CVS

(1/1)

bro1:
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: ---
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 http://www.lazarus.freepascal.org/index.php?name=PNphpBB2&file=viewtopic&t=79

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

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


--- Code: ---
# 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

--- 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.

Thanks!

bro1:
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

Navigation

[0] Message Index

Go to full version