Page 1 of 1

Installation on Raspberry jessie

Posted: Wed Jan 20, 2016 10:31 am
by hansotten
Thank you for the precompiled binaries!

Trying to installing your precompiled packages on Raspberry.

Jessie 4.1.13-v7+ #826 SMP PREEMPT Fri Nov 13 20:19:03 GMT 2015 armv7l GNU/Linux
(debian adapted for Raspberry Pi)
Fresh installed system, uptodate via apt-get update/upgrade.

Using defaults.

Last lines output of ./ shown are

rm: cannot remove ‘/home/pi/Development/fpc/fpc/bin/fpc.cfg’: No such file or directory

Your Free Pascal 3.0 with Lazarus is now installed

lazbuild seems not to have finished. I can see the development directory being populated.

Development/fpc/fpc/bin/fpc shows an installed compiler.

The lazarus button on the desktop works (I filled in the working directory). But the freepascal button does not, no terminal opened, it just flashes (I did enter run in terminal, stay open).
A console program (writeln helloworld ) made with Lazarus works. But a simple form based program (form with a label) fails with crtbegin.o not found link error.

Re: Installation on Raspberry jessie

Posted: Wed Jan 20, 2016 3:51 pm
by sysrpl
I was updating packages for Pi last night. Try downloading again and re-run it.

Re: Installation on Raspberry jessie

Posted: Thu Jan 21, 2016 7:56 am
by hansotten
Ok, thank you for the fast help!

Yes, I did run the script again and now it installs. Hello World application in Lazarus works!

Great to have FPC 3.0.0 and Lazarus 1.7 operational with so little effort for me, thanks to your good work!

The Freepascal terminal does not work yet. The script is allright, it works in console mode. But on the desktop a terminal just pops up and closes immediately again. Not a big deal, fpc is available.

Re: Installation on Raspberry jessie

Posted: Mon Jan 25, 2016 11:26 am
by hansotten
This desktop entry works for me, save as freepascalterminal.desktop in Desktop folder

[Desktop Entry]
Name=Freepascal Terminal
Comment=Open a new terminal with the fpc program made available
Exec=lxterminal -e "/home/pi/Development/FreePascal/fpc/bin/"