Forum

× Discussions for CodeTyphon Studio Installation and Setup.

Question mx-linux-17

  • Vbxler
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 weeks 6 days ago #12787 by Vbxler
mx-linux-17 was created by Vbxler
Hello pilotlogic,

should it be possible to install codetyphone on mx-linux-17?
I can install the small IDE, but with the big IDE the installation stops with the message:

/usr/local/codetyphon/typhon/ide/ct_main.pp(13967,3) Note: (6058) Call to subroutine "function GetDebugLogger:TLazLogger;" marked as inline is not inlined
(9022) Compiling resource /usr/local/codetyphon/typhon/units/x86_64-linux/gtk2/typhon.or
/usr/local/codet
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Error: (9030) Can't call the resource compiler "/usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/fpcres", switching to external mode
/usr/local/codetyphon/typhon/ide/typhon.pp(137,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
make[2]: *** [typhon] Error 1
make[1]: *** [ide] Error 2
make: *** [ide] Error 2
Error: /usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/ppcx64 returned an error exitcode
Makefile:4172: recipe for target 'typhon' failed
make[2]: Leaving directory '/usr/local/codetyphon/typhon/ide'
Makefile:4594: recipe for target 'ide' failed
make[1]: Leaving directory '/usr/local/codetyphon/typhon/ide'
Makefile:3287: recipe for target 'ide' failed
make: Leaving directory '/usr/local/codetyphon/typhon'
Error: (IDE) IDE erstellen: stopped with exit code 512
Error: (TyphonBuild) Building IDE: Building IDE failed.

[INFO]: make some links for Typhon64...
??????????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon64 BIG IDE x86_64-linux-gtk2 NOT Build
??????????????????????????????????????????????????????????

CPU: I7
RAM: 8GB
OS: mx-linux-17


Thanks for any help.


Vbxler
Attachments:

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 weeks 6 days ago - 3 weeks 6 days ago #12788 by Sternas Stefanos
Replied by Sternas Stefanos on topic mx-linux-17
Thanks Sir

From error log you post,
I think it's a memory (RAM) problem
Big Typhon IDE need >= 4 Gbytes RAM

Please check if mx-linux has true 8 Gbytes RAM
If NOT you can build Minimum Big IDE or Medium Big IDE more info

CodeTyphon Architect and Programmer
Last edit: 3 weeks 6 days ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
3 weeks 6 days ago #12789 by Peter Heckert
Replied by Peter Heckert on topic mx-linux-17
This is in german, possibly it helps:
www.lazarusforum.de/viewtopic.php?f=3&t=10083
libgtk2.0-dev was missing in this case and same error message.

Linux is tricky ;-)

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
3 weeks 6 days ago - 3 weeks 6 days ago #12790 by Sternas Stefanos
Replied by Sternas Stefanos on topic mx-linux-17
Yes but CT 6.6 has
the correct for mx-linux script to install and libgtk2.0-dev library,
( it's NOT Lazarus... :woohoo: )
IF the user install System Libraries

more info

CodeTyphon Architect and Programmer
Last edit: 3 weeks 6 days ago by Sternas Stefanos.
The following user(s) said Thank You: Vbxler

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 weeks 5 days ago #12793 by Vbxler
Replied by Vbxler on topic mx-linux-17
I have 8GB, that should be enough for the installation.
I can successfully compile the medium version.

Thanks for the hint.

Please Log in or Create an account to join the conversation.

More
3 weeks 5 days ago - 3 weeks 4 days ago #12794 by Peter Heckert
Replied by Peter Heckert on topic mx-linux-17
Several years ago I have used Linux exclusively.
Also we use it in company. (Therefore my interest.)

Can you test this: https://www.cyberciti.biz/faq/linux-check-memory-usage/
Last edit: 3 weeks 4 days ago by Peter Heckert.

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
3 weeks 3 days ago #12807 by Vbxler
Replied by Vbxler on topic mx-linux-17
Thanks for the link, the 8GB memory is displayed with the tools in Linux.
Maybe it's because I did not create a swap file?

But at the moment everything works fine with Codetyphone.
Really a great tool!

Please Log in or Create an account to join the conversation.

More
3 weeks 2 days ago - 3 weeks 2 days ago #12809 by Peter Heckert
Replied by Peter Heckert on topic mx-linux-17
Hello, I am not expert, but have some practical experiences.

I would add swap space for these reasons:

www.oracle.com/technetwork/articles/serv...-killer-1911807.html
haydenjames.io/linux-performance-almost-always-add-swap-space/
First try simple stuff. If it works than you can investigate why. ;-)
Last edit: 3 weeks 2 days ago by Peter Heckert.

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
2 weeks 6 days ago #12815 by Vbxler
Replied by Vbxler on topic mx-linux-17
Maybe it helps someone, after creating a 2GB swap file,
the compiling of Codetyphone runs without any problems.

Thanks

Vbxler
The following user(s) said Thank You: Peter Heckert

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago #12816 by fredvs
Replied by fredvs on topic mx-linux-17
> after creating a 2GB swap file,

AFAIK, for Linux, a minimal swap file must be >= amount of RAM.

Fre;D

Please Log in or Create an account to join the conversation.

More
2 weeks 6 days ago - 2 weeks 6 days ago #12819 by Peter Heckert
Replied by Peter Heckert on topic mx-linux-17
A swap partition >= physical RAM is required, if Hibernation (Suspend to disc) is used.
Also for servers and so on.

If a system is used as a desktop, where the swap is rarely used, a swap file should suffice as an emergency reserve.
BTW, on windows I have watched memory usage during compiling the big IDE.
The required total RAM is less than 2.5GB in peak situations.
It can however be that additional RAM is needed for memory mapped files or disc buffers. (I believe, I dont know)

Have fun!
Last edit: 2 weeks 6 days ago by Peter Heckert.

Please Log in or Create an account to join the conversation.