From owner-freebsd-questions@FreeBSD.ORG Thu Feb 25 05:13:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5094106566C; Thu, 25 Feb 2010 05:13:18 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from ns.ael.RU (ns.ael.ru [62.76.207.226]) by mx1.freebsd.org (Postfix) with ESMTP id 31F1C8FC12; Thu, 25 Feb 2010 05:13:17 +0000 (UTC) Received: from Fluffy.Khv.RU (dhcp-14.local.ael [192.168.100.14]) by ns.ael.RU (8.14.3/8.14.3/Fluffy/5.3) with ESMTP id o1P5DEJN041379; Thu, 25 Feb 2010 15:13:15 +1000 (VLAT) (envelope-from fluffy@fluffy.khv.ru) Received: from Fluffy.Khv.RU (localhost [127.0.0.1]) by Fluffy.Khv.RU (8.14.4/8.14.4/Fluffy/5.4.1) with ESMTP id o1P5Cns0055497; Thu, 25 Feb 2010 15:12:49 +1000 (VLAT) (envelope-from fluffy@fluffy.khv.ru) Received: (from fluffy@localhost) by Fluffy.Khv.RU (8.14.4/8.14.4/Submit) id o1P5Cnd5055496; Thu, 25 Feb 2010 15:12:49 +1000 (VLAT) (envelope-from fluffy@fluffy.khv.ru) From: Dima Panov Organization: Twilight Zone To: freebsd-questions@freebsd.org, jimmiejaz@gmail.com Date: Thu, 25 Feb 2010 15:12:13 +1000 User-Agent: KMail/1.13.0 (FreeBSD/9.0-900009-CURRENT; KDE/4.4.0; amd64; ; ) References: <4B856BD9.9060604@gmail.com> <6201873e1002242028n662ab97evf12f966f7b48ea73@mail.gmail.com> <4B8600CC.6030101@gmail.com> In-Reply-To: <4B8600CC.6030101@gmail.com> X-Face: "RE-2'yS-N:*/7DHOjQ%Az<.+SG>K7B'k(&; qb0K4]Hv>J}"l9,=:m2_]-3S/}`b\]yA-g !y3en*Zl(i-86iM?Q[w@!=rW&JdT>KHW@dri>+qMcy42O, 5#izEqa-K+=B<@A X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (ns.ael.RU [192.168.1.1]); Thu, 25 Feb 2010 15:13:15 +1000 (VLAT) X-Spam-Status: No, score=-2.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ns.ael.RU Cc: Adam Vande More , freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: kde4/python26 and pth help. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Feb 2010 05:13:19 -0000 --nextPart5683984.eQWsWyQT97 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 >>=20 > >> > 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 sa= me > >> errors. I have no /etc/make.conf. I'm at a loss here, I have no id= ea > >> why this is happening. > >> I even did a portupgrade -fRru python26 and tried portmaster, and > >> plain old make in the ports that fail. > >=20 > > My script to install from a clean install is > >=20 > > 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=3D"YES"\nhald_enable=3D"YES"\n' >> /etc/rc.conf > >=20 > > then you'll have to do whatever is necessary for video driver install eg > > kldload nvidia and make it permanent /boot/loader.conf > >=20 > > Once your driver is live, you create xorg.conf file by > >=20 > > Xorg -config xorg.conf.new > > cp xorg.conf.new /etc/X11/xorg.conf > >=20 > > 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 > >=20 > > 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 > >=20 > > 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. > >=20 > >=20 > >=20 > > -- > > Adam Vande More >=20 > Thanks for the reply, >=20 > 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. >=20 > /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 >=20 > 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. =2D-=20 Dima "Red Fox" Panov @ Home | C73E 2B72 1FFD 61BD E206 1234 A626 76ED 93E3 = B018 Khabarovsk, Russia | 2D30 2CCB 9984 130C 6F87 BAFC FB8B A09D D539 = 8F29 KDE@FreeBSD Team | FreeBSD committer since 10.08.2009 | FreeBSD since Sept = 1995 Twitter.com:fluffy_khv | Skype:dima.panov | Jabber.org:fluffy.khv | ICQ:174= 5024 --nextPart5683984.eQWsWyQT97 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEABECAAYFAkuGBskACgkQpiZ27ZPjsBjwlgCgzMIT0jZOSG2SvJq19bCGJONW xMYAn182RmgMdaa5ph8LKwB8edOci6Wm =h7dd -----END PGP SIGNATURE----- --nextPart5683984.eQWsWyQT97--