[fpc-pascal] How to rebuild an fpc package

Luis - SoftSAT Sistemas luis at softsatsistemas.com.br
Wed Feb 12 14:48:44 CET 2020



12.02.2020, 11:41, "Joost van der Sluis" <joost at cnoc.nl>:
> Op 10-02-2020 om 17:01 schreef Luis - SoftSAT Sistemas via fpc-pascal:
>>  I'am on Windows and installed latest lazarus version(2.0.6), but
>>  TCSVDataset from fcl-db package have some bugs so i ported some fixes,
>>  now i need rebuild it, but i failed miserably.
>>  What i tryed
>>  CD C:\lazarus\fpc\3.0.4\source\packages\fcl-db
>>  make clean all install INSTALL_PREFIX=C:\lazarus\fpc\3.0.4
>>  but i get
>>  C:/lazarus/fpc/3.0.4/bin/i386-win32/ppc386.exe fpmake.pp -n -Fu../../r
>>  tl -Fu../../packages/paszlib -Fu../../packages/fcl-process
>>  -Fu../../packages/has
>>  h -Fu../../packages/libtar -Fu../../packages/fpmkunit
>>  Fatal: Can't find unit system used by fpmake
>>  Fatal: Compilation aborted
>>  make: *** [fpmake.exe] Error 1
>
> Easiest to rebuild and install a fpc-package is:
>
> cd packages/fcl-db
> fppkg install -o -gl
>
> You can omit the '-o -gl' part if you do not need debug-info.
>
> Note that it will automatically rebuild and install all packages that
> depend on fcl-db.
>
> The packages are installed in your user-profile in the fppkg-directory.
> You can safely remove those files to get rid of the changes.
>
> Or you can uninstall the packages: 'fppkg uninstall <packagename>'
>
> Regards,
>
> Joost.
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Excellent, i'll try it later.
Thank you.


More information about the fpc-pascal mailing list