[SOLVED] Can't find unit process used by RegisterFCL lazarus / 1-Linux ---------------------------------------------------------------------- Fred vS · 2011-07-22 19:24 Hello everybody. I have done a upgrade with : Quotecd /home/login/freepascal/fpc; svn update and Quotecd /home/login/freepascal/lazarus; svn update then Quotesudo ./create_fpc_deb.sh fpc /home/login/freepascal/fpc/ and Quotesudo ./create_fpc_deb.sh fpc-src /home/login/freepascal/fpc/ Everything OK, i have my fpc.deb and fpc-src.deb  But when i try to build Lazarus : Quotesudo ./create_lazarus_deb.sh append-revision I get that sad messages :  QuoteFree Pascal Compiler version 2.4.2-0 [2010/11/11] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 Compiling fcllaz.pas Compiling registerfcl.pas Compiling lazaruspackageintf.pas Fatal: Can't find unit process used by RegisterFCL Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Erreur 1 make[1]: quittant le répertoire « /home/fred/tmp/lazarus0.9.31.31782/l azarus_build/usr/share/lazarus/0.9.31.31782/packager/registration » make: *** [packager/registration] Erreur 2 What is the cure ? ---------------------------------------------------------------------- Fred vS · 2011-07-22 19:33 Ooops, i get it  i must install first fpc-src.deb and fpc.deb before create lazarus.deb... ---------------------------------------------------------------------- Blaazen · 2011-07-22 19:39 I don't know what your scripts really do. This output says that compiler is fpc-2.4.2. QuoteFree Pascal Compiler version 2.4.2-0 [2010/11/11] for i386 Copyright (c) 1993-2010 by Florian Klaempfl Target OS: Linux for i386 ..... Of course, you need binary compiler to compile newer version of fpc from sources. There is a rule that you should use the latest stable fpc (or another newer SVN). In this case, you should have fpc 2.4.4 and you can use it for compiling sources 2.5.1 to gain fpc-2.5.1. Then you install fpc 2.5.1 to your system (sudo make install) and you can use it to compile Lazarus. ---------------------------------------------------------------------- Fred vS · 2011-07-22 20:48 @ Mr Blaazen QuoteOf course, you need binary compiler to compile newer version of fpc from sources. There is a rule that you should use the latest stable fpc (or another newer SVN). In this case, you should have fpc 2.4.4 and you can use it for compiling sources 2.5.1 to gain fpc-2.5.1. Then you install fpc 2.5.1 to your system (sudo make install) and you can use it to compile Lazarus. I totally agree with you  I have updated to fpc-2.5.1. Of course i have to install fpc-2.5.1 before Lazarus. Now, everything is upgraded, i have recompiled my prog with that brand new fpc-2.5.1. First change i see : miXimum compiled with fpc-2.4.2 was 5.0 megas. Compiled with fpc-2.5.1 is 5.4 megas  Now for the run... At the moment it plays without problem for  45 minutes. ( i cross my fingers  ) I hope that with the new fpc version it gonna resolve the problem i have noted with fpc-2.4.2 for Linux : after +- 1 hour playing, the application become slower, the timers are slower, everything respond slower. The same code compiled with fpc-2.4.2 in Windows and OSX do not have that problem. Thanks ---------------------------------------------------------------------- Fred vS · 2011-07-22 21:20 Quotebrowserdetection.inc(44,10) Warning: Symbol "CommandLine" is deprecated Doctor, is it dangerous ? ---------------------------------------------------------------------- Blaazen · 2011-07-22 21:35 Quotebrowserdetection.inc(44,10) Warning: Symbol "CommandLine" is deprecated It means that symbol "CommandLine" was replaced with other symbol and probably will not be supported in future versions and maybe will be removed. If you use this symbol somewhere in your project then you should search for actual replacement. Warning are not dangerous. ---------------------------------------------------------------------- Fred vS · 2011-07-22 22:42 QuoteNow for the run... At the moment it plays without problem for  45 minutes. ( i cross my fingers  ) I hope that with the new fpc version it gonna resolve the problem i have noted with fpc-2.4.2 for Linux : after +- 1 hour playing, the application become slower, the timers are slower, everything respond slower. No, after one hour playing, i get the same problem, even with fpc-2.5.1     I gonna come back to fpc-2.4.2 to have same version installed in Windows