We currently have the following errors:
Windows:
Warning: Source file "pas2js.pp" from package pas2js not found for x86_64-win64
Linux:
Warning: Source file "pas2js.pp" from package pas2js not found for x86_64-linux
In the pas2js source code, in fpmake.pp:
FPCSrcDir:=GetEnvironmentVariable('FPCDIR');
if FPCSrcDir<>'' then
FPCSrcDir:=IncludeTrailingPathDelimiter(ExpandFileName(FPCSrcDir));
if FPCSrcDir='' then
FPCSrcDir:=IncludeTrailingPathDelimiter(GetCurrentDir)+'compiler'+PathDelim;
Inside function TPas2jsInstaller.BuildModule
Set FPCDIR environment variable
We currently have the following errors: Windows:
Warning: Source file "pas2js.pp" from package pas2js not found for x86_64-win64
Linux:
Warning: Source file "pas2js.pp" from package pas2js not found for x86_64-linux
In the pas2js source code, in fpmake.pp:
Inside function TPas2jsInstaller.BuildModule Set FPCDIR environment variable
And finally I restore it