Welcome, Guest
Username: Password: Remember me
CodeTyphon Linux OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

[LAB] CodeTyphon on CentOS 6.4 11 years 1 month ago #4668

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
We test lab CodeTyphon ver 4.60 on
CentOS 6.4 ( info ) Linux distribution,
with old Gnome2 Desktop.

Some screens from CodeTyphon Installation and Build procedure:
1)-Copy, Unzip CodeTyphonIns.zip
3)-Give full "sudo" permissions to current user.
USER	ALL=(ALL) NOPASSWD: ALL
and comment out this line
#Defaults requiretty

4)-Install "System Libraries" from CT installation script.
5)-Install and Build Typhon IDE.

and programming tests...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on CentOS 6.4 11 years 1 month ago #4669

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
General CT tests list:

-CT System libraries installation
-CT Installation
-CT Build All procedure
-CT Update procedure
-CT ToolChains download procedure
-FreePascal compiler tests
-Typhon IDE tools tests
-CodeOcean samples tests

Some CodeOcean tests screens for CT libraries:

pl_AGGPas,
pl_BGRAbitmap, pl_BGRAcontrols,
pl_ColorLib,
pl_ExControls,
pl_Graphics32,
pl_VirtualTrees
pl_ZenGL,
pl_OpenGL,
pl_GlassDocking,

have fun...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Miquel Matas

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

[LAB] CodeTyphon on CentOS 6.4 10 years 4 months ago #5745

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
As shown www.pilotlogic.com/sitejoom/ and www.pilotlogic.com/sitejoom/index.php/ar...379-ct-on-centos-6-4, the latest CodeTyphon is tested against CentOS 6. I am wondering whether you could also test against CentOS 5 ? Many thanks !

The reason is that I would think an binary executable compiled and linked by CodeTyphon on older CentOS has better compatibility than on newer CentOS.

PS: The CodeTyphon 4.92 on CentOS 5.10 complains about libgtkglext1*.
----------------------------------------------------
   CodeTyphon Try to Fix Links for SysLibraries
----------------------------------------------------
..........................................
[INFO] Libraries Directory: /usr/lib64
..........................................
   [ERROR] /usr/bin/qmake NOT Exists ???, can't make symlink for: qmake-qt4
   [ OK ] /usr/lib64/libc.so Exists 
   [ OK ] /usr/lib64/libdl.so Exists 
   [ OK ] /usr/lib64/libpthread.so Exists 
   [ OK ] /usr/lib64/libX11.so Exists 
   [ OK ] /usr/lib64/libgdk_pixbuf-2.0.so Exists 
   [ OK ] /usr/lib64/libgtk-x11-2.0.so Exists 
   [ OK ] /usr/lib64/libgdk-x11-2.0.so Exists 
   [ERROR] /usr/lib64/libgobject-2.0.so.0 NOT Exists ???, can't make symlink for: libgobject-2.0.so
   [ERROR] /usr/lib64/libglib-2.0.so.0 NOT Exists ???, can't make symlink for: libglib-2.0.so
   [ERROR] /usr/lib64/libgthread-2.0.so.0 NOT Exists ???, can't make symlink for: libgthread-2.0.so
   [ERROR] /usr/lib64/libgmodule-2.0.so.0 NOT Exists ???, can't make symlink for: libgmodule-2.0.so
   [ OK ] /usr/lib64/libpango-1.0.so Exists 
   [ OK ] /usr/lib64/libcairo.so Exists 
   [ OK ] /usr/lib64/libatk-1.0.so Exists 
   [ OK ] /usr/lib64/libXtst.so Exists 
   [ OK ] /usr/lib64/libpangocairo-1.0.so Exists 
   [ OK ] /usr/lib64/libGL.so Exists 
   [ OK ] /usr/lib64/libGLU.so Exists 
   [ OK ] /usr/lib64/libfreetype.so Exists 
   [ OK ] /usr/lib64/libXxf86vm.so Exists 
   [ERROR] /usr/lib64/libgtkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgtkglext-x11-1.0.so
   [ERROR] /usr/lib64/libgdkglext-x11-1.0.so.0 NOT Exists ???, can't make symlink for: libgdkglext-x11-1.0.so
   [ OK ] /usr/lib64/libz.so Exists 
----------------------------------------------------
CodeTyphon Fix Links for SysLibraries
Finish !!!
_______________________________________________________________
 
Terminate Action at 28-7-14 16:47:33
Total time: 00:00:39.042
ExitCode : 0

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

Last edit: by xichen li.

