views:

33

answers:

0

I'm trying to install gearman interface on mac os x 10.6.4 using python 2.4.

so after doing

./configure --with-libgearman-prefix=/opt/local/

I'm getting:

configure: error: 
  Could not link test program to Python. Maybe the main Python library has been
  installed in some non-standard library path. If so, pass it to configure,
  via the LDFLAGS environment variable.
  Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
  ============================================================================
   ERROR!
   You probably have to install the development version of the Python package
   for your distribution.  The exact name of this package varies among them.
  ============================================================================

I tried

./configure --with-libgearman-prefix=/opt/local/ LDFLAGS="-L/opt/local/lib/python2.4/"

But that didn't work.

Any ideas?