From owner-freebsd-questions@FreeBSD.ORG Sun Jun 29 20:41:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD281641 for ; Sun, 29 Jun 2014 20:41:43 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 793CB280F for ; Sun, 29 Jun 2014 20:41:43 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id n15so5043283wiw.5 for ; Sun, 29 Jun 2014 13:41:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=rHfvITAKtroEa42IBNFwDiovb8eLlIHcixEMz8Z71T0=; b=hMCanUQ1k00y0coXvJDacFLZa6fJBlKy6Mt9dR/lsnYLrwo4h7NJILUoLXJS8Oh+zJ TymLtQiUpJ2zaYw1AXPMvRH6X4x9yLgYR3Rw+p2BwcD70klUYt9NIjRYS4tgXF8gBbst nhfFjvn2R6DcdIzxaoDTC6yZPhNR1avKEWXKBnn6WzxyNoq+af0wgbsjoIXxjkLPoIe/ qZN3N5MaUPUgwS7JJMicaBTIdZgRtVAgGScPMbd1MhsKggtRwxYEEAc2ptELLIeE9FNt ikTp//PAvyLshCpx+U6dN4N4GQewJ9rDsL20RXRND4P6tMJyhTbCOdjGlTx5sF00oGO5 OJEQ== MIME-Version: 1.0 X-Received: by 10.180.24.9 with SMTP id q9mr9974176wif.43.1404074501631; Sun, 29 Jun 2014 13:41:41 -0700 (PDT) Received: by 10.216.86.198 with HTTP; Sun, 29 Jun 2014 13:41:41 -0700 (PDT) In-Reply-To: <20140629231232.3d6c5b5e561e1627e58b3ace@systemdatarecorder.org> References: <20140629231232.3d6c5b5e561e1627e58b3ace@systemdatarecorder.org> Date: Sun, 29 Jun 2014 16:41:41 -0400 Message-ID: Subject: Re: rrdtool and lua on FreeBSD 10.x anyone ? From: "illoai@gmail.com" To: Stefan Parvu Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Jun 2014 20:41:43 -0000 On 29 June 2014 16:12, Stefan Parvu 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). -- --