Welcome, Guest
Username: Password: Remember me
CodeTyphon Solaris and OpenIndiana OSes Development, discussions and problems
  • Page:
  • 1

TOPIC:

CodeTyphon on Solaris 11.3 9 years 1 month ago #8471

  • 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 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.
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CodeTyphon on Solaris 11.3 9 years 1 month ago #8472

  • 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 (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...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CodeTyphon on Solaris 11.3 7 years 9 months ago #10548

  • Raúl Campos
  • Raúl Campos's Avatar
  • Visitor
  • Visitor
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

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

CodeTyphon on Solaris 11.3 7 years 9 months ago #10549

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1114
  • Thank you received: 165
Did you install "System libraries" ?
more info please: host memory etc
PilotLogic Core Programmer

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

Last edit: by Matis A..

CodeTyphon on Solaris 11.3 7 years 9 months ago #10564

  • Raúl Campos
  • Raúl Campos's Avatar
  • Visitor
  • Visitor
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

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

CodeTyphon on Solaris 11.3 7 years 9 months ago #10565

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

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

Last edit: by Sternas Stefanos.

CodeTyphon on Solaris 11.3 7 years 9 months ago #10568

  • Raúl Campos
  • Raúl Campos's Avatar
  • Visitor
  • Visitor
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!

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

Last edit: by Raúl Campos.

CodeTyphon on Solaris 11.3 7 years 9 months ago #10571

  • 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
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 (Χάος) :(
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1