Mapd-core compile error


#1

i write command like below
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=debug …
make -j 4
but error occured like ‘Makefile:162: recipe for target ‘all’ failed’.

So, I re-write command like below
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -D ENABLE_PRECOMPILED_HEADERS=OFF …
make -j 4


but same error occured. How can i solve this problem?


#2

I guess you have’t get the exact error which lies in the early steps.
Please show the exact error.


#3


i have this error.
maybe… BISONPP_EXECUTABLE_NOTFOUND error…


#4

You have to install bison++.

sudo apt install bison++

#5

Thank you. It’s been a little bit.

But other error occured.(maybe associated with OPENSSL)
I have installed OPENSSL 1.1.0.
I can’t find the solution even when I go to Google.


#6

My openssl version is OpenSSL 1.0.2g 1 Mar 2016.
Maybe you should check out the version of folly.


#7

hi @Hyuck,

maybe the reply to this thread would be helpful

basically you have to rebuild dependencies


#8

Okay. Let’s try mapd-core again.

I have Question
If i execute ’ /home/yksuh/mapd-core/scripts/mapd-deps-ubuntu.sh’ , then Can I automatically get ‘mapd-deps.sh’ on ‘/usr/local/mapd-deps/’?


#9

No, you have to call the script explicitly as is stated on the end of the mapd-deps-ubuntu.sh

If you want the /usr/local/mapd-deps/mapd-deps.sh script called every time you lon-in into the system you have to call it from $HOME/.profile of user you are using to compile mapd-core or call it from /etc/profile (in this case the script will be called for every user)


#10

It just built successfully. There was an error because Folly was not installed properly.