Because of certain choices I made historically, __FreeBSD__=10 is defined in MacFUSE. A side effect of this is that if some code checks for only whether __FreeBSD__ is defined or not, it will see __FreeBSD__ as being defined. That's what happens with Python: it thinks we are on FreeBSD and expects <osreldate.h> to be available. I wouldn't really call it Python's fault--it's also MacFUSE's fault to mislead Python into believing that it's running on FreeBSD.
It's not critical enough for me to cleanse MacFUSE right now for this, but perhaps I will some day. Until then, use some workaround. IIRC it works if you just touch an empty /usr/include/osreldate.h. Amit On Jun 20, 9:28 pm, "Sean Chitwood" <[EMAIL PROTECTED]> wrote: > Hi-- > I'm trying to build the python bindings and I am getting an error > about not finding the osreldate.h referenced in pyport.h. > > The only references I can find to that in relation to the python > bindings are that I should just comment that line out. > > Is that really the best solution? Other than joining the python > development effort and finding out why it is needed and then finding a > better solution for MacOSX I mean, which I recognize as the best > solution. > > -- > Calvin Coolidge - "I have never been hurt by what I have not said." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" group. To post to this group, send email to macfuse-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/macfuse-devel?hl=en -~----------~----~----~----~------~----~------~--~---