LongDirtyAnimAlf / fpcupdeluxe

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

Wrong path on linux error during compilation #692

Open Thaddy opened 5 months ago

Thaddy commented 5 months ago

Start of compile error summary. Fatal error: can't create /mnt/d/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux/abitag.o: No such file or directory Start of compile error summary. ERROR: FPC Native Installer (BuildModule: FPC): Error running /usr/bin/make for FPC failed with exit code 512 . Details: . fpcupdeluxe: Done !!

This is a fresh install on WSL2- Debian Linux64 That path is indeed wrong. If it not fpcdeluxe at fault, it may be an error in a make file

LongDirtyAnimAlf commented 5 months ago

The Makefile of FPC contains a LOT of code to find utilities it needs in the path. That makes isolated installs very hard. Fpcupdeluxe tries to set all of these utilities to pre-defined paths, to prevent the Makefile from picking up the wrong tools and utilities (and even the compiler itself). This does not [yet] work 100% on WSL. In the past, I have tried to install WSL on my PC, resulting in the whole PC crashing and nearly loosing all my precious data. As you can understand, I am not very eager to do/risk this again. However, I am sure your issue can be solved. If I have a spare or new Win11, I will give this a try.