Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Mihini/Mihini Agent Linux build instructions"
< Mihini
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | = Minimum requirements = | + | == Minimum requirements == |
In order to build properly the C source code, you will need the following components to be installed: | In order to build properly the C source code, you will need the following components to be installed: | ||
− | * cmake (>= 2.8.3) | + | * <code>cmake</code> (>= 2.8.3) |
− | * gcc | + | * <code>gcc</code> |
− | * readline library (optional) | + | * <code>readline</code> library (optional) |
− | + | == Build == | |
− | < | + | <pre> |
− | + | $ bin/build.sh | |
− | </ | + | </pre> |
− | + | ||
− | < | + | <pre> |
− | + | $ cd build.default | |
− | + | </pre> | |
− | + | <pre> | |
− | </ | + | $ runtime/start.sh |
+ | </pre> | ||
− | + | For detailed explanations, see the following file http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/tree/README.md | |
− | + | == Run Mihini == | |
+ | Once you built , configured and started Mihini, you should see an output similar to : | ||
− | + | <pre> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
2012-08-24 17:21:42 GENERAL-INFO: ************************************************************ | 2012-08-24 17:21:42 GENERAL-INFO: ************************************************************ | ||
2012-08-24 17:21:42 GENERAL-INFO: Starting Mihini ... | 2012-08-24 17:21:42 GENERAL-INFO: Starting Mihini ... | ||
Line 94: | Line 44: | ||
2012-08-24 17:21:42 GENERAL-INFO: Module [DeviceManagement] initialized | 2012-08-24 17:21:42 GENERAL-INFO: Module [DeviceManagement] initialized | ||
2012-08-24 17:21:42 GENERAL-INFO: Mihini successfully initialized | 2012-08-24 17:21:42 GENERAL-INFO: Mihini successfully initialized | ||
− | </ | + | </pre> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Latest revision as of 10:36, 13 March 2013
Minimum requirements
In order to build properly the C source code, you will need the following components to be installed:
-
cmake
(>= 2.8.3) -
gcc
-
readline
library (optional)
Build
$ bin/build.sh
$ cd build.default
$ runtime/start.sh
For detailed explanations, see the following file http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/tree/README.md
Run Mihini
Once you built , configured and started Mihini, you should see an output similar to :
2012-08-24 17:21:42 GENERAL-INFO: ************************************************************ 2012-08-24 17:21:42 GENERAL-INFO: Starting Mihini ... 2012-08-24 17:21:42 GENERAL-INFO: Mihini: 8.0-DEV - Build: Unknown 2012-08-24 17:21:42 GENERAL-INFO: Lua VM: Lua 5.1.4 (+meta pairs/ipairs) (+patch-lua-5.1.4-3) 2012-08-24 17:21:42 GENERAL-INFO: System: Linux anzu 3.0.0-24-generic #40-Ubuntu SMP Tue Jul 24 15:38:25 UTC 2012 x86_64 2012-08-24 17:21:42 GENERAL-INFO: ************************************************************ 2012-08-24 17:21:42 GENERAL-INFO: Module [AssetConnector] initialized 2012-08-24 17:21:42 SHELL-INFO: Binding a shell server at address ?localhost, port 2000 2012-08-24 17:21:42 GENERAL-INFO: Module [Lua Shell] initialized 2012-08-24 17:21:42 GENERAL-INFO: Module [NetworkManager] initialized 2012-08-24 17:21:42 GENERAL-INFO: Module [Lua RPC] initialized 2012-08-24 17:21:42 GENERAL-INFO: Module [ServerConnector] initialized 2012-08-24 17:21:42 GENERAL-INFO: Module [DataManagement] initialized 2012-08-24 17:21:42 ASSCON-INFO: Connection received from asset [table: 0x9242d0] at '<local ipc=table: 0x8f33f0>:0' 2012-08-24 17:21:42 ASSCON-INFO: Asset registered, name="@sys", id=table: 0x9242d0. 2012-08-24 17:21:42 GENERAL-INFO: Module [DeviceManagement] initialized 2012-08-24 17:21:42 GENERAL-INFO: Mihini successfully initialized