[Pas2js] error when building pas2js from gitlab or github

Michael Van Canneyt michael at freepascal.org
Sat Oct 16 09:36:18 CEST 2021



On Fri, 15 Oct 2021, Mgr. Janusz Chmiel wrote:

> Dear specialists,
> 	I Am experiencing very deepsadness, because I can not build latest Pas2js from gitlab and even from github.
> Here is  The output of terminal window. Some files are not being downloaded from Github tree and I can not determine what is going wrong.
> C:/lazarus/fpc/3.2.0/bin/i386-win32/ppc386.exe fpmake.pp
> Free Pascal Compiler version 3.2.0 [2021/02/21] for i386
> Copyright (c) 1993-2020 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling fpmake.pp
> Linking fpmake.exe
> 251 lines compiled, 0.8 sec, 329056 bytes code, 15332 bytes data
> ./fpmake.exe compile --os=win32 --cpu=i386 -o -di386 --compiler=C:/lazarus/fpc/3.2.0/bin/i386-win32/ppc386.exe -bu
> Start compiling package pas2js for target i386-win32.
> Warning: Source file "pas2js.pp" from package pas2js not found for i386-win32
> Warning: Source file "webidl2pas.pp" from package pas2js not found for i386-win32
> Warning: Source file "compileserver.pp" from package pas2js not found for i386-win32
> Warning: Source file "makestub.pp" from package pas2js not found for i386-win32
> Warning: Source file "pas2jslib.pp" from package pas2js not found for i386-win32
> The installer encountered the following error:
> Could not compile target pas2js from package pas2js
> make: *** [all] Error 1
>
> How could I download latest Pas2JS unstable source, which will be possible to build?
>
> Sure, I have read Lazarus Pas2JS wiki page.

It seems the wiki page contained an old git URL. I corrected it.

You can also use a git submodule, instructions for how to do this are in the
README file.

Michael.


More information about the Pas2js mailing list