Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2013 21:13:39 +0100
From:      Koop Mast <kwm@rainbow-runner.nl>
To:        John Hein <gnome-jfbml@snkmail.com>
Cc:        gnome@freebsd.org, Sulabh Kausal <sulabh.kaushal78@gmail.com>
Subject:   Re: Script "configure" failed unexpectedly.
Message-ID:  <51082D73.90505@rainbow-runner.nl>
In-Reply-To: <24831-1359488878-723419@sneakemail.com>
References:  <CAG%2BSyE7c%2BbBt=sC3oCTWkfN8e%2BaKycdHe8mC7NZBdAL1RgJ5RA@mail.gmail.com> <24831-1359488878-723419@sneakemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 29-1-2013 20:47, John Hein wrote:
> Sulabh Kausal wrote at 00:18 +0530 on Jan 30, 2013:
>   > I am new to Unix. I am trying to install firefox and getting following
>    .
>    .
>
>  From the gobject-introspection config.log you attached:
>   .
>   .
> configure:15982: checking for headers required to compile python extensions
> configure:16006: cpp -I/usr/local/include -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 conftest.c
> In file included from conftest.c:41:
> /usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory
> configure:16013: $? = 1
> configure: failed program was:
>   .
>   .
>
> For some reason, the python port you have installed thinks you have
> the pth port installed - look for HAVE_PTH in
> /usr/local/include/python2.7/pyconfig.h.
>
> Because of that, when Python.h is included by some program (a
> temporary program created by gobject-introspection's configure script
> in this case), it tries to include pth.h and fails to find it.
>
> Perhaps when you built your python port, the pth package was
> installed, but you have removed it since then?
>
> Or the pth port installation is broken?  Try 'pkg_info -g -x pth'.
>
> In any case, you could try rebuilding/installing your python port.
> Then build firefox again.
>
>
the pth port isn't at fault here. Just rebuild python without the PTH 
option selected should fix this.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51082D73.90505>