LongDirtyAnimAlf / fpcupdeluxe

A GUI based installer for FPC and Lazarus
505 stars 95 forks source link

Need Lazarus 1.4.x in Ubuntu 22.04 #593

Closed 99Percent closed 1 year ago

99Percent commented 1 year ago

(also posted in the Lazarus Forum)

I need to recover and upgrade some very old legacy code written in Lazarus 1.4.4

However it seems like Lazarus 1.4 cannot be compiled with the FPC compiler that Ubuntu supplies through apt (>3.2) fpcupdeluxe throws this error:

/home/david/fpcupdeluxe/lazarus/components/codetools/codecache.pas(1173,12) Error: (4103) Invalid assignment, procedures return no value[/code]

I tried to install the version of FPC that I had running with my legacy code which is 2.6.4 with fpcupdeluxe but it throws a cryptic error 512 (no "details" given):


fpcupdeluxe: ERROR: FPC Native Installer (BuildModule: FPC): Error running /usr/bin/make for FPC failed with exit code 512
. Details:

Apparently fpcupdeluxe can only compile FPC stable 3.2 in ubuntu 22.04

Is this possible to do or will I have to create a VM with Ubuntu 20.04 or 18.04 to be able to recover my old IDE?

LongDirtyAnimAlf commented 1 year ago

For newer Ubuntu, only FPC 3.2.0 and higher will lead to success. And Lazarus 1.4.4 will not compile with such a new version of FPC. As this issue is not related to fpcupdeluxe, I will close.