Wiki copymirror

This is a mirror of the wiki at pascal.chat. Editing, history and sign-in are there.

FPCupDeLuxe install on Linux cheatsheet

long story short:

Likely problems to occur

Since the Mint / Ubuntu Laz package and f.deluxe do not harmonize, you will very likely end up with 2 compilers in $PATH if you mix f-deluxe, make from sources and apt methods. Do ls to verify in case that nothing ever compiles due to "unit not found" errors :

bash
 ls -l /usr/bin/fpc-3.0.0       ##   mv /xx 
 ls -l /usr/local/bin/fpc       ##   <---  which fpc   -- must remain !

Move /usr/bin/fpc* out of the path e.g.

text
sudo mv -f /usr/bin/fpc* /xxbroken

After IDE restart, everything compiles nicely.

Note: This condition can also be found via clicking project options button, then Test Test-button to find problematic path settings.

See also:


From the Free Pascal wiki, page "FPCupDeLuxe install on Linux cheatsheet", as it stood on 2020-06-29 after a change by Arent, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .