Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would prefer to install libsvm without resorting to the use of a package manager other than homebrew. Any ideas?

Thank you, Michaux

share|improve this question
up vote 1 down vote accepted

Download and extract the zip or tar.gz. Run 'make' in the python directory to generate the shared library. You may need to add the location of the shared library to your path. The python modules are in the python directory. More information is found in the readme, also in the python directory.

Alternatively, follow the directions in the readme that's in the python_old directory.

There's also the main readme in the root of the archive.

share|improve this answer
Thank you for the help! What exactly would the name of that "shared library" be? Is it ""? Much appreciated. – mkelley33 Jul 5 '10 at 0:14
Nevermind my last question. Used the Interwebs and the googler to learn about "shared object libraries". Much obliged :) – mkelley33 Jul 5 '10 at 15:00

This worked for me:

cd python
make PYTHON_INCLUDEDIR=/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7/ LDFLAGS="-shared -lpython"

The -lpython was missing in my libsvm makefile, so I'm adding it here.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .