python26 Headers (Solved)

Bradley Giesbrecht pixilla at macports.org
Fri Jun 10 20:43:51 PDT 2011


My svn base was dated.

portinstall.tcl now has a better directory check for fs-traverse.

Sorry for the noise.

--
Brad

On Jun 10, 2011, at 3:22 PM, Bradley Giesbrecht wrote:

> On Jun 10, 2011, at 3:02 PM, Bradley Giesbrecht wrote:
> 
>> What could cause the Headers simlink to not be installed?
>> 
>> This is causing "port select --set python python26" to fail.
>> 
>> 
>> $ sudo port -k install python26
>> --->  Computing dependencies for python26
>> --->  Installing python26 @2.6.6_3
>> --->  Activating python26 @2.6.6_3
>> 
>> To make python 2.6 the default (i.e. the version you get when you run
>> 'python'), please run:
>>   	sudo port select --set python python26
>> 
>> $ ls -la ./work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/ /opt/local/Library/Frameworks/Python.framework/Versions/2.6/
>> ./work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/2.6/:
>> total 4144
>> drwxr-xr-x   9 root  wheel      306 Jun  9 09:57 .
>> drwxr-xr-x   3 root  wheel      102 Jun  9 09:57 ..
>> lrwxr-xr-x   1 root  wheel       17 Jun  9 09:57 Headers -> include/python2.6
>> -r-xr-xr-x   1 root  wheel  2117144 Jun  9 09:57 Python
>> drwxr-xr-x   4 root  wheel      136 Jun  9 09:57 Resources
>> drwxr-xr-x  15 root  wheel      510 Jun  9 09:57 bin
>> drwxr-xr-x   3 root  wheel      102 Jun  9 09:57 include
>> drwxr-xr-x   3 root  wheel      102 Jun  9 09:57 lib
>> drwxr-xr-x   3 root  wheel      102 Jun  9 09:57 share
>> 
>> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/:
>> total 4136
>> drwxr-xr-x   8 root  wheel      272 Jun 10 14:58 .
>> drwxr-xr-x   6 root  wheel      204 Jun 10 14:58 ..
>> -r-xr-xr-x   1 root  wheel  2117144 Jun  9 09:57 Python
>> drwxr-xr-x   4 root  wheel      136 Jun 10 14:58 Resources
>> drwxr-xr-x  15 root  wheel      510 Jun 10 14:58 bin
>> drwxr-xr-x   3 root  wheel      102 Jun 10 14:58 include
>> drwxr-xr-x   3 root  wheel      102 Jun 10 14:58 lib
>> drwxr-xr-x   3 root  wheel      102 Jun 10 14:58 share
> 
> Manually extracting the python26 package "/opt/local/var/macports/software/python26/python26-2.6.6_3.darwin_10.x86_64.tbz2" I see the Headers simlink is in the package.
> $ ls -la opt/local/Library/Frameworks/Python.framework/Versions/2.6/Headers
> lrwxr-xr-x  1 brad  staff  17 Jun  9 09:57 opt/local/Library/Frameworks/Python.framework/Versions/2.6/Headers -> include/python2.6
> 
> I also see that "Headers" is not listed in +CONTENTS.
> 
> Is +CONTENTS consulted by "port activate"?
> 
> 
> Regards,
> Bradley Giesbrecht (pixilla)
> 



More information about the macports-dev mailing list