Date: Thu, 25 Feb 2010 15:12:13 +1000 From: Dima Panov <fluffy@fluffy.khv.ru> To: freebsd-questions@freebsd.org, jimmiejaz@gmail.com Cc: Adam Vande More <amvandemore@gmail.com>, freebsd-ports@freebsd.org, freebsd-python@freebsd.org Subject: Re: kde4/python26 and pth help. Message-ID: <201002251512.44814.fluffy@fluffy.khv.ru> In-Reply-To: <4B8600CC.6030101@gmail.com> References: <4B856BD9.9060604@gmail.com> <6201873e1002242028n662ab97evf12f966f7b48ea73@mail.gmail.com> <4B8600CC.6030101@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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 <jimmiejaz@gmail.com
> >>
> >> <mailto:jimmiejaz@gmail.com>> 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
Doh. Please, don't build python againist pth library, it's broken, and off by default.
--
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:1745024
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)
iEYEABECAAYFAkuGBskACgkQpiZ27ZPjsBjwlgCgzMIT0jZOSG2SvJq19bCGJONW
xMYAn182RmgMdaa5ph8LKwB8edOci6Wm
=h7dd
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002251512.44814.fluffy>
