You need to use make clean all at the top level directory of the trunk checkout plus a make install (probably as root). Anything else requires experience to do.
Thanks, but what is the "trunk checkout"? Here's what comes up when I do "locate pas2js" on my system:
/usr/share/fpcsrc/3.0.4/packages/pastojs/src/fppas2js.pp
/usr/share/fpcsrc/3.0.4/packages/pastojs/tests/testpas2js.lpi
/usr/share/fpcsrc/3.0.4/packages/pastojs/tests/testpas2js.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js
/usr/share/fpcsrc/3.0.4/utils/pas2js/Makefile
/usr/share/fpcsrc/3.0.4/utils/pas2js/Makefile.fpc
/usr/share/fpcsrc/3.0.4/utils/pas2js/dist
/usr/share/fpcsrc/3.0.4/utils/pas2js/fpmake
/usr/share/fpcsrc/3.0.4/utils/pas2js/fpmake.o
/usr/share/fpcsrc/3.0.4/utils/pas2js/fpmake.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/pas2js.lpi
/usr/share/fpcsrc/3.0.4/utils/pas2js/pas2js.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples
/usr/share/fpcsrc/3.0.4/utils/pas2js/dist/rtl.js
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/arraydemo.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/fordemo.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/fordowndemo.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/hello.pas
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/ifdemo.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/repeatdemo.pp
/usr/share/fpcsrc/3.0.4/utils/pas2js/samples/whiledemo.pp
So which directory do I "make clean install" from?