View Single Post
Old 01-12-2007, 01:38 PM   #77
Xenophon
curmudgeon
Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.Xenophon ought to be getting tired of karma fortunes by now.
 
Xenophon's Avatar
 
Posts: 1,487
Karma: 5748190
Join Date: Jun 2006
Location: Redwood City, CA USA
Device: Kobo Aura HD, (ex)nook, (ex)PRS-700, (ex)PRS-500
Quote:
Originally Posted by kovidgoyal
The automatic build wont work on OSX. Download the tarball
http://easynews.dl.sourceforge.net/s...b-0.3.5.tar.gz

Extract the files. In the pyusb directory run the commands
python2.5 setup.py build
sudo python2.5 setup.py install

If that works could you use http://cheeseshop.python.org/pypi/bdist_mpkg/
to create an mpkg that I can add to the wiki for other OSX users?
That didn't fix the problem. The fix that worked happened when I took a close look at setup.py and realized that it assumes that the libusb install was done by fink (and was thus placed in /sw/...). It turns out that the latest-and-greatest libusb gets installed into /usr/local/... instead. A quick editing of setup.py to add /usr/local/include and /usr/local/lib to the extra-foo-items, and I have a successful compilation. I'll try to get an mpkg back to you soon.

Xenophon

P.S. I'm now waiting for a qt build to complete so I can try the GUI along with all the rest.
Xenophon is offline   Reply With Quote