Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./contrail.sh build fails with error "controller/src/analytics/grok_parser.h:9:22: fatal error: grok.h: No such file or directory" #157

Open
AbdulMMalik opened this issue Oct 4, 2017 · 2 comments

Comments

@AbdulMMalik
Copy link

2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/include/bind9
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/include/lwres
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share/man
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share/man/man3
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/include/irs
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share/man/man5
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share/man/man8
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/share/man/man1
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/var
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/var/run
2017-10-04 20:24:24 mkdir /opt/stack/contrail/build/etc
2017-10-04 20:24:24 build/production/analytics/viz_constants.cpp: In constructor 'vizConstants::vizConstants()':
2017-10-04 20:24:24 build/production/analytics/viz_constants.cpp:20:1: note: variable tracking size limit exceeded with -fvar-tracking-assignments, retrying without
2017-10-04 20:24:24 vizConstants::vizConstants() {
2017-10-04 20:24:24 ^
2017-10-04 20:24:24 In file included from controller/src/analytics/viz_collector.h:23:0,
2017-10-04 20:24:24 from controller/src/analytics/viz_collector.cc:5:
2017-10-04 20:24:24 controller/src/analytics/grok_parser.h:9:22: fatal error: grok.h: No such file or directory
2017-10-04 20:24:24 #include <grok.h>
2017-10-04 20:24:24 ^
2017-10-04 20:24:24 compilation terminated.
2017-10-04 20:24:24 scons: *** [build/production/analytics/viz_collector.o] Error 1
2017-10-04 20:24:24 ++ ret_val=2
2017-10-04 20:24:24 ++ [[ 2 -ne 0 ]]
2017-10-04 20:24:24 ++ exit 2
2017-10-04 20:24:24 ++ clean
2017-10-04 20:24:24 ++ local r=2
2017-10-04 20:24:24 ++ echo 'exited with status :2'
2017-10-04 20:24:24 ++ exit 2

@AbdulMMalik
Copy link
Author

I am installing contrail on two machines running ubuntu 14.04 but both are stuck at the above error.

@amandeepsingh91
Copy link

Install these missing packages :
sudo apt-get install libgrok-dev libgrok1 libtokyocabinet-dev

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants