chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] libsvm egg install problem


From: Daishi Kato
Subject: Re: [Chicken-users] libsvm egg install problem
Date: Wed, 28 May 2008 20:39:00 +0900
User-agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/21.4 Mule/5.0 (SAKAKI)

Hi,

I've updated the egg (v1.1), which hopefully works fine.
Please give it a try.

I've been testing against debian libsvm package.
--daishi

At Tue, 27 May 2008 12:50:13 -0700,
Tom Poliquin wrote:
> 
> 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
> 
> 
> 
> _______________________________________________
> Chicken-users mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/chicken-users
> 
> ******************************
>  XREA.COM -Free Web Hosting-
>  http://www.xrea.com/
> ******************************




reply via email to

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