Re: [Pyobjc-dev] Trying to build WebServicesTool app OS X 10.2.2 (seed)
Brought to you by:
ronaldoussoren
From: Stephen S. <sst...@ma...> - 2002-10-31 17:54:00
|
> Thanks! Turns out I was confused about from whence I was getting my > python. /usr/local/bin contains the that I built from source and > that's the one into which I installed the pyobjc stuff. It works > fine...when I tell it to use that one. > > Thanks again! > > Steve > > On Thursday, October 31, 2002, at 12:06 AM, bb...@ma... wrote: > >> On Wednesday, October 30, 2002, at 11:38 PM, Stephen Steiner wrote: >>>> Or set the PythonBinPath user default to point to the python >>>> interpreter binary that you want to use [that has pyobjc installed >>>> within its site-packages]. >>> >>> Where would I find the 'PythonBinPath' user default (doc?)? >> >> It is mentioned in the bin-python-main.m file; it defaults to >> /usr/bin/python. As long as you can do the following, it should "just >> work" without setting that default. >> >> [bumbox:~] bbum% /usr/bin/python >> Python 2.2 (#1, 07/14/02, 23:25:09) >> [GCC Apple cpp-precomp 6.14] on darwin >> Type "help", "copyright", "credits" or "license" for more information. >> >>> from Foundation import * >> >>> x = NSMutableArray.array() >> >>> x >> () >> >>> >> >>> >>> When I run from within PB I get: >>> >>> [Switching to process 2631 thread 0xb03] >>> warning: ppc_frame_chain_valid: stack pointer from 0xbffffb1c to >>> 0x1000 grows upward; assuming invalid >> >> Because of the way the control is transferred to the python >> interpreter, you can't directly run the application under GDB. This >> limitation will go away once Apple ships a complete build of Python >> [the left out the ability to embed the interpreter into a binary and, >> as such, we have to execve() to pass control to the interpreter... >> this breaks gdb in the traditional sense]. See the mailing list >> archive if you want to run with gdb. >> >> Try just running the app from within PB -- not running it in the >> debugger. >> >> b.bum >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by: Influence the future of Java(TM) >> technology. Join the Java Community Process(SM) (JCP(SM)) program >> now. http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en >> _______________________________________________ >> Pyobjc-dev mailing list >> Pyo...@li... >> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev >> >> > Steve > > Steve |