[Lazarus] Trying to get the svn v ersions of Lazarus and FPC running on Windows

shoKwave shokwave at gmx.net
Fri May 13 16:14:25 CEST 2011


Am 13.05.2011 14:41, schrieb Michael Schnell:
> (Very astonished that c:\fpc_2 is 143 MB of size and contains hundreds 
> of files),
That's pretty normal. On Linux you have these files too. See 
"/usr/lib/fpc" and "/usr/share/doc/fpc-2.5.1".
>
> I do an svn cleanup to be sure I have clean sources and then I would 
> like to compile Lazarus with the new fpc installation, So in the 
> Lazarus source directory I try:
> C:\fpc\2.4.2\bin\i386-win32\make.exe clean all 
> FPC=c:\fpc_2\bin\i386-win32\ppc386.exe
>
> but I get:
>
> C:/fpc/2.4.2/bin/i386-win32/rm.exe -f ../units/i386-win32/fcllaz.ppu
> c:/fpc_2/bin/i386-win32/ppc386.exe -MObjFPC -Scghi -O1 -gl -vewnhi -l 
> -Fu. -FE.
> -FU../units/i386-win32 -di386 fcllaz.pas
> Free Pascal Compiler version 2.5.1 [2011/05/13] for i386
> Copyright (c) 1993-2011 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling fcllaz.pas
> Compiling registerfcl.pas
> Compiling lazaruspackageintf.pas
> Fatal: Can't find unit process used by RegisterFCL
> Fatal: Compilation aborted
> make.exe[1]: *** [fcllaz.ppu] Error 1
> make.exe[1]: Leaving directory 
> `C:/Downloads/svn/lazarus/trunk/packager/registration'
> C:\fpc\2.4.2\bin\i386-win32\make.exe: *** [packager/registration] Error 2
>
That's because of the missing fpc.cfg.
> I suppose it tries to find it in c:\fpc_2\bin\i386-win32 as well, but 
> I am not sure. It in fact does not exist that path.
>
> Blindly, I copyied it from c:\fpc\2.4.2\bin\i386-win32\ there to.
>
Good idea, just missing one step. Edit the fpc.cfg! At the end  of the 
file are some paths to the libraries which start with "C:\fpc\2.4.2...". 
You'll have to edit this lines to "C:\fpc_2\...".
> "PPU Invalid Version 104"
> and
> "registerfcl.pas(42,22) Fatal: Cant find unit process used by 
> RegisterFCL" (The same problem as when I tried to do "make all").
This is because the fpc.cfg points to the libs of 2.4.2(see above).


regards
Ingo




More information about the Lazarus mailing list