I have raspberry pi model B. I want to build mongodb on my Linux system and want to copy build onto raspberry pi. I am using mongo-non86 to build mongodb.
I have changed compilers to compile it with arm-linux-gnueabihf-gcc and arm-linux-gnueabihf-g++. But it gives error in between as below.
build/linux2/normal/third_party/js-1.7/jscpucfg: 1: build/linux2/normal
/third_party/js-1.7/jscpucfg: Syntax error: word unexpected (expecting ")")
scons: *** [build/linux2/normal/third_party/js-1.7/jsautocfg.h] Error 2
So, my questions are,
1. How to solve this error?
2. Is there any alternate methodology for cross compiling on linux for Raspberry Pi.
3. What is third_party folder and js-1.7 contains (in mongodb build)?
4. Do I have to modify SConstruct file?
Note :- I have already referred this link, but didn't worked.