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

2011-01-26 Thread Peter Eric Williams

Hi Marcos,

On 1/26/2011 3:48 AM, Marcos Douglas wrote:

On Tue, Jan 25, 2011 at 12:31 PM, Pew (piffle.the.cat)
piffle.the@iinet.net.au  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.



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


Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-26 Thread Marcos Douglas
2011/1/26 Peter Eric Williams piffle.the@iinet.net.au:
 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.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-26 Thread shoKwave

Am 26.01.2011 18:53, schrieb Peter Eric Williams:


* 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

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Mattias Gaertner
On Tue, 25 Jan 2011 22:01:20 +1100
Peter Williams pewilliams2...@live.com 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
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Peter Williams

Hi Mattias,
 
 make clean all OPT=-glw2 -vut
make: *** No rule to make target `clean'. Stop.
 
 Date: Tue, 25 Jan 2011 12:41:57 +0100
 From: nc-gaert...@netcologne.de
 To: lazarus@lists.lazarus.freepascal.org
 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 pewilliams2...@live.com 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
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  

fpc.cfg
Description: Binary data
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Marcos Douglas
Peter,
Look bellow:

On Tue, Jan 25, 2011 at 8:41 AM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:

 How did you install fpc 2.5.1?

I did a tutorial to make FPC on Windows. At time I used 2.5.1
version... but I already change the tutorial to use /fixes_2_0:
http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29


Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Marcos Douglas
On Tue, Jan 25, 2011 at 9:02 AM, Marcos Douglas m...@delfire.net wrote:

 version... but I already change the tutorial to use /fixes_2_0:
 http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

Sorry, I mean /fixes_2_4


Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Marcos Douglas
On Tue, Jan 25, 2011 at 8:41 AM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 [snip]

 Use
 make clean all OPT=-glw2 -vut

What makes the option -vut?


Marcos Douglas

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Mattias Gaertner
On Tue, 25 Jan 2011 09:06:30 -0300
Marcos Douglas m...@delfire.net wrote:

 On Tue, Jan 25, 2011 at 8:41 AM, Mattias Gaertner
 nc-gaert...@netcologne.de wrote:
  [snip]
 
  Use
  make clean all OPT=-glw2 -vut
 
 What makes the option -vut?

fpc -h

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


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

2011-01-25 Thread Pew (piffle.the.cat)

On 01/25/2011 11:59 PM, Mattias Gaertner wrote:

On Tue, 25 Jan 2011 23:00:22 +1100
Peter Williamspewilliams2...@live.com  wrote:


[...]On Sat, Jan 22, 2011 at 5:31 PM, Peter Eric Williams

piffle.the@iinet.net.au wrote:

 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
___
fpc-pascal maillist  -  fpc-pas...@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal



Fatal: Can't find unit system used by AllLCLUnits

[...]

How did you install fpc 2.5.1?


Well?



I followed the instructions here:

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


Message from Free Pascal discussion list.

On Sat, Jan 22, 2011 at 5:31 PM, Peter Eric Williams
piffle.the@iinet.net.au wrote:

 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