Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-14 Thread Marco van de Voort
On Mon, Jan 13, 2014 at 06:24:23PM +0100, Mattias Gaertner wrote:
 
 The make install only adds new files, it does not delete old one.
 Please delete old files of
 C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units
 Then call make install.

The rearrangements are not over again, so it is wise to make this a standard
procedure.

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


[Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Dimitrios Chr. Ioannidis

Hi all,

  just for your information the lazarus 1.2 .../branches/fixes_1_2 
doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile 
with the 2.6.4 RC1.


  I tried both branches whoch i checked out almost every day for the 
5-6 days.


Regards,

--
Dimitrios Chr. Ioannidis

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 13:46:48 +0200
Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:

 Hi all,
 
just for your information the lazarus 1.2 .../branches/fixes_1_2 
 doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile 
 with the 2.6.4 RC1.

It compiles here one linux/64bit:
Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.

 
I tried both branches whoch i checked out almost every day for the 
 5-6 days.

Mattias

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Dimitrios Chr. Ioannidis

Hi,

Στις 13/1/2014 2:02 μμ, ο/η Mattias Gaertner έγραψε:

On Mon, 13 Jan 2014 13:46:48 +0200
Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:


Hi all,

just for your information the lazarus 1.2 .../branches/fixes_1_2
doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile
with the 2.6.4 RC1.

It compiles here one linux/64bit:
Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.


my apologies for not being more specific regarding the OS and error message

Windows 7 64bit

Compiling lazaruspackageintf.pas
PPU Loading 
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e

xtra\ServiceManager.ppu
PPU Source: ServiceManager.pas not found
Recompiling ServiceManager, checksum changed for windows
registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by 
RegisterFCL

Fatal: Compilation aborted

Regards,

--
Dimitrios Chr. Ioannidis



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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 14:18:35 +0200
Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:

[...]
  just for your information the lazarus 1.2 .../branches/fixes_1_2
  doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile
  with the 2.6.4 RC1.
  It compiles here one linux/64bit:
  Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.
 
 my apologies for not being more specific regarding the OS and error message
 
 Windows 7 64bit
 
 Compiling lazaruspackageintf.pas
 PPU Loading 
 C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e
 xtra\ServiceManager.ppu
 PPU Source: ServiceManager.pas not found
 Recompiling ServiceManager, checksum changed for windows

Servicemanager and Windows are fpc units, not
Lazarus units.

And checksum changed should not happen in the fpc ppu files, because
normally they are compiled with -Ur.

How did you built fpc and its packages?

Mattias

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Michael Schnell

On 01/13/2014 01:18 PM, Dimitrios Chr. Ioannidis wrote:



Windows 7 64bit

Compiling lazaruspackageintf.pas
PPU Loading 
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e

xtra\ServiceManager.ppu
PPU Source: ServiceManager.pas not found
Recompiling ServiceManager, checksum changed for windows
registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by 
RegisterFCL

Fatal: Compilation aborted

Regards,



I see this:

(Linux 32 Bits)

Compiling fcllaz.pas
Compiling registerfcl.pas
Compiling lazaruspackageintf.pas
PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu
PPU Source: variants.pp not available
Recompiling variants, checksum changed for System
Fatal: Can't find unit variants used by db
Fatal: Compilation aborted



-Michael

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Dimitrios Chr. Ioannidis

Hi,

Στις 13/1/2014 2:26 μμ, ο/η Mattias Gaertner έγραψε:

On Mon, 13 Jan 2014 14:18:35 +0200
Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:


[...]

 just for your information the lazarus 1.2 .../branches/fixes_1_2
doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile
with the 2.6.4 RC1.

It compiles here one linux/64bit:
Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.

my apologies for not being more specific regarding the OS and error message

Windows 7 64bit

Compiling lazaruspackageintf.pas
PPU Loading
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e
xtra\ServiceManager.ppu
PPU Source: ServiceManager.pas not found
Recompiling ServiceManager, checksum changed for windows

Servicemanager and Windows are fpc units, not
Lazarus units.

And checksum changed should not happen in the fpc ppu files, because
normally they are compiled with -Ur.

How did you built fpc and its packages?


i'm using fpc 2.6.2 release full installation with the following command :

make all install OPT=-g -gl -gw -godwarfsets -O- 
INSTALL_PREFIX=C:\Users\dimitris\Programming\Tools\fpc\2.6.x
then added the binutils from the 
../fpcbuild/branches/fixes_2_6/install/binw32 to the 
..\Tools\fpc\2.6.x\bin\i386-win32 folder
and last executed fpcmkcfg -d 
basepath=C:\Users\dimitris\Programming\Tools\fpc\2.6.x -o 
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\2.6.x\bin\i386-win32


regards,

--
Dimitrios Chr. Ioannidis

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread FreeMan

Stephano's answer fixed mine same problem


On 12/01/14 11:42, FreeMan wrote:

I had same problem, but after one more update to:
fpc svn update 26427
lazarus svn update 43710
Kubuntu 13.10 x64



Did you try Tools/Rescan FPC source directory?

Stephano


I see this:

(Linux 32 Bits)

Compiling fcllaz.pas
Compiling registerfcl.pas
Compiling lazaruspackageintf.pas
PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu
PPU Source: variants.pp not available
Recompiling variants, checksum changed for System
Fatal: Can't find unit variants used by db
Fatal: Compilation aborted



-Michael



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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Marco van de Voort
On Mon, Jan 13, 2014 at 01:31:10PM +0100, Michael Schnell wrote:
 I see this:
 
 (Linux 32 Bits)
 
 Compiling fcllaz.pas
 Compiling registerfcl.pas
 Compiling lazaruspackageintf.pas
 PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu
 PPU Source: variants.pp not available
 Recompiling variants, checksum changed for System
 Fatal: Can't find unit variants used by db
 Fatal: Compilation aborted

As said above (to Waldo) remove .../units/i386-linux before installation,
and it will go away. 

If people get similar errors relating to sockets or winsock, same
procedure.

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Dimitrios Chr. Ioannidis

Hi,

Στις 13/1/2014 2:31 μμ, ο/η Michael Schnell έγραψε:

On 01/13/2014 01:18 PM, Dimitrios Chr. Ioannidis wrote:



Windows 7 64bit

Compiling lazaruspackageintf.pas
PPU Loading 
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e

xtra\ServiceManager.ppu
PPU Source: ServiceManager.pas not found
Recompiling ServiceManager, checksum changed for windows
registerfcl.pas(43,3) Fatal: Can't find unit ServiceManager used by 
RegisterFCL

Fatal: Compilation aborted

Regards,



I see this:

(Linux 32 Bits)

Compiling fcllaz.pas
Compiling registerfcl.pas
Compiling lazaruspackageintf.pas
PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu
PPU Source: variants.pp not available
Recompiling variants, checksum changed for System
Fatal: Can't find unit variants used by db
Fatal: Compilation aborted


well the problem i see is reg. the 2.6 fixes branch not trunk.

regards,

--
Dimitrios Chr. Ioannidis

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Marco van de Voort
On Mon, Jan 13, 2014 at 03:26:16PM +0200, Dimitrios Chr. Ioannidis wrote:

  PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu
 
 well the problem i see is reg. the 2.6 fixes branch not trunk.

I hope the selective quoting says all :-)

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread Mattias Gaertner
On Mon, 13 Jan 2014 14:53:33 +0200
Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:

 Hi,
 
 Στις 13/1/2014 2:26 μμ, ο/η Mattias Gaertner έγραψε:
  On Mon, 13 Jan 2014 14:18:35 +0200
  Dimitrios Chr. Ioannidis d.ioanni...@nephelae.eu wrote:
 
  [...]
   just for your information the lazarus 1.2 .../branches/fixes_1_2
  doesn't build with the fpc 2.6 .../branches/fixes_2_6 but does compile
  with the 2.6.4 RC1.
  It compiles here one linux/64bit:
  Lazarus fixes_1_0 and fixes_1_2 with fpc fixes_2_6.
  my apologies for not being more specific regarding the OS and error message
 
  Windows 7 64bit
 
  Compiling lazaruspackageintf.pas
  PPU Loading
  C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units\i386-win32\fcl-e
  xtra\ServiceManager.ppu
  PPU Source: ServiceManager.pas not found
  Recompiling ServiceManager, checksum changed for windows
  Servicemanager and Windows are fpc units, not
  Lazarus units.
 
  And checksum changed should not happen in the fpc ppu files, because
  normally they are compiled with -Ur.
 
  How did you built fpc and its packages?
 
 i'm using fpc 2.6.2 release full installation with the following command :
 
 make all install OPT=-g -gl -gw -godwarfsets -O- 
 INSTALL_PREFIX=C:\Users\dimitris\Programming\Tools\fpc\2.6.x
 then added the binutils from the 
 ../fpcbuild/branches/fixes_2_6/install/binw32 to the 
 ..\Tools\fpc\2.6.x\bin\i386-win32 folder
 and last executed fpcmkcfg -d 
 basepath=C:\Users\dimitris\Programming\Tools\fpc\2.6.x -o 
 C:\Users\dimitris\Programming\Tools\fpc\2.6.x\2.6.x\bin\i386-win32

The make install only adds new files, it does not delete old one.
Please delete old files of
C:\Users\dimitris\Programming\Tools\fpc\2.6.x\units
Then call make install.

Mattias

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


Re: [Lazarus] Building lazarus 1.2 fixes with fpc 2.6 fixes broken.

2014-01-13 Thread waldo kitty

On 1/13/2014 10:52 AM, Marco van de Voort wrote:

On Mon, Jan 13, 2014 at 03:26:16PM +0200, Dimitrios Chr. Ioannidis wrote:


PPU Loading /usr/lib/fpc/2.7.1/units/i386-linux/rtl/variants.ppu


well the problem i see is reg. the 2.6 fixes branch not trunk.


I hope the selective quoting says all :-)


when i went back and looked at previous messages and the responses in my own 
thread, i was finally able to open my eyes and see that the problem was in the 
FPC installation... that allowed me to correct the error as noted a few minutes 
ago in the other thread ;)


for me, the easiest fix was to rename *path*/fpc/%fpcversion%/units/i386-%OS% 
and then rebuild/install FPC followed by the same for LAZ...


--
NOTE: No off-list assistance is given without prior approval.
  Please keep mailing list traffic on the list unless
  private contact is specifically requested and granted.

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