From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#26136: core-updates: python-minimal@2.7.13 fails due to missing zlib Date: Sat, 18 Mar 2017 21:50:57 +0100 Message-ID: <20170318215057.344e288c@scratchpost.org> References: <20170317014622.GA27842@jasmine> <20170317150851.56e225f0@scratchpost.org> <20170318172601.GA2721@jasmine> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpLKY-0004Af-Uf for bug-guix@gnu.org; Sat, 18 Mar 2017 16:52:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpLKU-0007rV-1d for bug-guix@gnu.org; Sat, 18 Mar 2017 16:52:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cpLKT-0007rR-Uc for bug-guix@gnu.org; Sat, 18 Mar 2017 16:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cpLKT-0001JO-OV for bug-guix@gnu.org; Sat, 18 Mar 2017 16:52:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20170318172601.GA2721@jasmine> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Leo Famulari Cc: 26136@debbugs.gnu.org Setting the environment variables CPPFLAGS="-I/gnu/store/y8c62fyb2x4g4qnl54pmlmid1fn8k3mx-zlib-1.2.8/include" LDFLAGS="-L/gnu/store/y8c62fyb2x4g4qnl54pmlmid1fn8k3mx-zlib-1.2.8/lib" before running configure makes it work. (I've also printed inc_dirs in setup.py without that - and zlib didn't appear) So I guess the general question is how does Python set up inc_dirs ? And is it normal that C_INCLUDE_PATH and LIBRARY_PATH doesn't contain zlib ? Apparently, since guix-master python2-minimal 2.7.12 doesn't contain it either - and that one works... So where would it get the other entries?