[Pythonmac-SIG] [Durus-users] Problem compiling Durus on Tiger

Mario Ruggier mario at ruggier.org
Fri Jun 24 15:16:44 CEST 2005


Hello,

i was trying to install Durus object db on a new Tiger powerbook, with  
just DeveloperTools and gcc-3.3 packages installed additionally.  
However, the following problem occurs:

building 'durus._persistent' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp  
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall  
-Wstrict-prototypes  
-I/System/Library/Frameworks/Python.framework/Versions/2.3/include/ 
python2.3 -c _persistent.c -o  
build/temp.darwin-8.1.0-Power_Macintosh-2.3/_persistent.o
_persistent.c:6:20: Python.h: No such file or directory
_persistent.c:7:26: structmember.h: No such file or directory
...

Peter (message below) suggests Bob's TigerPython24Fix. I have tried but  
it needs python 2.4 not the stock python 2.3.5.

How does one fix the stock python on 10.4 ?!?

mario


On Jun 22, 2005, at 4:59 PM, Peter Herndon wrote:

> The Python build on Tiger is broken, it does not include the header
> file.  David, you probably did an upgrade install, or have other
> modifications made at some point that provided the header.  The fix is
> at http://undefined.org/python/#TigerPython24Fix -- notice Bob's note,
> "due to Tiger header regressions".  I don't think you need to install
> 2.4.1 in order to use the fix, though.  IIRC, I used it once I
> upgraded, and I've built extensions since then.  Durus in particular.
>
> You may want to redirect this inquiry to the python-mac sig mailing
> list, or just get Bob Ippolito's attention.  They'll know the details
> better than I.
>
> ---Peter Herndon
> _______________________________________________
> Durus-users mailing list
> Durus-users at mems-exchange.org
> http://mail.mems-exchange.org/mailman/listinfo/durus-users



More information about the Pythonmac-SIG mailing list