Re: rrdtool and lua on FreeBSD 10.x anyone ?

看板FB_questions作者時間11年前 (2014/06/30 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
On 29 June 2014 16:12, Stefan Parvu <sparvu@systemdatarecorder.org> wrote: > Hi, > > Anyone here using rrdtool and lua ? I have seen that RRDtool has bindings for LUA > but I was curious how one would get them compiled correctly. What I tried: > > - # pkg install lua52-5.2.3_2 > - configure rrdtool ... which ended up like this: > > checking for lua... /usr/local/bin/lua > checking for lua >= 5.0... 5.2 found > checking lua52/lua.h usability... yes > checking lua52/lua.h presence... yes > checking for lua52/lua.h... yes > checking lua52/lualib.h usability... yes > checking lua52/lualib.h presence... yes > checking for lua52/lualib.h... yes > checking lua52/lauxlib.h usability... yes > checking lua52/lauxlib.h presence... yes > checking for lua52/lauxlib.h... yes > checking for library containing lua_call... no > Lua headers found but not the libraries! Please reinstall the dev packages for Lua 5.2 > > There are no such thing as a lua-dev package, does this sound a Linux thing or is there anything else > I need to install ? > lua-dev definitely sounds like a .deb-specific thing. The way lua stuff is handled in FreeBSD doesn't always turn out as expected, I've found. Even defining DEFAULT_VERSIONS=lua=5.2 doesn't mean that lua stuff always uses a certain version (pretty sure devel/luafilesystem still requires lua51, even though it claims otherwise if you read the Makefile). -- -- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1Ji7wE8n (FB_questions)
文章代碼(AID): #1Ji7wE8n (FB_questions)