[Lazarus] Building Lazarus for win32

Bogusław Brandys brandys at o2.pl
Thu Oct 30 12:01:36 CET 2008


tommy pisze:
> Vincent Snijders skrev:
>> tommy schreef:
>>   
>>> Vincent Snijders skrev:
>>> Reading the wiki concerning errors of checksum and not finding 
>>> interface, it is stated that the checksum would occur if there are 
>>> several compiled units in the system och several fpc.cfg. I check and 
>>> there are no dubbel units or cfg. However testing the compiler options 
>>> in projektmenu I recieve a lot of warnings about duplicate units. When 
>>> looking at these directories there are no duplicates!
>>>     
>> What duplicate units did Lazarus say there were?
>>
>>   
>>> I have no clue to what is happening. I also whent through with regedit 
>>> to delete all references of lazarus and also deleting the directory in 
>>> documents and settings before doing each new installation.
>>>
>>>     
>> Did you install lazarus in an empty directory, i.e. not over an existing 
>> Lazarus installation?
>>
>>   
>>> The win32-installer version of lazarus with fpc works fine, as long as 
>>> not rebuilding lazarus.
>>>     
>> Vincent
>> _______________________________________________
>>
>>   
> Good news, now the rebuilding of the ide and packages is working! But How?!?
> It could be that I deleted som entries in registry or after deleting the 
> lazarus svn version gott rid of the file disturbing. For the record, I 
> did install earlier both in a fresh directory and in the old one but 
> with deleting all subdirecories and files.
> 
> Still the compiler test give som warning about the fpc files being 
> duplicate. With the erlier rebuild stop, it was warnings of files in the 
> lazarus directories. Now when it is working the warning is as below from 
> both an empty project and a compiled project:
> 
> WARNING: relative unit path found in fpc cfg: 
> .\fpc\2.2.2\bin\i386-win32\ THIS is issued for all unit paths in fpc,
> 
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd20\httpd.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd13\httpd.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd22\apr.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd20\apr.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd22\apriconv.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd20\apriconv.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd22\aprutil.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd20\aprutil.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd22\httpd.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\httpd20\httpd.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\unzip\unzip.ppu,
> C:\lazarus\fpc\2.2.2\units\i386-win32\paszlib\unzip.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\fv\dialogs.ppu,
> C:\lazarus\lcl\units\i386-win32\dialogs.ppu
> WARNING: ppu exists twice: 
> C:\lazarus\fpc\2.2.2\units\i386-win32\fv\menus.ppu,
> C:\lazarus\lcl\units\i386-win32\menus.ppu
> 
> Thanks for taking the time to answer
> it help me to try again
> / Tom
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
> 


Checksum changed is related to compiler problem or a problem with 
interpretation of some command line switches, I'm not sure,but I had it 
too when using fpc svn version, then I switched back to official fpc 
2.2.2 and that resolved problems.

I have still one error about duplicated ppu but that's another problem 
and didn't cause checksum changed error. The temporarily fix was also to 
clean directories containing components and Lazarus itself from .o and 
.ppu files using clean wizard from Lazarus IDE, but again error was here 
once ppu are in place before compilation.


Boguslaw



More information about the Lazarus mailing list