Recent

Author Topic: Dependency problems in Lazarus and fpc installing (raspberry)  (Read 3191 times)

Tixi

  • New Member
  • *
  • Posts: 14
Dependency problems in Lazarus and fpc installing (raspberry)
« on: February 16, 2015, 04:39:44 pm »
Hi all.

I need a little help. I try to install newiest fpc(2.6.4) and Lazarus(1.2.4) to the Raspberry pi. I have not any version of fpc nor lazarus (should I have?).

After apt-get update and upgrade I install needed libraries using command (thanks to BigChimp):
* aptitude install libgtk2.0-dev libgdk-pixbuf2.0-dev libpango1.0-dev subversion unzip

Then I download fcp and lazarus files in to the separated directories. (thanks to jwdietrich):
* http://archive.raspbian.org/raspbian/pool/main/l/lazarus/ (for Lazarus)
* http://archive.raspbian.org/raspbian/pool/main/f/fpc/ (for Free Pascal)


But when I install fpc and lazarus the dpkg generate error in both. The error messages are: "dpkg: error processing (file name) dependency problems - leaving unconfigured".

Error files of Lazarus:
* lazarus-ide-qt4-1.2.4
* lazarus-ide-qt4
* lcl-qt4-1.2.4
* lcl-qt4

Error files of fpc:
* fp-units-multimedia-2.6.4
* fp-units-multimedia
* fpc-2.6.4
* fpc

Please, how I can fix this problem?

BlueIcaro

  • Hero Member
  • *****
  • Posts: 792
    • Blog personal
Re: Dependency problems in Lazarus and fpc installing (raspberry)
« Reply #1 on: February 16, 2015, 05:07:21 pm »
try to install the packages that the system say that are missed.

/BLueIcaro

richard_rtech

  • New Member
  • *
  • Posts: 35
Re: Dependency problems in Lazarus and fpc installing (raspberry)
« Reply #2 on: March 09, 2015, 05:53:48 pm »
IIRC the Raspbian repositories as they stand are borked. There is another source you can add to the sources file that will fix this but your best bet is to google.


robsoft

  • New member
  • *
  • Posts: 9
Re: Dependency problems in Lazarus and fpc installing (raspberry)
« Reply #3 on: March 13, 2015, 10:49:33 am »
FWIW I followed the instructions here last week, and it claims I've got fpc 2.6.4 (& 3.1.1) with Lazarus 1.5...

Whatever it is, it's working very well. It takes about 45-60 minutes to build from scratch on a RPi2, IIRC.

http://otapi.com/2015/02/10/raspberry-pi-2-freepascal-lazarus-and-delphi/

 

TinyPortal © 2005-2018