Re: Jaguar build progress

Steven Palm <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
On Feb 2, 2005, at 8:54 AM, Vic Heintz wrote:
> To get as far as I have, I had to edit native/usb/macbuild.sh
>
> <  
> INCLUDEDIR=/System/Library/Frameworks/Python.framework/Versions/2.3/ 
> include/$PYTHONVER
> ---
> >  
> INCLUDEDIR=/Library/Frameworks/Python.framework/Versions/2.3/include/ 
> $PYTHONVER

  This can be set conditionally in the script, I'll look at making that  
change.

> and edit makedist.py
>
> <     import native.strings.jarow
> ---
> >     import native.strings.jarowpy
>
> (I suppose I could also have also renamed jarowpy.py to jarow.py but  
> why should I have to? Is this a bug?)

  I don't think you'd have to have this change made if you compile the C  
version of the jarow library... One caveat is that after you build it  
(cd native/strings; python setup.py build ) you have to copy the .so  
file from the build directory back into your strings directory...  ( cd  
native/strings; cp build/lib.darwin*/jarow.so . )

> Now I'm stuck again. I may not have a good install of py2app even  
> though the "python setup.py install" seemed to go OK.
> makedist.py now gives me a long litany of apparently successful steps  
> and ends with:

  I assume you are using 0.1.7 of py2app ?  Just throwing that out, not  
sure if it matters.

> distutils.errors.DistutilsFileError: file 'boot_app.py' does not exist

> error: command  
> '/Library/Frameworks/Python.framework/Versions/2.3/Resources/ 
> Python.app/Contents/MacOS/Python' failed with exit status 1
>
> I have no clue how to proceed from here because boot_app.py DOES exist  
> in  
> /Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
> packages/py2app/py2app/bootstrap/boot_app.py  (Hmmm... even at minimum  
> wage my time spent on this would more than pay for a copy of Panther.  
> Perhaps I should just throw in the towel.)

  Probably, since OWC (www.macsales.com) has deals for around $50 I  
think... ;-)  But at this point, it's only a few months until Tiger,  
and then you can be on the BLEEDING edge. <smirk>

  I wonder if you have an issue with which python you're running... as  
you pointed out before, you've got quite a few copies installed. I  
wonder if it's looking in the wrong place. Someone with more Python  
experience could tell you how to determine which set of paths your  
"default" python is looking at, and you could then check to see if  
boot_app.py is in it's search path.

  I know mine is in /Library/Python/2.3/py2app/py2app/build_app.py on a  
Panther system. I'll have to reboot to see how Jaguar is configured. I  
also know that I had some weirdness with py2app when upgrading from  
early versions to the most current, since the modules were restructured  
and I had to delete the old modules myself.

  I'll double-check things and let you know what I find on my Jaguar  
boot volume.




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.