Forum > Linux
Installation under Debian Sarge
Neuromancien:
Hi
I'm trying to install Lazarus (under Debian Sarge) but I get an error
--- Code: ---
# make clean all
...
Assembling lclstrconsts
Compiling fpcadds.pas
fpcadds.pas(29,10) Fatal: Can't find unit CLASSES
make[1]: *** [alllclunits.ppu] Error 1
make[1]: Leaving directory `/opt/lazarus/lcl'
make: *** [lcl] Error 2
--- End code ---
Can you help me ?
neli:
How did you install the compiler? Check your fpc.cfg (/etc/fpc.cfg or ~/.fpc.cfg) if it contains the right paths (-Fu/path/to/dir/with/classes.ppu).
Neuromancien:
I installed the Debian package. fpc.cfg contains :
--- 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
#-Fu~/fpc/packages/*;~/fpc/rtl/linux
--- End code ---
The path is : /usr/lib/fpc/1.0.10/units/linux. So it seems to be OK. Or should I add each folder ? Is a package missing ?
Neuromancien:
I had to install some packages (fp-units-fcl, fp-units-gfx...). But now I get an other error that I don't understand at all :
--- Code: ---Compiling lclstrconsts.pas
Writing Resource String Table file: units/i386/linux/lclstrconsts.rst
lclstrconsts.pas(189) Error: Writing Resource String Table file: $1
lclstrconsts.pas(189) Fatal: There were 1 errors compiling module, stopping
make[1]: *** [alllclunits.ppu] Erreur 1
make[1]: quittant le répertoire « /opt/lazarus/lcl »
make: *** [lcl] Erreur 2
--- End code ---
Anonymous:
Now I get :
--- Code: ---Linking ./lazarus
/usr/bin/ld: ne peut trouver -lgdk
lazarus.pp(374) Error: Error while linking
Closing script ./ppas.sh
make[1]: *** [lazarus] Erreur 1
make[1]: quittant le répertoire « /home/jerome/lazarus »
make: *** [ide] Erreur 2
--- End code ---
"ne peut trouver"="cannot find"
Navigation
[0] Message Index
[#] Next page