From owner-freebsd-python@FreeBSD.ORG Sun May 1 19:23:34 2011 Return-Path: Delivered-To: python@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 36405106566C for ; Sun, 1 May 2011 19:23:34 +0000 (UTC) (envelope-from mezz.freebsd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E042E8FC0C for ; Sun, 1 May 2011 19:23:33 +0000 (UTC) Received: by vxc34 with SMTP id 34so5127436vxc.13 for ; Sun, 01 May 2011 12:23:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=h2rFEGFRYnkyarWAZ6sMy72sSaD95M1rmJBYc/ipe0U=; b=eT7qrT4Z1P/zVrd8rp6CLP0yeqLdemLeewBfseDV0sx/Rfr3JNoI16FjbWQyG180E6 8JB8AmtxUmupAAL0qDk3ZdOl/PxdzicT37xNa9PSELEFQtq6Oxj9Y3KhZyUETtmcdd+4 2iG8eb7wBaoKYONHBJBPNbU7t5gxO+Ic0G2tU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X2RjxjzqgVJa9fZwhy7rpnUL9JgRQiyNzbY/v13ooQ3K0crCYLlZFeL/9fhJarBOmo DkfaxE74+Fa+c4iAz8236bQ5fyYQIYNtSR3TS8vxHvajwDL4SEPiLh5Mqw7gXt2qEfxl XszaTILulGn5yR0Wcp+3QLud5zUo32NgoldQE= MIME-Version: 1.0 Received: by 10.220.62.76 with SMTP id w12mr2147055vch.35.1304276481562; Sun, 01 May 2011 12:01:21 -0700 (PDT) Received: by 10.220.180.2 with HTTP; Sun, 1 May 2011 12:01:21 -0700 (PDT) In-Reply-To: <20110501175122.GA12759@club.kyutech.ac.jp> References: <201104302219.p3UMJQcD087455@freefall.freebsd.org> <20110501175122.GA12759@club.kyutech.ac.jp> Date: Sun, 1 May 2011 14:01:21 -0500 Message-ID: From: Jeremy Messenger To: Kouichiro Iwao Content-Type: text/plain; charset=ISO-8859-1 Cc: gnome@freebsd.org, python@FreeBSD.org, mezz@freebsd.org Subject: Re: ports/156425: Installing textproc/py-libxml2 fails because of lack of CFLAGS X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 May 2011 19:23:34 -0000 2011/5/1 Kouichiro Iwao : > $ python2.6-config --ldflags > -L/usr/local/lib/python2.6/config -lutil -lm -lpython2.6 Umm.. Do you have still have pth installed? I think your python 2.6 has changed after you submitted PR? I have gone ahead installed lang/python26 with the pth option. Here's what I get: # python2.6-config --ldflags -L/usr/local/lib/python2.6/config -lpth -lutil -lm -lpython2.6 ----------------------------------------^^^ > is this mean python-relevant ports (ex. py-*) fail to detect build > options of python's? It's a lang/python26 bug. There is nothing that py-libxml2 depends on pth. Since the python2.6-config has -lpth then it needs to be fixed by add -L/usr/local/lib/pth in the python2.6-config. Add CC'ing to python@ and I will change the PR to python. Cheers, Mezz -- mezz.freebsd@gmail.com - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org