Om2m building on Raspberry pi board [message #1649690] |
Wed, 04 March 2015 13:01 |
Ravi Teja Messages: 13 Registered: February 2015 |
Junior Member |
|
|
Hi
I installed all the binaries and also Prerequisites required for building OM2M in Raspberry pi,after cloning and typing mvn clean install it is showing build failure.
org.eclipse.om2m :: parent ........................ SUCCESS [10.515s]
[INFO] org.eclipse.om2m :: commons ....................... SUCCESS [1:18.385s]
[INFO] org.eclipse.om2m :: comm service .................. SUCCESS [20.617s]
[INFO] org.eclipse.om2m :: ipu service ................... SUCCESS [7.990s]
[INFO] org.eclipse.om2m :: core service .................. SUCCESS [7.960s]
[INFO] org.eclipse.om2m :: core .......................... SUCCESS [41.207s]
[INFO] org.eclipse.om2m :: comm http ..................... SUCCESS [10.207s]
[INFO] org.eclipse.om2m :: comm coap ..................... SUCCESS [10.216s]
[INFO] org.eclipse.om2m :: ipu sample .................... SUCCESS [11.339s]
[INFO] org.eclipse.om2m :: webapp resourcesbrowser ....... SUCCESS [9.150s]
[INFO] org.eclipse.om2m :: nscl product .................. FAILURE [1:21.462s]
[INFO] org.eclipse.om2m :: gscl product .................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 17:02.936s
[INFO] Finished at: Mon Feb 16 19:38:14 UTC 2015
[INFO] Final Memory: 64M/106M
I am getting this error
Cannot complete the install because one or more required items could not be found.
Software being installed: nscl 0.0.0 (nscl 0.0.0)
Missing requirement for filter properties ~= $0: nscl.executable.gtk.linux.arm 0.0.0 requires 'org.eclipse.equinox.launcher.gtk.linux.arm 0.0.0' but it could not be found
Can you please check with this
-
Attachment: test
(Size: 4.26KB, Downloaded 127 times)
[Updated on: Wed, 04 March 2015 13:26] Report message to a moderator
|
|
|
Re: Om2m building on Raspberry pi board [message #1649738 is a reply to message #1649690] |
Wed, 04 March 2015 13:32 |
Mahdi Ben Alaya Messages: 229 Registered: November 2013 |
Senior Member |
|
|
Hello Ravi,
This error happens because the eclipse native launcher for arm is not available.
But since OM2M is a java platform, It is independent of the OS and system architecture .
So, a more easy solution is to build OM2M directly on your machine without including the native launcher (The native launcher is pretty useless).
To do this, go to the GSCL product, open the "om2m.product" file, then unchecked "the product includes native launcher" check-box.
Save the file, and build OM2M.
Now copy the GSCL product on your rasberry pi.
You can start the GSCL directly by invoking the JVM (without the need for the native launcher) as follows:
java -jar -ea -Declipse.ignoreApp=true -Dosgi.clean=true -Ddebug=true plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar -console -noExit
For more details take a look at our tutorial: https://wiki.eclipse.org/OM2M/Starting
Of course, you can also build OM2M by following the same step directly on your raspberry pi if you want.
At the end of this month, we will publish the OM2M 1.0.0 release with enhanced performance for Raspberry pi and Beaglebone Black.
For more information you can find our Roadmap here: https://wiki.eclipse.org/OM2M/Roadmap
Hope this can help,
Mahdi
[Updated on: Wed, 04 March 2015 20:42] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03156 seconds