[Stackless] MacOS build...

Damian Jurd stackless at drinkinglizard.com
Tue Apr 13 13:11:06 CEST 2004

I tried building according to Bob's instructions but it fails during install, I
tried using two different cvs checkouts, one from the 7th and one from the
13th. Here's how I built:

Starbug:~/build/stackless.com_cvs_update_200404130800_UTC/stackless/src/Mac dnj$
../configure --enable-toolbox-glue --enable-shared --enable-framework

...I'm on a freshly built Panther box, the error output was:

./python.exe ../Mac/scripts/cachersrc.py -v
Traceback (most recent call last):
  File "../Mac/scripts/cachersrc.py", line 7, in ?
    import macresource
line 3, in ?
    from Carbon import Res
line 4, in ?
    from _Res import *
ImportError: No module named _Res
make[1]: *** [installmacsubtree] Error 1
make: *** [frameworkinstallmaclib] Error 2

...any thoughts?


ps. Sorry to all for my previous multiple posts...loose nut on the keyboard ;-)

Quoting Bob Ippolito <bob at redivi.com>:

> On Apr 8, 2004, at 1:57 PM, Damian Jurd wrote:
> > I've seen Bob's comment in a previous post saying that you shouldn't  
> > install a
> > 2nd copy of Python under Panther. So how can I safely get a copy of  
> > stackless
> > running under python? Should I pass some extra stuff to the configure  
> > script?
> > Does this mean that it can't/shouldn't be built as a framework?
>  From the dev tree..
> ../configure --enable-framework --with-framework-name=Stackless
> make
> sudo make frameworkinstall
> Note that this will make /usr/local/bin/python*, but the framework will  
> be /Library/Frameworks/Stackless.framework.  I personally just rm -rf  
> /usr/local/bin/python* after a make frameworkinstall, and then I have a  
> symlink named stackless that points at  
> /Library/Frameworks/Stackless.framework/Versions/2.3/Resources/ 
> Stackless.app/Contents/MacOS/Stackless.
> Let me know if you have problems, there are probably things I have  
> overlooked.  If it were ready to be a nice supported self-contained  
> thing on OS X, I would already be distributing it ;)
> -bob

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list