From owner-freebsd-python@FreeBSD.ORG Thu Feb 25 20:36:34 2010 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26C8E106564A; Thu, 25 Feb 2010 20:36:34 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-iw0-f185.google.com (mail-iw0-f185.google.com [209.85.223.185]) by mx1.freebsd.org (Postfix) with ESMTP id BED078FC0C; Thu, 25 Feb 2010 20:36:33 +0000 (UTC) Received: by iwn15 with SMTP id 15so5510918iwn.7 for ; Thu, 25 Feb 2010 12:36:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SWmWcm1YS7yVbFAxrUsgjXHOjmqELGt2lK51ZZwtaTM=; b=aX9sRhgyWAbcw1cUaAxjhGTPt6xNXy43yhJZdW8eT0t5t8ytJCSu3V5EliZxQAGrB2 Rg7UVWYCRcUhkJuMRJ84uWCXKMFS0OQOqZiCksdx2rOkrgbsn0elI7AfdamsfaISsSdx ErEzDcasFx2xOmjY/ADs0wx97CpHtKEjJLKJs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=is/6tECvexwICf60pMmFVR5HYLtVQXrk4AA2ow7kXOp+yMvUj2fBbecXiasZSbj44k Jc9V+sfftKv/AvXwG9qJuxC9e5GQffvv0lGD61189NJAb2LY7/qpn+pZS96X8Dj7u5+V +jAVr1tpmArp4EVrWivvG7ZiQ9zO+zbJ+UHWM= Received: by 10.231.192.131 with SMTP id dq3mr472180ibb.61.1267130188925; Thu, 25 Feb 2010 12:36:28 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088798996.dsl.bell.ca [64.229.193.20]) by mx.google.com with ESMTPS id 23sm1850642iwn.14.2010.02.25.12.36.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 25 Feb 2010 12:36:28 -0800 (PST) Message-ID: <4B86DF49.9000801@gmail.com> Date: Thu, 25 Feb 2010 15:36:25 -0500 From: Jimmie James User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.7) Gecko/20100207 Thunderbird/3.0.1 MIME-Version: 1.0 To: Dima Panov References: <4B856BD9.9060604@gmail.com> <6201873e1002242028n662ab97evf12f966f7b48ea73@mail.gmail.com> <4B8600CC.6030101@gmail.com> <201002251512.44814.fluffy@fluffy.khv.ru> In-Reply-To: <201002251512.44814.fluffy@fluffy.khv.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: amvandemore@gmail.com, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: kde4/python26 and pth help. [SOLVED] X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 20:36:34 -0000 On 02/25/10 00:12, Dima Panov wrote: > On Thursday 25 February 2010 14:47:08 Jimmie James wrote: >> On 02/24/10 23:28, Adam Vande More wrote: >>>> On Wed, Feb 24, 2010 at 12:11 PM, Jimmie James>>> >>>> > wrote: >>>> On a freshly installed 8-STABLE box (4 days old) and up to date >>>> ports, KDE4 will not install for me, always the same errors. I've >>>> even removed all ports and reinstalled from scratch and hit the same >>>> errors. I have no /etc/make.conf. I'm at a loss here, I have no idea >>>> why this is happening. >>>> I even did a portupgrade -fRru python26 and tried portmaster, and >>>> plain old make in the ports that fail. >>> >>> >>> As for you error, I don't know what happened. I used to see those >>> happen on a massive upgrade when using portupgrade. I recommend >>> portmaster. Somehow python didn't get installed correctly because >>> /usr/local/include/python2.6/Python.h should exist if python is >>> correctly installed. >>> >>> >>> >>> -- >>> Adam Vande More >> >> Thanks for the reply, >> >> Haven't got around to testing X yet, but on 7.2-STABLE it works fine, so >> I'm not too worried about that. It's the python and pth errors that are >> killing me. >> >> /usr/local/include/python2.6/Python.h is there, seems correctly >> installed. Even installing with portmaster and plain old make install >> it _still_ hits those errors of not finding the headers. >> checking for /usr/local/bin/python2.6 version... 2.6 >> checking for /usr/local/bin/python2.6 platform... freebsd8 >> checking for /usr/local/bin/python2.6 script directory... >> ${prefix}/lib/python2. >> 6/site-packages >> checking for /usr/local/bin/python2.6 extension module directory... >> ${exec_prefix}/lib/python2.6/site-packages >> checking for headers required to compile python extensions... not found >> configure: error: Python headers not found >> >> As well as /usr/bin/ld: cannot find -lpth > > > Doh. Please, don't build python againist pth library, it's broken, and off by default. > That got it, rebuilding python without pth made almost everything build. A few parts of KDE4 refuse to build because of "ImportError: no module named sipconfig" which I'm looking into now. Thanks for the help!