From owner-freebsd-ports@FreeBSD.ORG Thu Feb 25 04:47:23 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B444D106564A; Thu, 25 Feb 2010 04:47:23 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-gx0-f211.google.com (mail-gx0-f211.google.com [209.85.217.211]) by mx1.freebsd.org (Postfix) with ESMTP id 3F9238FC18; Thu, 25 Feb 2010 04:47:22 +0000 (UTC) Received: by gxk3 with SMTP id 3so1619183gxk.13 for ; Wed, 24 Feb 2010 20:47:13 -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=BJDvxI5clnX7yw+dEY+YkJCEmt2pVlQAHKloP+0+e0k=; b=hsSDWB2ChHbiUi5HdVGgmEdy2xhinvuEZ5Bp/OBeEWURasKN6kkhgyays493hZIZfB I/fevYCs3Z8jE1ULoT/j1/86H2hrb1w/6pAUIPGN7sDGD8kKIoZjSAEkvXF/TYjqcskB RyClkZLyMuqjFc2dO/JOpDg+Eln+CY7I5aMSQ= 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=voVwvKh0Fix4zPYcvLDILA4NJL9XeY7nbBtGn9lWMHfk+5jV4t1FYfwZmQa4rwc4EU Sed9kX9uzbS+jMK6aaKeuXwpLe1w/f0PeRdiQBohqPBajRx6JoFUWo4az6WMIop3uEoh Kx62+jwmrl7FMJcK2FYAogEQ5y999TCVCx5ck= Received: by 10.101.134.11 with SMTP id l11mr902610ann.117.1267073232854; Wed, 24 Feb 2010 20:47:12 -0800 (PST) Received: from jimmiejaz.org (bas9-toronto63-1088798996.dsl.bell.ca [64.229.193.20]) by mx.google.com with ESMTPS id 14sm1658814gxk.15.2010.02.24.20.47.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 24 Feb 2010 20:47:11 -0800 (PST) Message-ID: <4B8600CC.6030101@gmail.com> Date: Wed, 24 Feb 2010 23:47:08 -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: Adam Vande More References: <4B856BD9.9060604@gmail.com> <6201873e1002242028n662ab97evf12f966f7b48ea73@mail.gmail.com> In-Reply-To: <6201873e1002242028n662ab97evf12f966f7b48ea73@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: kde4/python26 and pth help. X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 04:47:23 -0000 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. > > > My script to install from a clean install is > > portsnap fetch update > cd /usr/ports/ports-mgmt/portmaster > make install clean && rehash > portmaster -d x11-servers/xorg-server x11-drivers/xf86-input-mouse > x11-drivers/xf86-input-keyboard x11-drivers/{YOUR VIDEO DRIVER PORT} > echo 'dbus_enable="YES"\nhald_enable="YES"\n' >> /etc/rc.conf > > then you'll have to do whatever is necessary for video driver install eg > kldload nvidia and make it permanent /boot/loader.conf > > Once your driver is live, you create xorg.conf file by > > Xorg -config xorg.conf.new > cp xorg.conf.new /etc/X11/xorg.conf > > then I manually add in this line to /etc/ttys > ttyv8 "/usr/local/kde4/bin/kdm -nodaemon" xterm on secure > and comment > ttyv8 "/usr/local/bin/xdm -nodaemon" xterm off secure > > Provided you don't have to do anything special for say the nvidia > driver, all's that's do this the hal guys maybe didn't do such a back > job after all > > 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