Recent

Author Topic: Download of FPC 3.2 for Raspberry Pi does not work  (Read 5069 times)

Linkat

  • New Member
  • *
  • Posts: 19
Download of FPC 3.2 for Raspberry Pi does not work
« on: January 31, 2021, 04:57:41 pm »
Could'nt download the file:
Code: Pascal  [Select][+][-]
  1. fpc-3.2.0.arm-linux-eabihf-raspberry.tar

https://www.freepascal.org/down/arm/linux-hungary.html

The link doesn't work. The same with the mirror in Canada.

I couldn't find this file on
Index von ftp://ftp.freepascal.org/pub/fpc/dist/3.2.0/

and on SourceForge.

Where can I get it from?

« Last Edit: January 31, 2021, 05:14:41 pm by Linkat »

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #1 on: January 31, 2021, 06:02:46 pm »
Checking with wget, I get a "No such file" error on ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.2.0/arm-linux/fpc-3.2.0.arm-linux-eabihf-raspberry.tar

This one looks OK ftp://ftp.hu.freepascal.org/pub/fpc/dist/3.0.2/arm-linux/fpc-3.0.2.arm-linux-eabi.tar

However that appears to be a 3.0.2 not a 3.2.0... not sure what's going on, I think we need input from an admin, or from somebody who can advise on the preferred compiler version (https://wiki.freepascal.org/Lazarus_on_Raspberry_Pi suggests that it should be bundled with Raspbian).

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Linkat

  • New Member
  • *
  • Posts: 19
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #2 on: February 02, 2021, 03:07:31 pm »

Does this file (fpc-3.2.0.arm-linux-eabihf-raspberry.tar) exist?
Where can I get it?
fpc-3.2.0.arm-linux-eabihf-raspberry.tar
Thanks.


Linkat

  • New Member
  • *
  • Posts: 19
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #4 on: February 04, 2021, 06:57:06 pm »
Thanks @trev for the information.

In the mailing list you can see, that this problem is known since August 2020.

It's not good, that no one feels responsible.

 

AlanTheBeast

  • Sr. Member
  • ****
  • Posts: 348
  • My software never cras....
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #5 on: February 18, 2021, 06:00:43 pm »
W/o paying much attention to the process, I ended up with 3.0.4 on the Pi...
(Pi 4 B with Rasp. Pi OS, 32 b).
Surprisingly Geany will run the compiler and has some (not great) symbol locating ability.
Everyone talks about the weather but nobody does anything about it.
..Samuel Clemens.

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #6 on: February 20, 2021, 10:13:31 am »
Hi.
I found here this.
https://www.framboise314.fr/installer-la-derniere-version-de-lazarus-mai-2020-sur-raspberry-pi/

sudo ./install.sh
On contrôle que le compilateur est bien installé en tapant :
fpc
sudo: fpc: command not found
Where did I make a mistake?

https://pastebin.com/0VrC6kM2
Thank you.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #7 on: February 20, 2021, 11:59:01 am »
Did you rehash to re-compute the internal hash table of the contents of directories listed in the path environmental variable to account for new commands added so that fpc could be found?

tcsh, csh : rehash
sh, bash, zsh : hash -r

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #8 on: February 20, 2021, 12:49:47 pm »
I do not understand?
I can't do much Linux.
I'm just a raspberry user.
Why ill work
Sudo Apt-Get Install FPC && Sudo Appt-Get Install Lazarus.
Do not install the packers.
https://postimg.cc/qtfdj6Sc

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #9 on: February 20, 2021, 01:20:41 pm »
Do not install the packers.
https://postimg.cc/qtfdj6Sc
The picture says nothing about the problem.

We didnt know the version of fpc and lazarus on your system.

But i can say, this packages work without problem with the actual stable/fixes release of fpc/lazarus.
regards
Andreas

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #10 on: February 20, 2021, 04:14:22 pm »
sudo apt-get install fpc has been installed FPC 3.0.4
sudo apt-get install lazarus has been installed lazarus 2.0.0
https://postimg.cc/VrWn8BLB

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #11 on: February 20, 2021, 05:46:40 pm »
Are you able to recompile lazarus itself, without installing a package ?
regards
Andreas

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #12 on: February 20, 2021, 06:59:16 pm »
CONF_SWAPSIZE=1000
sudo apt install -y subversion
sudo apt-get install fpc  // FPC 3.0.4
To terminal fpc it is ok
//-----------------------------------------
sudo apt install -y libx11-dev libgdk-pixbuf2.0-dev libcairo2-dev gir1.2-coglpango-1.0 libpangox-1.0-dev xorg-dev libgtk2.0-dev libpango1.0-dev

sudo mkdir /usr/local/lazarus
cd /usr/local/lazarus
sudo svn co http://svn.freepascal.org/svn/lazarus/tags/lazarus_2_0_8/ source
cd source
sudo make bigide
sudo make install OPT = -dFPC_ARMHF PREFIX = / usr / local
sudo ./lazarus

Works :)
« Last Edit: February 21, 2021, 07:27:59 am by Mi-Ki »

af0815

  • Hero Member
  • *****
  • Posts: 1289
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #13 on: February 21, 2021, 09:47:55 am »
Code: Pascal  [Select][+][-]
  1. cd source
  2. sudo make clean  
  3. sudo make bigide
  4. sudo make install OPT = -dFPC_ARMHF PREFIX = / usr / local
  5. sudo ./lazarus
  6.  

Inside of Lazarus:
Menu Tools->Configure Build Lazarus
Check the Box Clean all
and say Build

Inside of Lazarus it must work. If not, look for the problem. If building Lazarus with Lazarus did not work, every new installation of a package will not work too.
« Last Edit: February 21, 2021, 09:52:02 am by af0815 »
regards
Andreas

Mi-Ki

  • Jr. Member
  • **
  • Posts: 74
Re: Download of FPC 3.2 for Raspberry Pi does not work
« Reply #14 on: February 24, 2021, 08:34:36 pm »
It works. Thank you  :)

 

TinyPortal © 2005-2018