From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: [PATCH] Add msgpack Date: Fri, 10 Jun 2016 23:06:55 -0400 Message-ID: <20160611030655.GA24837@jasmine> References: <87wpmbuv6m.fsf@openmailbox.org> <20160606140737.GA26555@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBZGU-0001b6-3d for guix-devel@gnu.org; Fri, 10 Jun 2016 23:07:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bBZGP-0006jw-0Q for guix-devel@gnu.org; Fri, 10 Jun 2016 23:07:14 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:37926) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bBZGM-0006j6-Nu for guix-devel@gnu.org; Fri, 10 Jun 2016 23:07:08 -0400 Content-Disposition: inline In-Reply-To: <20160606140737.GA26555@jasmine> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Lukas Gradl Cc: guix-devel@gnu.org On Mon, Jun 06, 2016 at 10:07:37AM -0400, Leo Famulari wrote: > On Mon, May 30, 2016 at 03:50:41PM -0500, Lukas Gradl wrote: > > * gnu/packages/serialization.scm (msgpack): New variable. > > > + (inputs > > + `(("zlib" ,zlib))) > > I noticed that the output does not refer to zlib: > > $ guix gc --references $(./pre-inst-env guix build msgpack) > /gnu/store/8m00x5x8ykmar27s9248cmhnkdb2n54a-glibc-2.22 > /gnu/store/jh52sklgbvq5f0z637wr99a64y25cx8r-msgpack-1.4.1 > /gnu/store/v39bh3ln3ncnzhyw0kd12d46kww9747v-gcc-4.9.3-lib > > However, the compilation fails without it. > > We need to make sure that msgpack can find zlib at run time. Lukas, can > you check if there is a build-time configuration option to provide the > path to zlib? This is from the top of the msgpack source tree: $ grep -rI zlib include/msgpack/zbuffer.h:#include include/msgpack/zbuffer.hpp:#include Should we do string substitution to provide the abolute path to the zlib headers?