Talk:GeckoPort version2

From Lazarus wiki
Jump to navigationJump to search

2012 / 08 / 05

The installation of the latest Gecko2 doesn't work.

Lazarus IDE version: 0.9.30.4
FPC version: 2.6.0
SVN revision: 35940
i386-win32-win32/win64

This is the paste of the "fppkg install gecko":

D:\lazarus\fpc\2.6.0\bin\i386-win32>fppkg install gecko
Install dependencies
Start building package lazmkunit for target i386-win32.
      Compiling lazmkunit.pp
[100%] Built target lazmkunit
Installation package lazmkunit for target i386-win32 succeeded
Dependencies installed
Downloading package gecko version 2.9.0-1
Start building package gecko for target i386-win32.
      Compiling nsTypes.pas
      Compiling nsGeckoStrings.pas
      Compiling nsInit.pas
      Compiling nsXPCOM.pas
      Compiling nsTypes.pas
      Compiling nsConsts.pas
      Compiling nsError.pas
      Compiling nsMemory.pas
      Compiling nsCID.pas
      Compiling nsConsts.pas
Warning: Circular dependency detected when compiling target nsXPCOM with target
nsGeckoStrings
      Compiling nsXPCOM.pas
      Compiling nsXPCOM.pas
Warning: Circular dependency detected when compiling target nsInit with target n
sGeckoStrings
      Compiling nsInit.pas
      Compiling nsInit.pas
      Compiling nsError.pas
      Compiling nsError.pas
      Compiling nsMemory.pas
      Compiling nsMemory.pas
      Compiling nsGeckoStrings.pas
      Compiling nsXPCOMGlue.pas
      Compiling nsErrorUtils.pas
      Compiling nsProfile.pas
The installer encountered the following error:
External command "D:\lazarus\fpc\2.6.0\bin\i386-win32\fpc.exe -n -Twin32 -FUunit
s\i386-win32 -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\rtl "-FuC:\Documents and
Settings\Djuro\Local Settings\Application Data\FreePascal\fppkg\\units\i386-win3
2\lazmkunit" -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fpmkunit -FuD:\lazarus\fp
c\2.6.0\\units\i386-win32\fcl-process -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\
paszlib -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\hash -FuD:\lazarus\fpc\2.6.0\\
units\i386-win32\fcl-registry -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fcl-base
 -Figecko9 -Figecko10 -Sm -Sd -viq nsProfile.pas" failed with exit code 1. Conso
le output:
Target OS: Win32 for i386
Compiling nsProfile.pas
nsProfile.pas(53,66) Error: Identifier not found "PRBool"
nsProfile.pas(63,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: D:\lazarus\fpc\2.6.0\bin\i386-win32\ppc386.exe returned an error exitcode
 (normal if you did not specify a source file to be compiled)

The FPC Package tool encountered the following error:
[gecko] Execution of FPMake build failed

D:\lazarus\fpc\2.6.0\bin\i386-win32>

2012 / 08 / 15

The issue still persists with Lazarus v1.0 RC1

D:\lazarus\fpc\2.6.0\bin\i386-win32>fppkg install gecko
Start building package gecko for target i386-win32.
       Compiling nsTypes.pas
       Compiling nsGeckoStrings.pas
       Compiling nsInit.pas
       Compiling nsXPCOM.pas
       Compiling nsTypes.pas
       Compiling nsConsts.pas
       Compiling nsError.pas
       Compiling nsMemory.pas
       Compiling nsCID.pas
       Compiling nsConsts.pas
Warning: Circular dependency detected when compiling target nsXPCOM with target nsGeckoStrings
       Compiling nsXPCOM.pas
       Compiling nsXPCOM.pas
Warning: Circular dependency detected when compiling target nsInit with target nsGeckoStrings
       Compiling nsInit.pas
       Compiling nsInit.pas
       Compiling nsError.pas
       Compiling nsError.pas
       Compiling nsMemory.pas
       Compiling nsMemory.pas
       Compiling nsGeckoStrings.pas
       Compiling nsXPCOMGlue.pas
       Compiling nsErrorUtils.pas
       Compiling nsProfile.pas
The installer encountered the following error:
External command "D:\lazarus\fpc\2.6.0\bin\i386-win32\fpc.exe -n -Twin32 -FUunits\i386-win32 -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\rtl "-FuC:\Documents and Settings\Djuro\Local Settings\Application Data\FreePascal\fppkg\\units\i386-win32\lazmkunit" -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fpmkunit -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fcl-process -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\paszlib -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\hash -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fcl-registry -FuD:\lazarus\fpc\2.6.0\\units\i386-win32\fcl-base -Figecko9 -Figecko10 -Sm -Sd -viq nsProfile.pas" failed with exit code 1. Console output:
Target OS: Win32 for i386
Compiling nsProfile.pas
nsProfile.pas(53,66) Error: Identifier not found "PRBool"
nsProfile.pas(63,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: D:\lazarus\fpc\2.6.0\bin\i386-win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)

The FPC Package tool encountered the following error:
[gecko] Execution of FPMake build failed

D:\lazarus\fpc\2.6.0\bin\i386-win32>

Please report issues in the bugtracker

Thanks for indicating something is wrong.

However, please report issues in the bugtracker. If you're not sure if something is a problem with your speciific installation/code or a problem with FPC/Lazarus itself, you could first ask on the forum or mailing lists. Posting problems here is unlikely to get much response.

Good luck, --BigChimp 14:25, 15 August 2012 (UTC)