Recent

Author Topic: [SOLVED] Can't find unit process used by RegisterFCL  (Read 9428 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3785
    • StrumPract is the musicians best friend
[SOLVED] Can't find unit process used by RegisterFCL
« on: July 22, 2011, 09:24:57 pm »
Hello everybody.

I have done a upgrade with :

Quote
cd /home/login/freepascal/fpc; svn update

and

Quote
cd /home/login/freepascal/lazarus; svn update

then

Quote
sudo ./create_fpc_deb.sh fpc /home/login/freepascal/fpc/

and

Quote
sudo ./create_fpc_deb.sh fpc-src /home/login/freepascal/fpc/

Everything OK, i have my fpc.deb and fpc-src.deb  ;D

But when i try to build Lazarus :

Quote
sudo ./create_lazarus_deb.sh append-revision

I get that sad messages :  :'(

Quote
Free 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/lazarus_build/usr/share/lazarus/0.9.31.31782/packager/registration »
make: *** [packager/registration] Erreur 2

What is the cure ?
« Last Edit: July 22, 2011, 09:34:57 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3785
    • StrumPract is the musicians best friend
Re: Can't find unit process used by RegisterFCL
« Reply #1 on: July 22, 2011, 09:33:57 pm »
Ooops, i get it  ;D

i must install first fpc-src.deb and fpc.deb before create lazarus.deb...

 ::)
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: Can't find unit process used by RegisterFCL
« Reply #2 on: July 22, 2011, 09:39:43 pm »
I don't know what your scripts really do.

This output says that compiler is fpc-2.4.2.
Quote
Free 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.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3785
    • StrumPract is the musicians best friend
Re: [SOLVED] Can't find unit process used by RegisterFCL
« Reply #3 on: July 22, 2011, 10:48:34 pm »
@ Mr Blaazen

Quote
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.

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


« Last Edit: July 22, 2011, 11:03:20 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Fred vS

  • Hero Member
  • *****
  • Posts: 3785
    • StrumPract is the musicians best friend
Re: [SOLVED] Can't find unit process used by RegisterFCL
« Reply #4 on: July 22, 2011, 11:20:00 pm »
Quote
browserdetection.inc(44,10) Warning: Symbol "CommandLine" is deprecated

Doctor, is it dangerous ?  :-\
« Last Edit: July 22, 2011, 11:27:20 pm by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

Blaazen

  • Hero Member
  • *****
  • Posts: 3241
  • POKE 54296,15
    • Eye-Candy Controls
Re: [SOLVED] Can't find unit process used by RegisterFCL
« Reply #5 on: July 22, 2011, 11:35:14 pm »
Quote
browserdetection.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.
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Fred vS

  • Hero Member
  • *****
  • Posts: 3785
    • StrumPract is the musicians best friend
Re: [SOLVED] Can't find unit process used by RegisterFCL
« Reply #6 on: July 23, 2011, 12:42:22 am »
Quote
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.

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  :'(
« Last Edit: July 23, 2011, 12:49:19 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

 

TinyPortal © 2005-2018