unable to compile Alljoyn on Raspberry pi model- B using scons

asked 2015-01-22 00:09:49 -0700

kamble4u gravatar image

updated 2015-01-22 11:41:05 -0700

Nikhil Dabhade gravatar image

I am trying to compile Alljoyn on to Raspberry PI model-B, as per instructions given in git hub link "https://gist.github.com/germanviscuso/30cfa7dfb041c12e6ba3".

After executing this step "scons OS=linux CPU=arm WS=off OE_BASE=/usr BINDINGS=cpp,c,java,js,objc,unity", getting following message

scons: Reading SConscript files ...

Building bindings: cpp

Building services:

BULLSEYE_BIN not specified

GTEST_DIR not specified skipping common unit test build

BULLSEYE_BIN not specified

After executing this step I am supposed to get the build directory as mentioned in the git hub link "./alljoyn/core/alljoyn/build/linux/arm/debug/dist/cpp/lib" which is missing. I am trying since last 2 days but not getting it.

Did anybody face the same problem? If you know the solution please let me know..

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-22 03:14:10 -0700

kamble4u gravatar image

After a lot of effort I figured it out that I need to be a "root" user to execute the scons script... Finally its working. Hope this helps if someone is stuck with the same problem....

edit flag offensive delete publish link more


Converted your comment to an answer

Nikhil Dabhade ( 2015-01-22 11:41:57 -0700 )edit

What do you mean "to be a root user"? To be a root user used by "su root" command or to do SCons script with "sudo"? Any way, I could not resolve this issue. I can find "./alljoyn/core/alljoyn/build/linux/arm/debug/obj" directory only. Could you give me help?

ShigeMaeda ( 2015-02-03 17:13:37 -0700 )edit

answered 2015-02-09 03:43:14 -0700

kamble4u gravatar image

updated 2015-02-23 11:06:48 -0700

Nikhil Dabhade gravatar image
  1. By default Raspberry PI on boot up logs into user"pi".
  2. Change to root user by executing command "sudo su".
  3. change current working directory to for eg: "/home/pi/WorkingDirectory/alljoyn/core/alljoyn".
  4. Execute "ls -l" command and should find "SConstruct" script listed.
  5. Now try to execute the "scons OS=linux CPU=arm WS=off OE_BASE=/usr BINDINGS=cpp".
  6. Build process should get started and would last for 30+ minutes be patient. Hope this helps you.
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-01-22 00:09:49 -0700

Seen: 633 times

Last updated: Feb 23 '15