Installation under Debian Sarge lazarus / 1-Linux ---------------------------------------------------------------------- Neuromancien · 2004-06-15 22:49 Hi I'm trying to install Lazarus (under Debian Sarge) but I get an error Code: [Select] # 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 Can you help me ? ---------------------------------------------------------------------- neli · 2004-06-16 07:32 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 · 2004-06-17 22:38 I installed the Debian package. fpc.cfg contains : 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 #-Fu~/fpc/packages/*;~/fpc/rtl/linux 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 · 2004-06-17 22:50 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: [Select]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 ---------------------------------------------------------------------- Anonymous · 2004-06-17 23:00 Now I get : Code: [Select]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 "ne peut trouver"="cannot find" ---------------------------------------------------------------------- neli · 2004-06-18 11:40 Please read the FAQ. You need to install the development libraries of gtk: libgtk1.2-dev. ---------------------------------------------------------------------- Anonymous · 2004-06-18 11:44 See FAQ: http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file =index&myfaq=yes&id_cat=2#9 or maybe: http://www.lazarus.freepascal.org/modules.php?op=modload&name=FAQ&file =index&myfaq=yes&id_cat=2#61 ---------------------------------------------------------------------- Neuromancien · 2004-06-21 17:09 After compiling, I'm trying "make install" as root. I get the following error. Code: [Select]/usr/bin/fpcmake -p -Tlinux Makefile.fpc Processing Makefile.fpc Error: Target "linux", package "rtl" not found make[1]: *** [fpc_install] Erreur 1 make[1]: quittant le répertoire « /home/jerome/lazarus/lcl » make: *** [lcl_install] Erreur 2 ---------------------------------------------------------------------- Vincent Snijders · 2004-06-21 20:00 make install is not supported (yet?).  You don't need it either, just start the lazarus executable in the source directory. ---------------------------------------------------------------------- Neuromancien · 2004-06-22 16:54 When I start Lazarus, I get a warning : Code: [Select]The Free Pascal source directory was not found. Some functions will not work. It is recommended that you install it and set the path. How to find the Free Pascal source directory ?  :?: ---------------------------------------------------------------------- Vincent Snijders · 2004-06-23 06:33 It is the directory where you (should have) extracted the fpcsrc archive. It contains among others a rtl fcl and packages directory. In those directories there are more directories with pascal sources.