Forum > Other

Anyone able to get 3.0.4 fpc to compile lazarus 2.0.2 on rasberry PI?

(1/4) > >>

vonskie:
Anyone able to get 3.0.4 fpc to compile lazarus 2.0.2 on rasberry PI?

latest on back ports is 1.8.4

af0815:
try it with fpcupdeluxe and fix the error for not installed packages. You have to expand the swap with factor 10 to get no linker error from fpc.


--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---#!/bin/bash# Paketliste auf neusten Stand bringen und Updatensudo apt-get updatesudo apt-get upgrade # Die fehlenden Pakete installieren.sudo apt-get install libx11-devsudo apt-get install libgdk-pixbuf2.0-devsudo apt-get install libpango1.0-dev sudo apt-get install libgtk2.0-dev  # Für SVNsudo apt-get install subversion # Für GITsudo apt-get install git #Auf dem Raspi muss evtl. für OpenGL folgendes installiert werden.sudo apt-get install libgl-devSource = http://wiki.freepascal.org/fpcupdeluxe/de

fpcupdeluxe from https://github.com/newpascal/fpcupdeluxe/releases/latest

Thaddy:

--- Quote from: vonskie on May 13, 2019, 07:24:53 pm ---Anyone able to get 3.0.4 fpc to compile lazarus 2.0.2 on rasberry PI?

latest on back ports is 1.8.4

--- End quote ---
-This is written from a Raspberry pi 3 - did you solve it? because I am on Laz trunk and FPC trunk and there are no problems at all...

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---pi@raspberrypi:~/fpc331 $ fpc -vFree Pascal Compiler version 3.3.1-r42061 [2019/05/14] for armCopyright (c) 1993-2018 by Florian Klaempfl and others 
So what were your exact steps? (I really mean exact...e.g. some Russian po files have conflicts today, but these are not vital)

han:
I had also problems and could only compile an older nightly edition Lazarus 1.9 (not the latest). Other versions where also problematic. However after installing the latest Raspbian operating system Buster, you get Lazarus 2.0.0 and FPC 3.0.4 by simply:

sudo apt-get install lazarus


Thaddy:

--- Quote from: han on June 26, 2019, 05:40:39 pm ---I had also problems and could only compile an older nightly edition Lazarus 1.9 (not the latest). Other versions where also problematic. However after installing the latest Raspbian operating system Buster, you get Lazarus 2.0.0 and FPC 3.0.4 by simply:

sudo apt-get install lazarus

--- End quote ---
No. Use - one time - fpcdeluxe. There are no problems. Again written from a Raspberri Pi 3 b. This weekend from a RPi 4 I hope... 8-)
If there are any problems, report back. I can compile ANY (stable) version that supports armhf on a Raspberry Pi without problems. Lazarus too...It's not rocket science, everybody can do it.
Can even be done on a RPi 1 B

--- Code: Bash  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---pi@raspberrypi:~ $ fpc -vFree Pascal Compiler version 3.3.1-r42284 [2019/06/25] for armCopyright (c) 1993-2018 by Florian Klaempfl and others

Navigation

[0] Message Index

[#] Next page

Go to full version