[Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread OpenMacNews
hi all, i've originally posted this on python-list -- but I have a suspicion my questions may have to do with Mac-specific issues, so I'll try here as well ... i've successfully built Python-2.4.1 from src on OSX 10.3.8 as a framework install with, simply: ./configure \

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread OpenMacNews
hi bob, no matter what i do, the build links against the 'native' /usr/lib/libxml* ... successful w/ no error, just the 'wrong' lib. Neither Python itself, nor any extension in the standard library, links to libxml. well, that's good -- at least consistent with why there's no significant

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread Robert Kern
OpenMacNews wrote: /Volumes/Projects/ports/Python-2.4.1/Mac/OSX/PythonLauncher/build/Pytho nLauncher.build/PythonLauncher.build/Objects-normal/LinkFileList -arch ppc -s -prebind -Wl,-no_arch_warnings -framework Cocoa -framework Carbon ld: warning prebinding disabled

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread OpenMacNews
hi robert, *something's* expecting libxml2 to be there ... I'll bet that it's either Cocoa or Carbon. In that case, you definitely *don't* want it to use your own libxml2. makes possible sense in that there's a reference to 'Foundation', which given your suspicion, refers to the OSX

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread Robert Kern
OpenMacNews wrote: hi robert, *something's* expecting libxml2 to be there ... I'll bet that it's either Cocoa or Carbon. In that case, you definitely *don't* want it to use your own libxml2. makes possible sense in that there's a reference to 'Foundation', which given your suspicion, refers to

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread OpenMacNews
robert, Foundation is its own framework (see /System/Library/Frameworks) yup. which is implicitly linked in by Cocoa and Carbon. sigh. more to learn. =-) clearly time to unpack actually read my new copy of Hillegass' book ... which, iiuc, would suggest no dependence whatsoever on libxml --

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 23:23, OpenMacNews wrote: *something's* expecting libxml2 to be there ... I'll bet that it's either Cocoa or Carbon. In that case, you definitely *don't* want it to use your own libxml2. makes possible sense in that there's a reference to 'Foundation', which given your

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 23:52, OpenMacNews wrote: Foundation is its own framework (see /System/Library/Frameworks) yup. which is implicitly linked in by Cocoa and Carbon. Actually no, Carbon doesn't link to Foundation. Everything written in Objective-C does, though. You're probably thinking of

Re: [Pythonmac-SIG] can't link Python 2.4.1 against external libxml2 ...

2005-04-03 Thread Robert Kern
Bob Ippolito wrote: On Apr 3, 2005, at 23:52, OpenMacNews wrote: Foundation is its own framework (see /System/Library/Frameworks) yup. which is implicitly linked in by Cocoa and Carbon. Actually no, Carbon doesn't link to Foundation. Everything written in Objective-C does, though. You're