Lazarus

Installation => Linux => Topic started by: Linkat on January 31, 2021, 04:57:41 pm

Title: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Linkat 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 (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/ (ftp://freepascal.org/pub/fpc/dist/3.2.0/)

and on SourceForge.

Where can I get it from?

Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: MarkMLl 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
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Linkat 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.
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: trev on February 02, 2021, 11:25:51 pm
Maybe it's been renamed to this: ftp://mirror.freemirror.org/pub/fpc/dist/3.2.0/arm-linux/fpc-3.2.0.arm-linux-on-aarch64.tar

Broken links first reported in August last year: https://www.mail-archive.com/fpc-pascal@lists.freepascal.org/msg53195.html

Last image: https://sourceforge.net/projects/freepascal/files/Linux/3.0.2/fpc-3.0.2.arm-linux-eabihf-raspberry.tar/download

Updating from 3.0.2 to 3.0.4: http://translate.google.com/translate?prev=/language_tools&u=https%3A%2F%2Fwww.framboise314.fr%2Finstaller-la-derniere-version-de-lazarus-mai-2020-sur-raspberry-pi%2F
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Linkat 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.

 
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: AlanTheBeast 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.
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Mi-Ki 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.
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: trev 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
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Mi-Ki 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
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: af0815 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.
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Mi-Ki 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
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: af0815 on February 20, 2021, 05:46:40 pm
Are you able to recompile lazarus itself, without installing a package ?
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Mi-Ki 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 :)
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: af0815 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.
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: Mi-Ki on February 24, 2021, 08:34:36 pm
It works. Thank you  :)
Title: Re: Download of FPC 3.2 for Raspberry Pi does not work
Post by: AlanTheBeast on February 24, 2021, 10:50:24 pm

To be clear Mi-Ki, di you succeed in getting FPC 3.2.0 on board?

Thanks.
TinyPortal © 2005-2018