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 proba

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 CoreFo

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 suspicio

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 -- eithe

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 t

Re: [Pythonmac-SIG] ANN: MacPython 2.4.1 installer

2005-04-03 Thread Lee Cullens
Well Bob - I decided to install your 2.4.1 before I get to a point where I could screw up something important :~) In an initial pass through my learning project, all worked well so far. The only thing I had to do was copy my localized package .pth file to a new folder ~/Library/Python/2.4/s

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 FoundationClas

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 prebindi

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 refer

Re: [Pythonmac-SIG] MacEnthon 0.0 testing release

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 21:48, Robert Kern wrote: Bob Ippolito wrote: On Apr 3, 2005, at 21:03, Robert Kern wrote: I am pleased to announce the availability of MacEnthon 0.0! MacEnthon is the OS X counterpart to the popular "Enthought Edition" of Python: a convenient bundling of a number of packages ge

[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 \ --enable-framework

Re: [Pythonmac-SIG] MacEnthon 0.0 testing release

2005-04-03 Thread Robert Kern
Bob Ippolito wrote: On Apr 3, 2005, at 21:03, Robert Kern wrote: I am pleased to announce the availability of MacEnthon 0.0! MacEnthon is the OS X counterpart to the popular "Enthought Edition" of Python: a convenient bundling of a number of packages geared for the scientific community. Right now

Re: [Pythonmac-SIG] MacEnthon 0.0 testing release

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 21:03, Robert Kern wrote: I am pleased to announce the availability of MacEnthon 0.0! MacEnthon is the OS X counterpart to the popular "Enthought Edition" of Python: a convenient bundling of a number of packages geared for the scientific community. Right now, it targets the App

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

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 21:03, OpenMacNews wrote: 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:

Re: [Pythonmac-SIG] MacEnthon 0.0 testing release

2005-04-03 Thread Robert Kern
Robert Kern wrote: I am pleased to announce the availability of MacEnthon 0.0! I should add that the disk image is 158 MiB large and that the installed files take up... I'm not actually sure, but it's under 700 MiB, I believe. Zip archives of individual packages will be available when I get aroun

[Pythonmac-SIG] MacEnthon 0.0 testing release

2005-04-03 Thread Robert Kern
I am pleased to announce the availability of MacEnthon 0.0! MacEnthon is the OS X counterpart to the popular "Enthought Edition" of Python: a convenient bundling of a number of packages geared for the scientific community. Right now, it targets the Apple-installed Python 2.3.0. Once I am satisfi

Re: [Pythonmac-SIG] Embedding with CW6

2005-04-03 Thread Jack Jansen
On 24-mrt-05, at 14:28, Steve Spicklemire wrote: Hi Folks, Back in the pretty old days (python 1.5 or so I think) I developed a Macromedia Director (MMD) scripting Xtra that allowed Lingo scripts to use python as an embedded language. It worked great... but I moved on and haven't done anything C

Re: [Pythonmac-SIG] readline space problem?

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 5:31 PM, John Hunter wrote: Bob> Then either it's a bug in readline, or you have some kind of Bob> local configuration problem. If you search around the Fink Bob> project and find out that they're applying any patches, let Bob> me know and I'll see if I can do so

Re: [Pythonmac-SIG] readline space problem?

2005-04-03 Thread John Hunter
Bob> Then either it's a bug in readline, or you have some kind of Bob> local configuration problem. If you search around the Fink Bob> project and find out that they're applying any patches, let Bob> me know and I'll see if I can do something, but I'm not going Bob> to researc

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
A bug perhaps? Poking around some more I think I see now what was happening. distutils is not automagically copying the swig generated arith.py unless it is there from a previous build (residue). After deleting all residue so that it looks like a 1st time build If I attempt a build and inst

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 5:19 AM, Larry Bugbee wrote: On Apr 3, 2005, at 12:55 AM, Bob Ippolito wrote: On Apr 3, 2005, at 4:12 AM, Larry Bugbee wrote: I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon impor

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
Thanks Bob! ...that combined with arith.py not being copied to site-package. Which raises another question, ought not arith.py be copied and if so, a bug? Anyway, much appreciated. I'm off and running again. Thanks. Larry On Apr 3, 2005, at 12:55 AM, Bob Ippolito wrote: On Apr 3, 2005, at 4:

Re: [Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Bob Ippolito
On Apr 3, 2005, at 4:12 AM, Larry Bugbee wrote: I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon importing, I keep getting an ImportError. I built and got the same error with both python 2.3 and 2.

[Pythonmac-SIG] distutils/swig - Loaded module does not contain symbol...

2005-04-03 Thread Larry Bugbee
I'm stuck. I'm trying to make a Python extension from some relatively simple code written in C. I created a setup.py and built the module. Upon importing, I keep getting an ImportError. I built and got the same error with both python 2.3 and 2.4.1. (I am running 10.3.8. swig is 1.3.24. g