durusmail: durus-users: [Durus-users] Problem compiling Durus on Tiger
[Durus-users] Problem compiling Durus on Tiger
[Durus-users] Problem compiling Durus on Tiger
2005-06-24
[Durus-users] Problem compiling Durus on Tiger
Mario Ruggier
2005-06-24
[problem resolved, thanks to help over from the pythonmac-sig list]

Yep, that did it...

I installed XcodeTools, and it set up the include directly nicely, and
the cimpilation of durus succeeded.

Another annoying thing is the path change for site-packages -- tiger
now expects now that "site-packages" be appended to the panther version
of the same location...  ;-(



On Jun 24, 2005, at 3:29 PM, Bob Ippolito wrote:

> He's right, your installation is broken somehow and is missing files.
> Python24Fix is only a monkeypatch to fix my distribution of Python
> 2.4.1, it has nothing to do with anything else.
>
> I'd re-install the latest Xcode with all the goodies, and if that
> doesn't work, then archive+install Mac OS X 10.4.  Something is wrong
> with your system, if you're lucky, it's just Xcode.
>
> -bob
>
> On Jun 24, 2005, at 9:16 AM, Mario Ruggier wrote:
>
>> 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@mems-exchange.org
>>> http://mail.mems-exchange.org/mailman/listinfo/durus-users
>>>
>>
>> _______________________________________________
>> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
>> http://mail.python.org/mailman/listinfo/pythonmac-sig

reply