Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-01

ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits

13 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Peter Williams

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.

Best Regards,
Peter E Williams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110125/03caff40/attachment.html>

Reply by email

Mattias Gaertner
to Peter Williams
Show quoted text 31 lines
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

Reply by email

Peter Williams
to Mattias Gaertner

Hi Mattias,

make clean all OPT="-glw2 -vut"

make: *** No rule to make target `clean'. Stop.

Show quoted text 55 lines
Date: Tue, 25 Jan 2011 12:41:57 +0100 From: To: Subject: Re: [Lazarus] ERROR compiling Lazarus for first time on Windows 7 Ultimate OS. Fatal: Can't find unit system used by AllLCLUnits On Tue, 25 Jan 2011 22:01:20 +1100 Peter Williams 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 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110125/4e2f6b86/attachment-0001.html> -------------- next part --------------
A non-text attachment was scrubbed...
Name: fpc.cfg
Type: application/octet-stream
Size: 6205 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110125/4e2f6b86/attachment-0001.obj>

Reply by email

Mattias Gaertner
to Peter Williams: make: *** No rule to make target `clean'. Stop. -------------- next part --------------…
[...] > > Fatal: Can't find unit system used by AllLCLUnits [...] > How did you install fpc 2.5.1?

Well?

Show quoted text 5 lines
> 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.

[...]
# searchpath for units and other system dependent things -FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/
-FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/*
-FuC:\freepascal\fpc\2.4.3/units/$FPCTARGET/rtl
[...]

Fix the paths.

Mattias

Reply by email

Pew piffle.the.cat
to Mattias Gaertner: On Tue, 25 Jan 2011 23:00:22 +1100 Well? [...] # searchpath for units and other system…
Mattias Gaertner wrote
On Tue, 25 Jan 2011 23:00:22 +1100 Peter Williams wrote: > [...]On Sat, Jan 22, 2011 at 5:31 PM, Peter Eric Williams
Show quoted text 63 lines
> Hi pascal list, > > Please excuse me asking such a basic question, but I'm new to this list. > > I require the basic instructions for quick start with subversion for all of > the free pascal compiler using subversion. > > I am using Windows 7 Ultimate and I am new to Free Pascal and Lazarus. > > I have previously used Linux Ubuntu and Mint 10 with stable version of free > Pascal and Lazarus. > > I am not wanting to use a pirate copy of Delphi XE and I am a supporter of > free pascal and the GNU GPL 3 license. > > I have been reading the Development Tutorial (a.k.a Build FAQ) > > Copy and paste follows from the Dev. Tut. pdf file, section 1.3.3 (with my > comments //). Please note the crap characters when I copy and pasted it. > > 1.3.3 Downloading source via SVN > ?To c?he?k out a? module use the follow line: > svn co http://svn.freepascal.org/svn/<module>/trunk <module> > # > # Examples: > # > # FPC > # svn co http://svn.freepascal.org/svn/fpc/trunk fpc > # > # fpcdocs > # > svn co http://svn.freepascal.org/svn/fpcdocs/trunk fpcdocs > # > # fpcprojects (has no branches, maybe you don't need /trunk at the end) > # > svn co http://svn.freepascal.org/svn/fpcprojects/trunk fpcprojects > # > # lazarus > # > svn co http://svn.freepascal.org/svn/lazarus/trunk lazarus > ? > o ?he?k out ? ?r?n?hD repl??e trunk in the ??ove lines with the > ?r?n?hesG`?r?n?h n?mebF iFgF to ?he?k out the ?r?n?h > (xes?P?RX > > // to check out a branch replace trunk in the above lines with > branches/<branch name> E.g. To checkout the branches_2.4 > > > 5 > \href{ftp://ftp.freepascal.org/pub/fpc/snapshot/v24/source/fpc.zip}{ftp://ftp.freepascal.org/pub/fpc/snapshot/v24/source/fpc.zip > 6 > \href{ftp://ftp.freepascal.org/pub/fpc/snapshot/v25/source/fpc.zip}{ftp://ftp.freepascal.org/pub/fpc/snapshot/v25/source/fpc.zip > development series)} > (2.2.x)} > (2.5.x > CHAPTER 1. > BASE PRINCIPLES, NAMING, VERSIONS, REQUIREMENTS ETC > IQ > svn co http://svn.freepascal.org/svn/fpc/branches/fixes_2_4 fpc-2.4.x > ?pe?i(? rele?ses ?re t?gged with ? t?g th?t is form?ted like ?ivie?i?P?R?H D > ?nd ??n ?e ?he?ked out like thisX > svn co http://svn.freepascal.org/svn/fpc/tags/RELEASE_2_4_0 fpc-2.4.0

I had some problems when I tried install FPC and Lazarus on WinXP. So, after I made this tutorial:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

...any installation on Windows I always use it.

Marcos Douglas

Reply by email

Peter Eric Williams
to Marcos Douglas

Hi Marcos,

Marcos Douglas wrote 6 lines
On Tue, Jan 25, 2011 at 12:31 PM, Pew (piffle.the.cat) wrote: > I followed the instructions here: > > http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29 As I said, I changed this tutorial so, do it again, please.

Quote:

See:http://www.freepascal.org/down/i386/win32.var. Download FPC as one big file, unzip it and run the install.exe.

I now have Free Pascal 2.4.2 compiler installed on Windows from the installation file.

Show quoted text 10 lines
Extending your PATH variable to the fpc directory: * Win98: Edit autoexec.bat and add the line: PATH=%PATH%;C:\pp\bin\bin\win32 * WinXP/2k: My Computer (Right Click) -> Properties -> Advanced (Page) -> Environment Variables -> System Variables -> Edit "PATH", Add "C:\pp\bin\bin\win32" there. Then restart windows.

I am using Windows 7 Ultimate and there is no autoexec.bat and no My Computer icon.

I have looked under Settings / Control Panel / All Control Panel Items and I cannot find any reference to either the autoexec.bat file nor the PATH (or any other) environment variable.

Help.

Best Regards,
Peter / pew

Show quoted text 8 lines
Marcos Douglas -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110127/6bcb1b9a/attachment.html>

Reply by email

Marcos Douglas
to Peter Eric Williams

2011/1/26 Peter Eric Williams :

Show quoted text 5 lines
I now have Free Pascal 2.4.2 compiler installed on Windows from the installation file. I am using Windows 7 Ultimate and there is no autoexec.bat and no My Computer icon.

You doesn't need this.

Just use the tutorial before again.
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

If your new FPC is working, just change .BAT to use this version.

Marcos Douglas

PS: write in plan text, please.

Reply by email

shoKwave
to Peter Eric Williams: Quote: I now have Free Pascal 2.4.2 compiler installed on Windows from the installation…
Peter Eric Williams wrote 17 lines
> > * Win98: Edit autoexec.bat and add the line: > PATH=%PATH%;C:\pp\bin\bin\win32 > * WinXP/2k: My Computer (Right Click) -> Properties -> Advanced > (Page) -> Environment Variables -> System Variables -> Edit > "PATH", Add "C:\pp\bin\bin\win32" there. > > Then restart windows. > I am using Windows 7 Ultimate and there is no autoexec.bat and no My Computer icon. Extending your PATH variable to the fpc directory: I have looked under Settings / Control Panel / All Control Panel Items and I cannot find any reference to either the autoexec.bat file nor the PATH (or any other) environment variable.

Windows 7 and Vista are similar to XP/2k. You'll have to right click on "Computer" in the start menu and choose "Properties" . Click on "Advanced Settings" in the upper left corner of the window. There are the "Environment Variables"...

Regards Ingo

Reply by email