circonus-labs / reconnoiter

Large-scale Monitoring and Trend Analysis System
Other
245 stars 62 forks source link

configure: error: *** can't build zipkin-fq, no -lfq *** #328

Closed yogaredhat closed 7 years ago

yogaredhat commented 7 years ago

[root@localhost fq]# make

postwait commented 7 years ago

likely should be on the fq project... but it looks like it it needs the sqlite3 libraries and development headers.

yogaredhat commented 7 years ago

thank you for this update i installed sqllite 3 and then i got the following error while running make on libmtev

postwait commented 7 years ago

If you want to build lua support, luajit 2.0.3 or higher is required.

yogaredhat commented 7 years ago

installed lua-5.1.4 and LuaJIT-2.0.4 but got the same error

postwait commented 7 years ago

lua 5.1.4 is unneeded. It sounds like you need to tell the build where to find the headers/libraries using CPPFLAGS and LDFLAGS overrides.

yogaredhat commented 7 years ago

I am not sure about how to use CPPFLAGS and LDFLAGS . I am using centos 7 . Can you provide any example about how to use these flags in centos.

Thanks

yogaredhat commented 7 years ago

execute following command and 'configure' step completed successfully but still got the same error during make. . here is the error logs :http://pastebin.com/zu2b7NtB

[root@localhost libmtev]# ./configure LDFLAGS=" -m64 -L /usr/local/lib/" CPPFLAGS=" -I /usr/local/include/"

Thanks

postwait commented 7 years ago

It looks to be picking up the lua headers instead of the luajit headers. Make sure the -I in your CPPFLAGS specifies the luajit include dir before anything else.