[fpc-pascal] How to rebuild an fpc package

Luis - SoftSAT Sistemas luis at softsatsistemas.com.br
Tue Feb 11 14:22:58 CET 2020


Looking at unit search path the compiler are looking at "sources" dir instead of "units" dir with the compiled units and i dont know how to fix this.

C:\lazarus\fpc\3.0.4\source\packages\fcl-db>make all OPT=-vut
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  -vut
Compiler: C:\lazarus\fpc\3.0.4\bin\i386-win32\ppc386.exe
Using executable path: C:\lazarus\fpc\3.0.4\bin\i386-win32\
Using unit path: C:\lazarus\fpc\3.0.4\source\rtl\
Using unit path: C:\lazarus\fpc\3.0.4\source\packages\paszlib\
Using unit path: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\
Using unit path: C:\lazarus\fpc\3.0.4\source\packages\hash\
Using unit path: C:\lazarus\fpc\3.0.4\source\packages\libtar\
Using unit path: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\
Using unit path: C:\lazarus\fpc\3.0.4\bin\i386-win32\
Using library path: C:\lazarus\fpc\3.0.4\source\rtl\
Using library path: C:\lazarus\fpc\3.0.4\source\packages\paszlib\
Using library path: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\
Using library path: C:\lazarus\fpc\3.0.4\source\packages\hash\
Using library path: C:\lazarus\fpc\3.0.4\source\packages\libtar\
Using library path: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\
Using library path: C:\lazarus\fpc\3.0.4\bin\i386-win32\
Using object path: C:\lazarus\fpc\3.0.4\source\rtl\
Using object path: C:\lazarus\fpc\3.0.4\source\packages\paszlib\
Using object path: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\
Using object path: C:\lazarus\fpc\3.0.4\source\packages\hash\
Using object path: C:\lazarus\fpc\3.0.4\source\packages\libtar\
Using object path: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\
Using object path: C:\lazarus\fpc\3.0.4\bin\i386-win32\
Searching file fpmake.pp... found
(PROGRAM)  Registering new unit SYSTEM
(PROGRAM)  Load from FPMAKE (implementation) unit SYSTEM
(SYSTEM)   Loading unit SYSTEM
Unitsearch: system.ppu
Unitsearch: system.pp
Unitsearch: system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\rtl\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\rtl\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\rtl\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\paszlib\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\paszlib\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\paszlib\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\hash\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\hash\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\hash\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\libtar\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\libtar\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\libtar\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\bin\i386-win32\system.ppu
Unitsearch: C:\lazarus\fpc\3.0.4\bin\i386-win32\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\bin\i386-win32\system.pas
Unitsearch: system.pp
Unitsearch: system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\rtl\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\rtl\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\paszlib\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\paszlib\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fcl-process\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\hash\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\hash\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\libtar\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\libtar\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\source\packages\fpmkunit\system.pas
Unitsearch: C:\lazarus\fpc\3.0.4\bin\i386-win32\system.pp
Unitsearch: C:\lazarus\fpc\3.0.4\bin\i386-win32\system.pas
Fatal: Can't find unit system used by fpmake
Fatal: Compilation aborted
make: *** [fpmake.exe] Error 1

11.02.2020, 09:58, "Luis - SoftSAT Sistemas via fpc-pascal" <fpc-pascal at lists.freepascal.org>:
> Resend as plain text.
>
> 10.02.2020, 14:09, "Luis - SoftSAT Sistemas via fpc-pascal" <fpc-pascal at lists.freepascal.org>:
>>  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
>
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


More information about the fpc-pascal mailing list