[LAB] CodeTyphon on CentOS 6.4 10 years 4 months ago #5746

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Thanks Sir
and this is our dilemma "New or Old OSes"
on Linux we have many changes
"Fix Links for SysLibraries" (ln1_SysLibraries_Make_Links.sh) is a new script ( CT ver 4.92 )
we will make-it better, always with your help...
PilotLogic Architect and Core Programmer

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

[LAB] CodeTyphon on CentOS 6.4 10 years 4 months ago #5748

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Thank you for your comments !

About the "New or Old OSes" dilemma: (1) because an binary executable can be dependant on system libc, for example when cthreads is used, I thought that an binary executable compiled and linked against Old libc has better compatibility than against new libc. (2) CentOS 5 will be maintained till 31 March 2017 and thus hardly old.

About "we will make-it better, always with your help...", what could one do to help ?

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

Last edit: by xichen li.

[LAB] CodeTyphon on CentOS 6.4 10 years 4 months ago #5749

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Update or Recreate "ln1_SysLibraries_Make_Links.sh" to work and on CentOS 5
PilotLogic Architect and Core Programmer

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

[LAB] CodeTyphon on CentOS 6.4 10 years 3 weeks ago #6279

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0

File Attachment:

File Name: centos.zip
File Size:6 KB

Concerning CodeTyphon 5.1 on CentOS 5.11 x86, please see the three updated script files. You can search for "# CentOS 5.11 x86" to locate for the changes. Now all the specified libraries can be found.

However, there are new problems. It seems that the GTK2-related components require more advanced versions of cairo and pango.
/usr/lib/codetyphon/typhon/components/pl_Abbrevia/lib/i386-linux/gtk2/AbUtils.o: In function `ABUTILS_$$_ABGETTEMPFILE$ANSISTRING$BOOLEAN$$ANSISTRING': AbUtils.pas:(.text.n_abutils_$$_abgettempfile$ansistring$boolean$$ansistring+0x90): warning: the use of `mktemp' is dangerous, better use `mkstemp'
/usr/lib/codetyphon/typhon/components/cairocanvas/lib/i386-linux/gtk2/cairocanvas.o: In function `CAIROCANVAS$_$TCAIROPRINTERCANVAS_$__$$_GETCLIPRECT$$TRECT': cairocanvas.pas:(.text.n_cairocanvas$_$tcairoprintercanvas_$__$$_getcliprect$$trect+0x3a): undefined reference to `cairo_clip_extents'
/usr/lib/codetyphon/typhon/components/pl_lclextensions/lib/i386-linux/gtk2/delphicompat.o: In function `DELPHICOMPAT_$$_GETTEXTEXTENTEXPOINT$HDC$PCHAR$LONGINT$LONGINT$PINTEGER$PINTEGER$TSIZE$$LONGBOOL': delphicompat.pas:(.text.n_delphicompat_$$_gettextextentexpoint$hdc$pchar$longint$longint$pinteger$pinteger$tsize$$longbool+0xd6): undefined reference to `pango_extents_to_pixels'
/usr/lib/codetyphon/typhon/components/pl_ORCA/lib/i386-linux/gtk2/orca_scene2d.o: In function `ORCA_SCENE2D$_$TD2CANVASCAIRO_$__$$_FILLTEXT$crc09BAD3A7': orca_scene2d.pas:(.text.n_orca_scene2d$_$td2canvascairo_$__$$_filltext$crc09bad3a7+0x281): undefined reference to `pango_layout_set_height'
/usr/lib/codetyphon/typhon/components/pl_ORCA/lib/i386-linux/gtk2/orca_scene2d.o: In function `ORCA_SCENE2D$_$TD2CANVASCAIRO_$__$$_MEASURETEXT$crcFFFCACDD': orca_scene2d.pas:(.text.n_orca_scene2d$_$td2canvascairo_$__$$_measuretext$crcfffcacdd+0x214): undefined reference to `pango_layout_set_height'
/usr/lib/codetyphon/typhon/components/pl_ORCA/lib/i386-linux/gtk2/orca_scene2d.o: In function `ORCA_SCENE2D$_$TD2CANVASCAIRO_$__$$_TEXTTOPATH$crc75380428': orca_scene2d.pas:(.text.n_orca_scene2d$_$td2canvascairo_$__$$_texttopath$crc75380428+0x210): undefined reference to `pango_layout_set_height'
typhon.pp(249,1) Error: Error while linking
typhon.pp(249,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [typhon] Error 1
make[2]: Leaving directory `/usr/lib/codetyphon/typhon/ide'
make[1]: *** [bigide] Error 2
make[1]: Leaving directory `/usr/lib/codetyphon/typhon/ide'
make: *** [idebig] Error 2
   
 ------------------------------------------------------
   
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 BIG IDE NOT Build
??????????????????????????????????????????????????????

Attempts to provide the required higher versions of cairo (>=1.4.x) and pango (>1.20.x) have failed. The reason is that pango 1.20.x requires glib 2.14.x, a vanilla installation of which breaks CentOS 5.

Could you help to comment on the possible workaround ? For example, could you help to refactor GTK2-related components to remove their requirements of advanced cairo and pango, because it seems that only a small portion of functionalities has been referenced ? If not possible, could you help to provide a way to build a Typhon BigIDE without these non-compatible components ?
Attachments:

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

Last edit: by xichen li.

[LAB] CodeTyphon on CentOS 6.4 10 years 3 weeks ago #6280

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
First: we know what CentOS is for Linux Web Servers.
About 90% of Linux web Server at this time use CentOS 5.0 or CentOS 6.0 and this is a fact.
Yes, perhaps because it has the support of DirectAdmin, cPanel etc Web Control Panels

Second: Desktop Linux is an other Story.
CT is Virtual programing Studio so we want a Desktop OS for programming.

CentOS has a BIG problem with Desktop Libraries (X11, etc).

At CentOS ver 7.0 Lab test we install "gtkglext" library from Fedora 20 pkg system
and this is NOT acceptable for a Desktop Linux Distribution

Anyway you can:
a)-Use Fedora 20 (*****)
b)-Use CentOS ver 7.0 (**)
c)-Build Small-IDE in your CentOS 5.11, open Typhon Small IDE remove pkgs with missing libraries like orca and rebuild IDE (??)

