Recent

Author Topic: Installation under Debian Sarge  (Read 9762 times)

Neuromancien

  • Guest
Installation under Debian Sarge
« on: June 16, 2004, 12:49:38 am »
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

  • Jr. Member
  • **
  • Posts: 86
Installation under Debian Sarge
« Reply #1 on: June 16, 2004, 09:32:32 am »
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

  • Guest
Installation under Debian Sarge
« Reply #2 on: June 18, 2004, 12:38:30 am »
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

  • Guest
Installation under Debian Sarge
« Reply #3 on: June 18, 2004, 12:50:39 am »
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

  • Guest
Installation under Debian Sarge
« Reply #4 on: June 18, 2004, 01:00:54 am »
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

  • Jr. Member
  • **
  • Posts: 86
Installation under Debian Sarge
« Reply #5 on: June 18, 2004, 01:40:38 pm »
Please read the FAQ. You need to install the development libraries of gtk: libgtk1.2-dev.


Neuromancien

  • Guest
Installation under Debian Sarge
« Reply #7 on: June 21, 2004, 07:09:40 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Installation under Debian Sarge
« Reply #8 on: June 21, 2004, 10:00:50 pm »
make install is not supported (yet?).  You don't need it either, just start the lazarus executable in the source directory.

Neuromancien

  • Guest
Installation under Debian Sarge
« Reply #9 on: June 22, 2004, 06:54:06 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Installation under Debian Sarge
« Reply #10 on: June 23, 2004, 08:33:20 am »
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.

 

TinyPortal © 2005-2018