Forum
× CodeTyphon Solaris and OpenIndiana OSes Development, discussions and problems

Question CodeTyphon on Solaris 11.3

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 3 weeks ago - 2 years 3 weeks ago #8471 by Sternas Stefanos
Sternas Stefanos created the topic: CodeTyphon on Solaris 11.3
We test Lab CodeTyphon ver 5.60 on
Oracle Solaris 11.3 ( info )


Some screens from CodeTyphon Installation and Build procedure:
(it's the same procedure with other Unixes (Linux, FreeBSD, MacOS etc)

1)-Give full "sudo" permissions to current user.
su
nano /etc/sudoers
add in /etc/sudoers file the line
USER	ALL=(ALL) NOPASSWD: ALL
Defaults timestamp_timeout=-1

2)-Download and Unzip CodeTyphonIns.zip
3)-Run installation script
cd CodeTyphonIns
sh ./install.sh

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

CodeTyphon Architect and Programmer
Last Edit: 2 years 3 weeks ago by Sternas Stefanos.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
2 years 3 weeks ago - 2 years 3 weeks ago #8472 by Sternas Stefanos
Sternas Stefanos replied the topic: CodeTyphon on Solaris 11.3
General CT tests list :

-CT System libraries installation (MultiArch)
-CT Installation
-CT Build All procedure (MultiArch)
-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_ExControls,,
pl_AsphyreSphinx (yes on Solaris)
pl_BGRAbitmap, pl_BGRAcontrols,
pl_Graphic32 (yes on Solaris)
pl_VampyreImaging (yes on Solaris)
pl_Orca,
pl_GLScene,
pl_Orca3D
etc...

CodeTyphon Architect and Programmer
Last Edit: 2 years 3 weeks ago by Sternas Stefanos.

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

More
9 months 13 hours ago #10548 by Raúl
Raúl replied the topic: CodeTyphon on Solaris 11.3
Hello,

I had recently updated from 11.2 to 11.3 and decided to install CT 6.00 but I'm having the same problem than with the prior versions I tried. For some reason, the installation script is unable to build the Big IDE and only builds the small one.

The output of the installation script is this:
(...)
(3104) Compiling useunitdlg.pas
(3104) Compiling findoverloadsdlg.pas
(3104) Compiling editorfilemanager.pas
(3104) Compiling cleandirdlg.pas
(3104) Compiling showdeletingfilesdlg.pas
(3104) Compiling compatibilityrestrictions.pas
(3104) Compiling restrictionbrowser.pas
(3104) Compiling projectwizarddlg.pas
(3104) Compiling sourcefilemanager.pas
(3104) Compiling diskdiffsdialog.pas
(3104) Compiling ct_mprojecteditor.pas
(3104) Compiling ct_popuppkgs.pas
/usr/local/codetyphon/typhon/ide/ct_popuppkgs.pas(253,7) Note: (5025) Local variable "xfile" not used
/usr/local/codetyphon/typhon/ide/ct_popuppkgs.pas(18,3) Hint: (5023) Unit "TreeFilterEdit" not used in ct_popuppkgs
(3104) Compiling ct_popupcomppages.pas
/usr/local/codetyphon/typhon/ide/ct_popupcomppages.pas(201,8) Note: (5027) Local variable "xPageIndex" is assigned but never used
/usr/local/codetyphon/typhon/ide/ct_popupcomppages.pas(203,10) Note: (5025) Local variable "ss1" not used
/usr/local/codetyphon/typhon/ide/ct_popupcomppages.pas(39,5) Note: (5029) Private field "TDlgPopupCompPages.fDirForPkgs" is never used
/usr/local/codetyphon/typhon/ide/ct_popupcomppages.pas(16,36) Hint: (5023) Unit "TreeFilterEdit" not used in ct_popupcomppages
(3104) Compiling ./frames/ct_desktop_options_extra.pas
/usr/local/codetyphon/typhon/ide/./frames/ct_desktop_options_extra.pas(18,44) Hint: (5023) Unit "IDEUtils" not used in ct_desktop_options_extra
(3104) Compiling ./frames/ct_embedded_designer_settings.pas
/usr/local/codetyphon/typhon/ide/ct_main.pp(1023,27) Warning: (4104) Implicit string type conversion from "AnsiString" to "WideString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1023,53) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1024,26) Warning: (4104) Implicit string type conversion from "AnsiString" to "WideString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1024,51) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1025,28) Warning: (4104) Implicit string type conversion from "AnsiString" to "UnicodeString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(1025,67) Warning: (4105) Implicit string type conversion with potential data loss from "UnicodeString" to "AnsiString"
/usr/local/codetyphon/typhon/ide/ct_main.pp(7453,19) Warning: (5033) Function result does not seem to be set
(9022) Compiling resource /usr/local/codetyphon/typhon/units/x86_64-solaris/gtk2/typhon.or
(9015) Linking ../typhon
/usr/lib/amd64/libGL.so: undefined reference to `XMissingExtension@SUNW_1.1'
/usr/local/codetyphon/typhon/ide/typhon.pp(134,1) Error: (9013) Error while linking
/usr/local/codetyphon/typhon/ide/typhon.pp(134,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
gmake[2]: *** [typhon] Error 1
gmake[1]: *** [ide] Error 2
gmake: *** [ide] Error 2
Error: /usr/local/codetyphon/fpc/fpc64/bin/x86_64-solaris/ppcx64 returned an error exitcode
gmake[2]: Leaving directory `/usr/local/codetyphon/typhon/ide'
gmake[1]: Leaving directory `/usr/local/codetyphon/typhon/ide'
gmake: Leaving directory `/usr/local/codetyphon/typhon'
Error: (IDE) Construir IDE: 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-solaris-gtk2 NOT Build
??????????????????????????????????????????????????????????