:)
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on CentOS 6.4 10 years 3 weeks ago #6285

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0

sternas wrote: Anyway you can:
a)-Use Fedora 20 (*****)
b)-Use CentOS ver 7.0 (**)
c)-Build Small-IDE in your CentOS 5.11, open Typhon Small IDE remove pkgs with missing libraries like orca and rebuild IDE (??)

:)


Thank you very much for your knowledgeable comments !

Our linux boxes are based on CentOS 5. Therefore, Fedora 20 or CentOS 7 cannot be used as the developing OS because of potential compatibility issues.

I do not understand your suggestion c) very well... :
(1) Do you mean I can build Big-IDE (without *orca*) from Small-IDE ?
(2) What is the official whitepaper about the difference between Big-IDE and Small-IDE ?

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

[LAB] CodeTyphon on CentOS 6.4 10 years 3 weeks ago #6286

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Small has NO pkgs
Big has ALL pkgs
PilotLogic Architect and Core Programmer

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

[LAB] CodeTyphon on CentOS 6.4 10 years 2 weeks ago #6289

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0

sternas wrote: Small has NO pkgs
Big has ALL pkgs


After
??????????????????????????????????????????????????????
[ERROR]: Sorry, Typhon32 BIG IDE NOT Build
??????????????????????????????????????????????????????
, apparently there are some packages in Typhon. It is thus an "imediate-mode" IDE ?

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

[LAB] CodeTyphon on CentOS 6.4 10 years 2 weeks ago #6292

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sorry Sir
your OS is very old (release date : 07-Feb-2008)
I can't help
PilotLogic Architect and Core Programmer

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

[LAB] CodeTyphon on CentOS 6.4 10 years 2 weeks ago #6294

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I see. Thank you for your time and kindness very much !

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

[LAB] CodeTyphon on CentOS 6.4 10 years 2 weeks ago #6342

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
I have installed CodeTyphon 5.10 multiArch on CentOS 5.11 x64.

Right after the OS was installed, the small IDE works ok.

However, suddenly something strange happened. Whenever I typed the letter m in the typhon IDE, the typhon IDE interpreted the letter m as a new line character. I thought it was related to the video driver. But uninstalling the video driver did not help either.

In gedit or firefox, there is no such strange behavior. Could you help to comment how to find out what was wrong ?

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

[LAB] CodeTyphon on CentOS 6.4 10 years 2 weeks ago #6343

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4537
  • Thank you received: 1115
Sir
we must install CentOS 5.11 x64 in our lab first, we have only CentOS 7 x64
for next 2 days everyone here, will be working on MacOS CT layer
After this task we will test CT on CentOS 5.11 x64
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on CentOS 6.4 10 years 1 week ago #6347

  • xichen li
  • xichen li's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
Many thanks for your efforts ! I hope you can make multiArch Typhon BigIDE available on CentOS 5.

However, suddenly something strange happened. Whenever I typed the letter m in the typhon IDE, the typhon IDE interpreted the letter m as a new line character.


The strange behavior is caused by "yum install @Chinese support". Perhaps Typhon IDE does not play well with Scim-Chinese or Scim-GTK2...

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

  • Page:
  • 1