Installation on Raspberry jessie

If you want to discuss Raspberry Pi specific topics then use this forum.
hansotten
Posts: 3
Joined: Wed Jan 20, 2016 10:17 am

Installation on Raspberry jessie

Postby hansotten » Wed Jan 20, 2016 10:31 am

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 ./setup.sh shown are

lazarus/lazbuild
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.
Last edited by hansotten on Thu Jan 21, 2016 7:32 am, edited 1 time in total.

sysrpl
Posts: 108
Joined: Thu Feb 05, 2015 6:31 pm

Re: Installation on Raspberry jessie

Postby sysrpl » Wed Jan 20, 2016 3:51 pm

I was updating packages for Pi last night. Try downloading setup.sh again and re-run it.

hansotten
Posts: 3
Joined: Wed Jan 20, 2016 10:17 am

Re: Installation on Raspberry jessie

Postby hansotten » Thu Jan 21, 2016 7:56 am

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.

hansotten
Posts: 3
Joined: Wed Jan 20, 2016 10:17 am

Re: Installation on Raspberry jessie

Postby hansotten » Mon Jan 25, 2016 11:26 am

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
Icon=terminal
Exec=lxterminal -e "/home/pi/Development/FreePascal/fpc/bin/fpc-terminal.sh"
Terminal=true
Type=Application


Return to “Raspberry Pi”

Who is online

Users browsing this forum: No registered users and 0 guests