Recent

Author Topic: Problem with rebuilding Lazarus on Debian/Raspbian 10  (Read 1681 times)

pik33

  • Jr. Member
  • **
  • Posts: 76
Problem with rebuilding Lazarus on Debian/Raspbian 10
« on: July 29, 2019, 03:07:04 pm »
Trying to rebuild Lazarus on Debian10 I got an error: fpdebug not found.

Then I tried a workaround: I opened and compiled fpdebug's lpk

After this the lazarus didn't build due to lacking virtualtreeview.

I didn't manage to compile this package (another dependency error)

I checked what uses this virtualtreeview package, and it was "online package manager". After removing this from the package list the Lazarus can build itself.

This is Lazarus 2.0.0-dfsg-2 installed via apt-get to Debian 10 on AMDx64

I got exactly the same behavior on Raspbian Buster /Raspberry Pi and I used the same solution

(1) is it a known bug?
(2) is there a simpler solution instead of this crude workarounds?

Edit: I had also to copy the fpdebug precompiled stuff to /home/pi/.lazarus/units/....  :(
« Last Edit: July 29, 2019, 03:15:46 pm by pik33 »

devEric69

  • Hero Member
  • *****
  • Posts: 648
Re: Problem with rebuilding Lazarus on Debian/Raspbian 10
« Reply #1 on: July 29, 2019, 03:21:26 pm »
I don't know if this information is still relevant with your current version of Lazarus and FPC (it's dated from May 4, 2015), but here ( https://www.framboise314.fr/lazarus-sur-le-raspberry-pi/ ), it is written ( translated with https://www.deepl.com ):

Quote
[SNIP] it is necessary to add the following line in administrator mode to the /etc/apt/sources.list file:
1
   
deb http://plugwash.raspbian.org/wsf wheezy-wsf main

then a simple apt-get update (which will take some time), then install lazarus without worrying about anything anymore, and return everything in order! [SNIP]
« Last Edit: July 29, 2019, 03:23:03 pm by devEric69 »
use: Linux 64 bits (Ubuntu 20.04 LTS).
Lazarus version: 2.0.4 (svn revision: 62502M) compiled with fpc 3.0.4 - fpDebug \ Dwarf3.

Thaddy

  • Hero Member
  • *****
  • Posts: 14201
  • Probably until I exterminate Putin.
Re: Problem with rebuilding Lazarus on Debian/Raspbian 10
« Reply #2 on: July 29, 2019, 05:14:27 pm »
No, that's not relevant anymore: that was relating to a patched version (by the Raspberry Pi Raspbian team), but Florian made it work for all armhf platforms.
Specialize a type, not a var.

pik33

  • Jr. Member
  • **
  • Posts: 76
Re: Problem with rebuilding Lazarus on Debian/Raspbian 10
« Reply #3 on: July 30, 2019, 09:13:37 am »
It seems the debian package is buggy.

If Lazarus is installed by svn checkout and then built by make, it works.

 

TinyPortal © 2005-2018