On Tue, 25 Jan 2011 22:01:20 +1100
Peter Williams <[email protected]> wrote:

> 
> Hi All,
>  
> Using today's SVN snapshot and these instructions: 
> http://wiki.lazarus.freepascal.org/Installing_Lazarus
>  
> Fatal error compiling Lazarus 2.5.1 for first time on Windows 7 Ultimate OS. 
> Clean installation from TortoiseSVN.
> Fatal: Can't find unit system used by AllLCLUnits
> 
> makelaz.bat -------------
> @echo on
>  set myversion=2.5.1
>  set mypath=c:\freepascal\fpc\%myversion%
>  set mybinutils=c:\freepascal\binutils
>  set PATH=%mybinutils%\i386-win32;%mypath%\bin\i386-win32;%PATH%
>  cd c:\freepascal\laz
>  make clean all OPT="-glw2"
> -------------------
>  
> makelaz
>  
> [...]
>  
> make -C lcl all
> make[1]: Entering directory `c:/freepascal/laz/lcl'
> c:/freepascal/binutils/i386-win32/rm.exe -f units/i386-win32/alllclunits.ppu
> c:/freepascal/fpc/2.5.1/bin/i386-win32/ppc386.exe -gl  -Fu. -Fuforms 
> -Fuwidgetset -Fiinclude -FE. -FUunits/i386-win32 -glw2 -di386 alllclunits.pp
> Fatal: Can't find unit system used by AllLCLUnits
> Fatal: Compilation aborted
> make[1]: Leaving directory `c:/freepascal/laz/lcl'
>  
> All help will be greatly appreciated. Note that the Lazarus instructions for 
> Linux worked without problems for me today.

How did you install fpc 2.5.1?

Use
make clean all OPT="-glw2 -vut"

and find out what fpc.cfg is used. Then see if the unit search paths
are pointing to the correct directory. The system.ppu of your fpc 2.5.1.

Mattias

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to