Welcome, Guest
Username: Password: Remember me
CodeTyphon FreeBSD, OpenBSD, NetBSD and DragonFly OSes Development, discussions and problems
  • Page:
  • 1

TOPIC:

[LAB] CodeTyphon on FreeBSD 10 9 years 11 months ago #5317

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
We test lab CodeTyphon ver 4.8 on
FreeBSD 10
with MATE Desktop

Some screens from CodeTyphon Installation and Build procedure:
1)-Copy, Unzip and give full "sudo" permissions to current user
su
nano  /usr/local/etc/sudoers
add to last line in /usr/local/etc/sudoers file
USER	ALL=(ALL) NOPASSWD: ALL
Defaults: USER timestamp_timeout=-1
2)-Install CodeTyphon
3)-Install "System Libraries" from CT installation script
4)-Build CodeTyphon (GTK2)
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Miquel Matas, fredvs

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on FreeBSD 10 9 years 11 months ago #5318

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
General Tests list for GTK2 (MATE) platform:
-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_BGRAbitmap and pl_BGRAueControls,
pl_Graphics32,
pl_VirtualTrees,
pl_ColorLib,
pl_ExControls,
pl_Opengl,
pl_PascalSCADA,
pl_GlassDocking,

some tools and the new "Update/Download lab CT version" functionality..
have fun...
PilotLogic Architect and Core Programmer
The following user(s) said Thank You: Miquel Matas, fredvs, kenlee

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5750

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Hello.
Is it possible to install CT on freeBSD with only Xorg installed ?
I have try witht the install.sh, but that script use "sudo" who is a Linux command.

If Linux-compatibility is needed, how to install Mate on freeBSD ?

Many thanks.

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

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5751

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks Sir
sudo is NOT only linux program CT use sudo on Linux, FreeBSD and Solaris OSes.

Now take a cup off anything you want :) ... to start

[A] Install FreeBSD 10 to your PC or VM.

-1) Download FreeBSD-10.0-RELEASE-i386-dvd1.iso or FreeBSD-10.0-RELEASE-amd64-dvd1.iso from FreeBSD Download page info
-2) Start FB installation but
----i ) On VM select to install end "Kernel Sources"
----ii) Add new "normal user" at installation procedure

[ B] Install MATE Desktop on FreeBSD 10

The new installed FreeBSD it's only "Terminal OS" so...

-1) Boot in to your new OS as "root" user.
-2) Open a terminal and execute: portsnap fetch extract update => to update and install FB Ports, (30 minutes) this is a log time process ....

-3) Execute pkg install nano => to install nano, answer "Yes" to any question (2 minutes)
-4) Execute pkg install sudo => to install sudo, answer "Yes" to any question (2 minutes)
-5) Execute pkg install xorg => to install xorg, answer "Yes" to any question (15 minutes)

-6) Execute pkg install gnome2 =>to install gnome2, answer "Yes" to any question (15 minutes)
-7) Execute pkg install gdm => to install GNOME2 Display Manager, answer "Yes" to any question (15 minutes)

-8) Execute pkg install mate => to install MATE Desktop, answer "Yes" to any question (15 minutes)

-9) Execute reboot => to Re-Boot your new OS

[C] Config your new OS FreeBSD 10

-1) Boot again as "root" user.
-2) Execute nano /etc/rc.conf and add to your FreeBSD configuration file (this is NOT Linux :whistle: )
dbus_enable=”YES”
hald_enable=”YES”
mouse_enable=”YES”

gnome_enable=”YES”
gdm_enable=”YES”

-3) Execute Ctrl+x to exit from nano and choose save (y/Y).
-4) Execute reboot => to Re-Boot your new OS

Now your FB box must open with gdm (GNOME2 Display Manager)

-4) Select MATE desktop
-5) Boot as "normal" user

[D] Install CT on FreeBSD 10
same as Linux...

-1) Download CT
-2) Extract zip file
-3) Execute su
-4) Execute nano /usr/local/etc/sudoers => to edit sudo configuration file
-5) Add at last line:
username	ALL=(ALL) NOPASSWD: ALL
Defaults: username timestamp_timeout=-1
-6) Execute: Ctrl+x to exit from nano, choose save (y/Y) and close the "root terminal"

-7) Open a new terminal
-8) Execute cd CodeTyphonIns
-9) Execute sh ./install.sh and select 0 to install CT

Finally on CT Setup:
i ) Select 0 to install System Libraries and
ii) Select 8 to Build ALL

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

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5752

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Yep, Sternas => Wow, many thanks for that clear explanation.

Everything goes ok till -6) Execute pkg install gnome2 => "gnome2 not found in repository...".

I decided then to try with pc-bsd and... everything goes easy and perfect...

Pc-bsd gives you the choice to install this desktops (and all is included in
package !):
- FluxBox
- Awesome
- Cinnamon
- FVWM
- Gnome3
- i3
- IceWN
- KDE4
- Lumina
- LXDE
- Mate
- OpenBox
- Ratpoison
- spectrwm
- WindowLab
- Window Maker
- XFCE4

The install was ok (but very loooong) and what super-good is that it recognize
that VirtualBox is used and install Guest additions too (no need of
connection, all is included in pc-bsd.iso)

After that, CT install => cd codetypnon => su => bash ./install.sh

Wow, Sternas, what a perfect job you have done, all is working with the right bsd-commands, all is installed ok (only problem for installing qt4pas library).

I will do some test and write you later.

Many, many, many thanks Sternas.

Fred

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

Last edit: by fredvs.

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5753

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Thanks and have fun Sir in FreeBSD Galaxy...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5754

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Oh, on PC-BSD to config sudo :

[C] Config your new OS FreeBSD 10

-4) Execute nano /usr/local/etc/sudoers.d/sudoers => to make an "empty continue" sudo configuration file
-5) Add :
username	ALL=(ALL) NOPASSWD: ALL
Defaults: username timestamp_timeout=-1

-6) Execute: Ctrl+x to exit from nano, choose save (y/Y) and close the "root terminal"
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

[LAB] CodeTyphon on FreeBSD 10 9 years 7 months ago #5756

  • fredvs
  • fredvs's Avatar
  • Visitor
  • Visitor
Super, all working like charm. ;)

Hum, very litle detail, when i run install.sh script, after su command, CT script gives a warning about root-user that is not the right way to do.
But without su command, script does not run...

Maybe you could hide that warning message for freeBSD, (or i missed something) because if i run it after su, the installation was perfect and i get a "Big IDE compiled OK" much faster than with Linux. ;)

I do not have try cross-compile yet, but till now, no problem, all is perfect.

Many thanks Sternas and big Wow.

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

  • Page:
  • 1