Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install Gnome on a freshly installed FreeBSD using the ports.

I am stuck with an error message that says:
Checking for headers required to compile python extensions ... not found
Then it fails unexpectedly.

I've tried to re-install python27 and that didn't help.

What could possibly be the problem?

EDIT:
I am running FreeBSD 9.1; I tried to install gnome by following the FAQ I simply cd /usr/ports/x11/gnome2 then I ran make install cleanand as for the configs, I left them unchanged; by checking make config I have two unselected options:
XSCREENSAVER
MAPI

As for the output of python2.7-config --includes I got the following:
-I/usr/local/include/python2.7 -I/usr/local/include/python2.7

share|improve this question
    
Which port are you using? (e.g. latest port tree, portsnapped today, from where, e.g. /usr/ports/devel/gnome-common/ ) Which options have been set (e.g. run make config). Which FreeBSD version? What is the output of python2.7-config --includes ? ... –  Hennes May 27 '13 at 20:27
    
Excuse me for the lack information, please check my edit. –  xci13 May 27 '13 at 22:44

2 Answers 2

You are missing header files necessary for compilation of Python extensions which are Gnome dependency. That should not happen if you were following handbook and use stable branch. You do not really provide enough information to troubleshoot the problem.

share|improve this answer
    
I tried to follow the FAQ, not the handbook, you're right. I've edited my post to include more information; kindly check it out. –  xci13 May 27 '13 at 22:45
up vote 1 down vote accepted

The problem, as the error noted was that 'make' was looking for the pth file. I fixed it by cp /usr/local/include/pth /usr/local/include/python2.7
I have python2.7 installed instead of 2.6

Of course this is a work-around and not a serious solution to the problem.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.