Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

mx-linux-17 5 years 6 months ago #12787

  • Vbxler
  • Vbxler's Avatar Topic Author
  • Visitor
  • Visitor
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

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

mx-linux-17 5 years 6 months ago #12788

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
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
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

mx-linux-17 5 years 6 months ago #12789

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
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.

mx-linux-17 5 years 6 months ago #12790

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4512
  • Thank you received: 1101
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
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Vbxler

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

Last edit: by Sternas Stefanos.

mx-linux-17 5 years 6 months ago #12793

  • Vbxler
  • Vbxler's Avatar Topic Author
  • Visitor
  • Visitor
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.

mx-linux-17 5 years 6 months ago #12794

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
Several years ago I have used Linux exclusively.
Also we use it in company. (Therefore my interest.)

Can you test this: www.cyberciti.biz/faq/linux-check-memory-usage/

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

Last edit: by Peter Heckert.

mx-linux-17 5 years 6 months ago #12807

  • Vbxler
  • Vbxler's Avatar Topic Author
  • Visitor
  • Visitor
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.

mx-linux-17 5 years 6 months ago #12809

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
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. ;-)

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

Last edit: by Peter Heckert.

mx-linux-17 5 years 5 months ago #12815

  • Vbxler
  • Vbxler's Avatar Topic Author
  • Visitor
  • Visitor
Maybe it helps someone, after creating a 2GB swap file,
the compiling of Codetyphone runs without any problems.

Thanks

Vbxler

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

mx-linux-17 5 years 5 months ago #12816

  • fredvs
  • fredvs's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 205
  • Thank you received: 1
> 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.

mx-linux-17 5 years 5 months ago #12819

  • Peter Heckert
  • Peter Heckert's Avatar
  • Visitor
  • Visitor
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!

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

Last edit: by Peter Heckert.
  • Page:
  • 1