chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] libsvm egg install problem


From: Tom Poliquin
Subject: [Chicken-users] libsvm egg install problem
Date: Tue, 27 May 2008 12:50:13 -0700
User-agent: KMail/1.9.1

I'm trying to install the libsvm egg and not
having much success.

The libsvm egg requires the libsvm library.

I downloaded the only libsvm library I could find from
http://www.csie.ntu.edu.tw/~cjlin/libsvm/
(libsvm-2.86) which after installation only generates an svm.o.
I tried some older versions hoping to find one generating an 'so'
file but was unsuccessful.

Undaunted, (and not an shared library expert) I did this ..
g++ -fPIC -Wall -O3 -c svm.cpp
ld -shared -soname libsvm.so.1 -o libsvm.so.1.0 -lc svm.o

I then moved the .so into my ~/lib directory with appropriate
symbolic links ..
libsvm.so.1.0
libsvm.so.1 -> libsvm.so.1.0
libsvm.so -> libsvm.so.1.0
and ran ldconfig

I then ran the egg install (I'm using
Chicken 3.1.0) and got ..

  The extension libsvm does not exist.
  Do you want to download it ? (yes/no/abort) [yes] yes
  downloading libsvm.egg from (www.call-with-current-continuation.org eggs/
  3 80) .
  gzip -d -c /tmp/chicken-setup-3-cowboyneal/downloads/libsvm.egg | tar xf -
   /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm.scm
  Warning: extension `libsvm_core' is currently not installed
  /home/cowboyneal/bin/csc 
       -feature compiling-extension -s -O2 libsvm_core.scm l
  ibsvm_core_wrap.c -lsvm -I/usr/include/libsvm-2.0/libsvm
  Error: unbound variable: documentation

Looks like I also need a libsvm_core.so .. I'm guessing I haven't
downloaded the right libsvm .. ?

Any thoughts greatly appreciated,

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]