Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
installingonminix [2013/06/01 01:17]
sanel created
installingonminix [2015/10/03 14:54] (current)
Line 3: Line 3:
 ===== Introduction ===== ===== Introduction =====
  
-[[http://​www.minix3.org | Minix]] is UNIX-like operating system and +[[http://​www.minix3.org | Minix]] is a ''​UNIX''​-like operating system and was an inspiration for the ''​Linux'' ​kernel. It is intended to be run on computers ​with limited resources ​(like embedded devices) or for applications ​which require ​high reliability.
-was inspiration for Linux kernel. It is intended to be run on resource +
-limited ​computers (like embedded devices) or for applications +
-requiring ​high reliability.+
  
-This tutorial shows how to install and configure latest EDE version ​on +This tutorial shows how to install and configure ​the latest ​version of ''​EDE'' ​on ''​Minix''​A version ​greater than //3.2.1// or any recent [[http://​www.minix3.org/​iso/​snapshot/​ | development snapshot]] ​is assumed as the system to install ''​EDE''​ on. Also be aware that this are generic installation instructions. For system tuning or advanced configuration,​ please contact ​the ''​Minix'' ​community.
-Minix. ​For this tutorial it is assumed Minix greater than +
-3.2.1. version ​or any recent +
-[[http://​www.minix3.org/​iso/​snapshot/​ | development snapshot]]. Also+
-be aware how these are generic installation instructions ​and for +
-system tuning or advanced configuration,​ please contact Minix +
-community.+
  
-:!: If you are going to install Minix on %%VirtualBox%%,​ either avoid +:!: **Note:​** ​If you are going to install ​''​Minix'' ​on ''​%%VirtualBox%%''​, either avoid versions //3.2.0// and //3.2.1// or try to use development snapshot; there is a bug in these versions ​which will prevent ​to start X11.
-Minix 3.2.0 and 3.2.1 versions ​or try to use development snapshot; +
-there is a bug in these versions ​and you will not be able to start +
-X11.+
  
 ===== System Prerequisites ===== ===== System Prerequisites =====
  
-In case you have already configured OS (e.g. installed ​xorg and C++ +In case you have already configured ​your OS (e.g. installed ​Xorg and C++ compiler) you may skip the following section.
-compilerskip the following section).+
  
-Assuming you are running as root, first update package database and +Assuming you are running as root, first update ​the package database and install X11. ''​Minix'' ​comes with the ''​Clang''​ compiler by default ​and both ''​FLTK'' ​and ''​EDE'' ​can be compiled with it, so you don't have to install ​''​GCC'' ​unless you have specific ​reasons for using that.
-install X11. Minix comes by default ​with Clang and FLTK and EDE can be +
-compiled with it, so you don't have to install ​gcc, unless you have +
-specific ​reason.+
  
-We are also downloading additional tools and libraries, like cURL (to +The next step is downloading additional tools and libraries, like cURL (to download source archives) and pkg-config (used during the build process).
-download source archives) and pkg-config (used by build process).+
  
 <​code>​ <​code>​
Line 39: Line 22:
 </​code>​ </​code>​
  
-:!: FLTK and EDE can be compiled without Xft support (font +:!: **Note:** ''​FLTK'' ​and ''​EDE'' ​can be compiled without ​//Xft// support (font antialiasing) minimizing ​the overall library usage; just omit //​freetype2//​ and //​fontconfig//​ from command ​above.
-antialiasing) minimizing overall library usage; just drop +
-//​freetype2//​ and //​fontconfig//​ from above command.+
  
 ====== Enabling shared libraries ====== ====== Enabling shared libraries ======
  
-Minix by default ​does not have shared library support on versions <= +''​Minix'' ​does not come with shared library support ​by default ​on versions ​//%%<=%%3.2.1// and this is major issue because //​ede-panel//​ (desktop panel) 
-3.2.1 and this is major issue because //​ede-panel//​ (desktop panel) +loads all widgets/​applets from shared libraries (.so files via //​dlopen//​).
-loads all widgets/​applets from shared libraries (.so files via +
-//​dlopen//​).+
  
-To enable it, follow +To enable it, follow [[http://​wiki.minix3.org/​en/​UsersGuide/​UsingSharedLibraries | these instructions]];​ 
-[[http://​wiki.minix3.org/​en/​UsersGuide/​UsingSharedLibraries | these instructions]];​ +shared libraries are enabled by default on latest ​''​Minix'' ​development snapshots or versions ​//>3.2.1//.
-shared libraries are enabled by default on latest +
-Minix development snapshots or versions > 3.2.1.+
  
 ====== Installing DBus ====== ====== Installing DBus ======
  
-Minix use [[http://​pkgsrc.se | pkgsrc]] for downloading and compiling +''​Minix''​ uses [[http://​pkgsrc.se | pkgsrc]] for downloading and compiling packages from source code so this is the best place to obtain ''​DBus''​. Stock ''​DBus'' ​(official release) can't be compiled on Minix, so you have to use patched version available only in //pkgsrc//.
-packages from source code so this is the best place to compile +
-DBus. Stock DBus (official release) can't be compiled on Minix, so you +
-have to use patched version available only in //pkgsrc//.+
  
-Because DBus is a big obstacle on Minix (depends on lot external libraries +Because ​''​DBus'' ​is a big obstacle on ''​Minix'' ​(it depends on lot of external libraries ​which ''​pkgsrc'' ​will have to pull), ​''​EDE'' ​and ''​edelib'' ​can be compiled ​//without ​''​DBus'' ​support//. However, this feature ​was just recently added and is available //only on repository// ​right now. To compile ​''​EDE'' ​and ''​edelib'' ​without ​''​DBus''​, just add **--disable-dbus** to ''​edelib'''​s ​configure script, like this:
-pkgsrc will pull), EDE and edelib can be compiled without DBus +
-support. However, this feature ​is recently added in EDE and is +
-available ​for now //only on repository//​. To compile EDE and edelib +
-without DBus, just add **--disable-dbus** ​flag to edelib configure +
-script, like:+
  
 <​code>​ <​code>​
Line 73: Line 42:
 </​code>​ </​code>​
  
-edelib will be compiled without DBus and EDE code will automatically +''​edelib'' ​will then be compiled without ​''​DBus'' ​and ''​EDE'''​s ​code will automatically pick up this option.
-pick this change.+
  
 ====== Installing FLTK ====== ====== Installing FLTK ======
  
-FLTK also can be compiled from //pkgsrc//, but for purpose of this +''​FLTK'' ​also can be compiled from ''​pkgsrc''​, but for purpose of this tutorial we will compile it from source code. These commands will do it:
-tutorial we will compile it from source code. These commands will +
-do it:+
  
 <​code>​ <​code>​
Line 90: Line 56:
 </​code>​ </​code>​
  
-If you are using Clanginstead of gcc, open //​makeinclude//​ file in FLTK source directory, find //CXX// variable and +If you are using ''​Clang'' ​instead of ''​GCC''​, open the //​makeinclude//​ file in ''​FLTK'''​s ​source directory, find the //CXX// variable and 
-change it, so instead+change it, so that instead ​of
  
 <​code>​ <​code>​
Line 97: Line 63:
 </​code>​ </​code>​
  
-it have:+it reads:
  
 <​code>​ <​code>​
Line 103: Line 69:
 </​code>​ </​code>​
  
-This is a bug inside ​Minix autoconf package.+This is necessary due to a bug in ''​Minix'''​s ​autoconf package.
  
 Now run: Now run:
Line 111: Line 77:
 </​code>​ </​code>​
  
-:!: You don't have to use exact FLTK version, but make sure to use one +:!: **Note:​** ​You don't have to use the ''​FLTK'' ​version ​which was chosen here, but make sure to use one of the //1.3.x// versions.
-of 1.3.x versions. +
Print/export