hookbox dependencies: greenlet?

1 view
Skip to first unread message

David Sunderland

unread,
Sep 27, 2011, 12:57:47 AM9/27/11
to grooviks...@googlegroups.com
Hi guys,

When I do an "easy_install hookbox", I get stuck on the dependency 'greenlet'.  At first, it wasn't compiling because I had no GCC, so I installed XCode.  Now, it's giving a compilation error:

# sudo easy_install greenlet
Searching for greenlet
Reading http://pypi.python.org/simple/greenlet/
Reading http://bitbucket.org/ambroff/greenlet
Reading http://undefined.org/python/#greenlet
Best match: greenlet 0.3.1
Downloading http://pypi.python.org/packages/source/g/greenlet/greenlet-0.3.1.tar.gz#md5=8d75d7f3f659e915e286e1b0fa0e1c4d
Processing greenlet-0.3.1.tar.gz
Running greenlet-0.3.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-6P8Ad6/greenlet-0.3.1/egg-dist-tmp-GHyAbs
/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'repository'
In file included from greenlet.c:5:
greenlet.h:11:20: error: Python.h: No such file or directory
  ...

I have Python development headers under /Developer/SDKs, but it doesn't seem to be using those headers.

Before I dive any deeper into this, am I doing something grossly stupid?  Can I download and install this dependency some other way, possibly without having to compile it?  Arg.

-d

Kenneth Jung

unread,
Sep 27, 2011, 1:02:24 AM9/27/11
to grooviks...@googlegroups.com
Well I just checked, and I have greenlet installed, but I don't remember installing it, so I must not have run into any problems.

However, I installed python from macports, so that might be it.
--
You received this message because you are subscribed to the Google Groups "Groovik's Hackers" group.
To post to this group, send email to grooviks...@googlegroups.com.
To unsubscribe from this group, send email to grooviks-hacke...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/grooviks-hackers?hl=en.

David Sunderland

unread,
Sep 27, 2011, 1:14:35 AM9/27/11
to grooviks...@googlegroups.com
Python 2.6 was already installed on my mac (I'm running OS X 10.6.4), so I didn't have to install it.  Maybe I can install the python development stuff form MacPorts also?

-d

Kenneth Jung

unread,
Sep 27, 2011, 1:20:07 AM9/27/11
to grooviks...@googlegroups.com
I'm running 10.6.8

Dunno if there is a separate package for python-dev in macports.  Mine only lists these:
  py26-cairo @1.8.10_1 (active)
  py26-chardet @2.0.1_0 (active)
  py26-distribute @0.6.19_0
  py26-distribute @0.6.19_1
  py26-game @1.9.1_4 (active)
  py26-gobject @2.26.0_1 (active)
  py26-gtk @2.22.0_1 (active)
  py26-mako @0.4.0_0 (active)
  py26-nose @1.0.0_0 (active)
  py26-notify-python @0.1.1_0 (active)
  py26-numeric @24.2_0
  py26-numeric @24.2_2 (active)
  py26-numpy @1.6.0_0+atlas+gcc44
  py26-numpy @1.6.1_0+atlas+gcc44 (active)
  py26-openssl @0.10_1 (active)
  py26-py @1.1.1_0 (active)
  py26-setuptools @0.6c11_1 (active)
  py26-twisted @10.1.0_0 (active)
  py26-twisted-web2 @8.1.0_0 (active)
  py26-xdg @0.16_0 (active)
  py26-zopeinterface @3.3.0_0 (active)
  py27-libxml2 @2.6.21_0
  py27-libxml2 @2.7.8_0 (active)
  python26 @2.6.7_0 (active)
  python27 @2.7.2_0 (active)
  python_select @0.3_1 (active)

And I think I'm using the default Mac python anyways:

Python 2.6.1 (r261:67515, Jun 24 2010, 21:47:49) 
[GCC 4.2.1 (Apple Inc. build 5646)] on darwin
>>>

Chris White

unread,
Sep 27, 2011, 2:52:33 AM9/27/11
to grooviks...@googlegroups.com
I definitely had challenges getting greenlet installed... On windows I had to go download it manually.

David Sunderland

unread,
Sep 27, 2011, 3:32:25 AM9/27/11
to grooviks...@googlegroups.com
I just picked up the latest OS X updates (to 10.6.8), and then downloaded and installed the latest XCode (all 4.1GB of it).  After that, easy_install actually was :P.

Thanks for the tip.  I'm up and running now (after also installing 'pyserial', which wasn't listed in the README dependencies).

-d

David Sunderland

unread,
Sep 27, 2011, 4:02:07 AM9/27/11
to grooviks...@googlegroups.com
For my final act of frustrated impotence (final act of the night, that is), I get a 403 when trying to push changes.  I'm using the password that it gives me from the website; it appears that I'm a committer on the project; is there anything else I am forgetting?

Also, is it possible to submit code for a review without pushing?

-d

Brian Retford

unread,
Sep 27, 2011, 1:09:08 PM9/27/11
to grooviks...@googlegroups.com
It seems my secret plan to force everyone to install linux is working out pretty well, minus the part where you actually install linux, anyway ;-)

-b
Reply all
Reply to author
Forward
0 new messages