[fpc-pascal] How to rebuild an fpc package
Fabio Luis Girardi
fluisgirardi at gmail.com
Wed Feb 12 15:47:13 CET 2020
This is the tip of the day!
Thanks!
Em Qua, 12 de fev de 2020 10:40, Joost van der Sluis <joost at cnoc.nl>
escreveu:
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20200212/a79e46f9/attachment.html>
More information about the fpc-pascal
mailing list