====================================================
CodeTyphon Studio 6.00 Setup for SunOS64
Settings: Platform=gtk2 Multiarch Mode=1
====================================================

0) Install System Libraries
1) Run CodeTyphon Center (CTC)

11) -- Platform (widget) Setup
12) -- Multi-Architecture Setup

3) Remove FreePascal
4) Remove and Build FreePascal

5) Remove Typhon IDE
6) Remove and Build Typhon IDE

7) Remove ALL
8) Remove and Build ALL

9) EXIT

>>> Select an action (press 0..9 key):

I think I followed all the steps described in the wiki to build CT. Is this related with pl_GLScene? How can I compile CT without an specific library or component? i.e: Imagine I want to build Big IDE without pl_Orca.


regards,
Raúl

Raúl,

Eternal Student

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

More
9 months 12 hours ago - 9 months 12 hours ago #10549 by Matis A.
Matis A. replied the topic: CodeTyphon on Solaris 11.3
Did you install "System libraries" ?
more info please: host memory etc

CodeTyphon Core Programmer
Last Edit: 9 months 12 hours ago by Matis A..

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

More
8 months 4 weeks ago #10564 by Raúl
Raúl replied the topic: CodeTyphon on Solaris 11.3
Yes, I installed the system libraries with the '0' menu option. I didn't get any error message at this point.

Under Linux/BSD I've been able to compile GTK2/QT4 and QT5 versions for the IDE (small and big) without problems.

Host info:

SunOS 5.11
Solaris 11.3 X86
AMD FX-6300
16GB RAM
Nvidia GT210 (using legacy drivers, package locked to prevent further upgrades), 3 screens, xinerama.
650GB freespace.

System fully up to date.
If you need more concrete info please let me know.

regards

Raúl,

Eternal Student
Attachments:

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
8 months 4 weeks ago - 8 months 4 weeks ago #10565 by Sternas Stefanos
Sternas Stefanos replied the topic: CodeTyphon on Solaris 11.3
Sir
the problem (I think) is from libGL.so library.

My suggestion is to try build
1) first, Typhon 64 Small IDE, not need libGL.so library
2)and then Typhon 64 Big IDE with CTCenter, need libGL.so for all OpenGL libraries

Please, post here the CTCenter Action log (zip first)

Here, CT on Solaris works OK


PS : Do you use VM ?

CodeTyphon Architect and Programmer
Attachments:
Last Edit: 8 months 4 weeks ago by Sternas Stefanos.

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

More
8 months 3 weeks ago - 8 months 3 weeks ago #10568 by Raúl
Raúl replied the topic: CodeTyphon on Solaris 11.3
Hello,

I agree and I also think that the problem might be here:

(9015) Linking ../typhon
/usr/lib/amd64/libGL.so: undefined reference to `XMissingExtension@SUNW_1.1'
/usr/local/codetyphon/typhon/ide/typhon.pp(134,1) Error: (9013) Error while linking
/usr/local/codetyphon/typhon/ide/typhon.pp(134,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted

... no clue on how to fix this. Any advice is wellcomed.

libGL.so is provided by the system or it belongs to the nVidia driver?


I run Solaris in a local real machine, not a VM. Maybe I shall try a fresh Solaris 11.3 installation in a virtual machine and see if I can compile CT?

By the way, it is possible for PilotLogic to create a binary distro of CT+IDE ready to run for each platform, may I ask? :-)

My suggestion is to try build
1) first, Typhon 64 Small IDE, not need libGL.so library
2)and then Typhon 64 Big IDE with CTCenter, need libGL.so for all OpenGL libraries

Please, post here the CTCenter Action log (zip first)


Ok, I am going to try it later and post the results.

thanks,


P.S:

I would also like - now that I have the chance - to thank PilotLogic and it's community for their efforts on creating such a really great development tool, I really love it. I am a former Lazarus user.
Thank you guys!

Raúl,

Eternal Student
Last Edit: 8 months 3 weeks ago by Raúl.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
8 months 3 weeks ago - 8 months 3 weeks ago #10571 by Sternas Stefanos
Sternas Stefanos replied the topic: CodeTyphon on Solaris 11.3
Thanks Sir
please try to build Custom Typhon BigIDE with out OpenGL libraries like
-pl_GLScene
-pl_ORCA3D
etc..

-build Typhon32 small IDE CTCenter=>Typhon-IDE=>Typhon 32, Build Small IDE
-open the new Typhon32 Small IDE, select only the packages you need info
-and rebuild IDE

it is possible for PilotLogic to create a binary distro of CT+IDE ready to run for each platform, may I ask?


We are NOT ready for this Sir.

For your information

CT Disk Side:
-CodeTyphon on MS Windows 10 MultiArch (Typhon32 + Typhon64)= 5.6 GBytes on Disk
-CodeTyphon on Solaris 11.3 MultiArch (Typhon32 + Typhon64)= 4.9 GBytes on Disk
-CodeTyphon on Fedora 25 MultiArch (Typhon32 + Typhon64)= 5.1 GBytes on Disk

and we must create different installations for Debian 8.x, RedHat , ArchLinux etc...
only for GTK2 platform.

The Same for FreeBSD: one installation for GTK2 one for QT4 and one for QT5

Chaos (Χάος) :(

CodeTyphon Architect and Programmer
Last Edit: 8 months 3 weeks ago by Sternas Stefanos.

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