Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong path on linux error during compilation #692

Open
Thaddy opened this issue Jun 11, 2024 · 1 comment
Open

Wrong path on linux error during compilation #692

Thaddy opened this issue Jun 11, 2024 · 1 comment

Comments

@Thaddy
Copy link

Thaddy commented Jun 11, 2024

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants