Re: [Chicken-users] libsvm

2015-05-19 Thread Daishi Kato
Thanks to Mario,

I uploaded the modified version at:
https://code.call-cc.org/svn/chicken-eggs/release/4/libsvm/branches/using-gc/

Best,
Daishi

On Mon, 18 May 2015 21:19:18 +0900,
Christian Kellermann wrote:
 
 Daishi Kato dai...@axlight.com writes:
 
  I haven't been following chicken recently,
  so forgive me if I misunderstand the procedure.
 
 Thanks for your contribution!
 
 Please find information on how to proceed here:
 
 http://wiki.call-cc.org/contribute
 
 In short:
 
 Mail mario a generated password hash or contact the original author of
 that egg.
 
 Thanks again!
 
 Christian
 
 -- 
 May you be peaceful, may you live in safety, may you be free from
 suffering, and may you live with ease.
 
 
 ___
 Chicken-users mailing list
 Chicken-users@nongnu.org
 https://lists.nongnu.org/mailman/listinfo/chicken-users

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libsvm

2015-05-18 Thread Mario Domenech Goulart
Hi Daishi,

On Mon, 18 May 2015 21:15:26 +0900 Daishi Kato dai...@axlight.com wrote:

 I haven't been following chicken recently,
 so forgive me if I misunderstand the procedure.

 I updated the libsvm egg and want to share it.
 How can I do it? I have a branch in my local checked-out svn repo,
 but I do not have the permission to commit it, saying:

 $ svn commit -m 'improved version of libsvm'
 Adding branches
 svn: E195023: Commit failed (details follow):
 svn: E195023: Changing directory
 '/home/daishi/src/call-cc.org/chicken-eggs/release/4/libsvm/branches'
 is forbidden by the server
 svn: E175013: Access to '/svn/chicken-eggs/!svn/ver/23920/release/4/libsvm' 
 forbidden
 svn: E175002: Additional errors:
 svn: E175002: CHECKOUT of 
 '/svn/chicken-eggs/!svn/ver/23920/release/4/libsvm': 403 Forbidden

 On Sat, 18 Oct 2014 23:12:22 +0900, Daishi Kato wrote:
 
 Hi Peter,
 
 Are you still maintaining the libsvm egg?
 
 http://wiki.call-cc.org/eggref/4/libsvm

Have you received any response from Peter Lane?  I've filed some bugs on
our bugtracker[*] and tried to contact him many times, but never received
any response.

The error you see from svn is because you didn't have permission to
write to that egg directory.  I've just added permissions for you to
write.  Please let me know if you have any problem with the repo.

[*]
https://bugs.call-cc.org/ticket/835
https://bugs.call-cc.org/ticket/836
https://bugs.call-cc.org/ticket/837
https://bugs.call-cc.org/ticket/1087
https://bugs.call-cc.org/ticket/1090


Best wishes.
Mario
-- 
http://parenteses.org/mario

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libsvm

2015-05-18 Thread Daishi Kato
Dear somebody,

I haven't been following chicken recently,
so forgive me if I misunderstand the procedure.

I updated the libsvm egg and want to share it.
How can I do it? I have a branch in my local checked-out svn repo,
but I do not have the permission to commit it, saying:

$ svn commit -m 'improved version of libsvm'
Adding branches
svn: E195023: Commit failed (details follow):
svn: E195023: Changing directory 
'/home/daishi/src/call-cc.org/chicken-eggs/release/4/libsvm/branches' is 
forbidden by the server
svn: E175013: Access to '/svn/chicken-eggs/!svn/ver/23920/release/4/libsvm' 
forbidden
svn: E175002: Additional errors:
svn: E175002: CHECKOUT of '/svn/chicken-eggs/!svn/ver/23920/release/4/libsvm': 
403 Forbidden


Best,
Daishi

On Sat, 18 Oct 2014 23:12:22 +0900,
Daishi Kato wrote:
 
 Hi Peter,
 
 Are you still maintaining the libsvm egg?
 
 http://wiki.call-cc.org/eggref/4/libsvm
 
 Thanks.
 --daishi

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libsvm

2015-05-18 Thread Christian Kellermann
Daishi Kato dai...@axlight.com writes:

 I haven't been following chicken recently,
 so forgive me if I misunderstand the procedure.

Thanks for your contribution!

Please find information on how to proceed here:

http://wiki.call-cc.org/contribute

In short:

Mail mario a generated password hash or contact the original author of
that egg.

Thanks again!

Christian

-- 
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.


___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] libsvm

2014-10-18 Thread Daishi Kato
Hi Peter,

Are you still maintaining the libsvm egg?

http://wiki.call-cc.org/eggref/4/libsvm

Thanks.
--daishi

___
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users


Re: [Chicken-users] libsvm egg install problem

2008-06-04 Thread Daishi Kato
Sorry about not having a good error handling.
And not having a nice document. You are always welcome to write one.
I could try any easy solution.
Hope things go well.
--daishi

At Mon, 2 Jun 2008 23:05:18 -0700,
Tom Poliquin wrote:
 
 Dashi,
 
 I messed up.
 
 I dumbly used the 'svm-predict' example without
 creating a model file!
 So it looks like that is what caused the segfault.
 
 I used your other example (svm-train), which
 was well behaved but gave me the error shown
 below.
 
 I'll try to get some time in the next day or two
 to create a real dataset and play with it a bit.
 
 Looks like it's installed Ok ..
 
 Thanks for the help and I'll update you
 with my results.
 
 Tom
 
 
 Error using svm-train example:
 
 CHICKEN
 (c)2008 The Chicken Team
 (c)2000-2007 Felix L. Winkelmann
 Version 3.1.0 - linux-unix-gnu-x86  [ manyargs dload ptables applyhook ]
 SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)
 
 ; loading svm.scm ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
 Error: libsvm: invalid data length
 
 Call history:
 
 syntax(define model (svm-train (new-svm-problem 
 labels
  data) (new-svm-parameter)))
 syntax(##core#set! model (svm-train 
 (new-svm-problem 
 l
 abels data) (new-svm-parameter)))
 syntax(svm-train (new-svm-problem labels data) 
 (new-sv
 m-parameter))
 syntax(new-svm-problem labels data)
 syntax(new-svm-parameter)
 eval  (svm-train (new-svm-problem labels data) 
 (new-svm-parame
 ter))
 eval  (new-svm-problem labels data)
 libsvm.scm: 122  error  --
 
 
  Dashi,
 
  Thanks for the reply .. and sorry for my delay
  (startup deadline) ..
 
   Tom Poliquin wrote:
I'm trying to install the libsvm egg and not
having much success.
  
   I've updated the egg (v1.1), which hopefully works fine.
   Please give it a try.
 
  I tried it out and still having difficulties (albeit different ones :-) )
 
  Here's the output of chicken-setup ..
 
  --
  [EMAIL PROTECTED] chicken]$ chicken-setup libsvm
 
  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_core.scm l
  ibsvm_core_wrap.c -lsvm -I/usr/include/libsvm-2.0/libsvm
    /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm.scm
  Warning: extension `libsvm_core' is currently not installed
    rm -fr /home/cowboyneal/lib/chicken/3/libsvm.so
    cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
    chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
    rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
    cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
    chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
  --
 
  I ran it and got an undefined symbol .. __cxa_pure_virtual
 
  --
  [EMAIL PROTECTED] ~]$ csi svm.scm
 
  CHICKEN
  (c)2008 The Chicken Team
  (c)2000-2007 Felix L. Winkelmann
  Version 3.1.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook
  ] SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)
 
  ; loading svm.scm ...
  ; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
  ; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
  Error: (load) unable to load compiled module
  /home/cowboyneal/lib/chicken/3/libsvm_core.so
  /home/cowboyneal/lib/libsvm.so.1: undefined symbol: __cxa_pure_virtual
  --
 
  I dug around the Internet a bit and found it might be related
  to libsupc++ so I edited the libsvm egg build to add it, see below.
  (again I'm not an expert at this stuff).
 
  I reran the setup (by untarring the egg and running chicken-setup)
  and got ..
 
  --
  [EMAIL PROTECTED] libsvm]$ chicken-setup
    /home/cowboyneal/bin/csc -feature compiling-extension -s -O2
  libsvm_core.scm libsvm_core_wrap.c -lsvm -lsupc++
  -I/usr/include/libsvm-2.0/libsvm /home/cowboyneal/bin/csc -feature
  compiling-extension -s -O2 libsvm.scm rm -fr
  /home/cowboyneal/lib/chicken/3/libsvm.so
    cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
    chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
    rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
    cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
    chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
    chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.setup-info
  --
 
  All seemed well until I ran the test code ..
  which ended with a SegFault.
 
  --
  [EMAIL PROTECTED] ~]$ csi svm.scm
  CHICKEN
  (c)2008 The 

Re: [Chicken-users] libsvm egg install problem

2008-06-03 Thread Tom Poliquin
Dashi,

I messed up.

I dumbly used the 'svm-predict' example without
creating a model file!
So it looks like that is what caused the segfault.

I used your other example (svm-train), which
was well behaved but gave me the error shown
below.

I'll try to get some time in the next day or two
to create a real dataset and play with it a bit.

Looks like it's installed Ok ..

Thanks for the help and I'll update you
with my results.

Tom


Error using svm-train example:

CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.1.0 - linux-unix-gnu-x86  [ manyargs dload ptables applyhook ]
SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)

; loading svm.scm ...
; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
Error: libsvm: invalid data length

Call history:

syntax(define model (svm-train (new-svm-problem 
labels
 data) (new-svm-parameter)))
syntax(##core#set! model (svm-train (new-svm-problem 
l
abels data) (new-svm-parameter)))
syntax(svm-train (new-svm-problem labels data) 
(new-sv
m-parameter))
syntax(new-svm-problem labels data)
syntax(new-svm-parameter)
eval  (svm-train (new-svm-problem labels data) 
(new-svm-parame
ter))
eval  (new-svm-problem labels data)
libsvm.scm: 122  error  --


 Dashi,

 Thanks for the reply .. and sorry for my delay
 (startup deadline) ..

  Tom Poliquin wrote:
   I'm trying to install the libsvm egg and not
   having much success.
 
  I've updated the egg (v1.1), which hopefully works fine.
  Please give it a try.

 I tried it out and still having difficulties (albeit different ones :-) )

 Here's the output of chicken-setup ..

 --
 [EMAIL PROTECTED] chicken]$ chicken-setup libsvm

 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_core.scm l
 ibsvm_core_wrap.c -lsvm -I/usr/include/libsvm-2.0/libsvm
   /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm.scm
 Warning: extension `libsvm_core' is currently not installed
   rm -fr /home/cowboyneal/lib/chicken/3/libsvm.so
   cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
   chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
   rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
   cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
   chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
 --

 I ran it and got an undefined symbol .. __cxa_pure_virtual

 --
 [EMAIL PROTECTED] ~]$ csi svm.scm

 CHICKEN
 (c)2008 The Chicken Team
 (c)2000-2007 Felix L. Winkelmann
 Version 3.1.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook
 ] SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)

 ; loading svm.scm ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
 Error: (load) unable to load compiled module
 /home/cowboyneal/lib/chicken/3/libsvm_core.so
 /home/cowboyneal/lib/libsvm.so.1: undefined symbol: __cxa_pure_virtual
 --

 I dug around the Internet a bit and found it might be related
 to libsupc++ so I edited the libsvm egg build to add it, see below.
 (again I'm not an expert at this stuff).

 I reran the setup (by untarring the egg and running chicken-setup)
 and got ..

 --
 [EMAIL PROTECTED] libsvm]$ chicken-setup
   /home/cowboyneal/bin/csc -feature compiling-extension -s -O2
 libsvm_core.scm libsvm_core_wrap.c -lsvm -lsupc++
 -I/usr/include/libsvm-2.0/libsvm /home/cowboyneal/bin/csc -feature
 compiling-extension -s -O2 libsvm.scm rm -fr
 /home/cowboyneal/lib/chicken/3/libsvm.so
   cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
   chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
   rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
   cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
   chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
   chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.setup-info
 --

 All seemed well until I ran the test code ..
 which ended with a SegFault.

 --
 [EMAIL PROTECTED] ~]$ csi svm.scm
 CHICKEN
 (c)2008 The Chicken Team
 (c)2000-2007 Felix L. Winkelmann
 Version 3.1.0 - linux-unix-gnu-x86      [ manyargs dload ptables applyhook
 ] SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)
 ; loading svm.scm ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
 ; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
 Segmentation fault
 --

 Looks like 

Re: [Chicken-users] libsvm egg install problem

2008-06-02 Thread Tom Poliquin
Dashi,

Thanks for the reply .. and sorry for my delay
(startup deadline) ..

 Tom Poliquin wrote:
  I'm trying to install the libsvm egg and not
  having much success.
 

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


I tried it out and still having difficulties (albeit different ones :-) )

Here's the output of chicken-setup .. 

--
[EMAIL PROTECTED] chicken]$ chicken-setup libsvm

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_core.scm 
l
ibsvm_core_wrap.c -lsvm -I/usr/include/libsvm-2.0/libsvm
  /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm.scm
Warning: extension `libsvm_core' is currently not installed
  rm -fr /home/cowboyneal/lib/chicken/3/libsvm.so
  cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
  chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
  rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
  cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
  chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
--

I ran it and got an undefined symbol .. __cxa_pure_virtual

--
[EMAIL PROTECTED] ~]$ csi svm.scm

CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.1.0 - linux-unix-gnu-x86  [ manyargs dload ptables applyhook ]
SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)

; loading svm.scm ...
; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
Error: (load) unable to load compiled module
/home/cowboyneal/lib/chicken/3/libsvm_core.so
/home/cowboyneal/lib/libsvm.so.1: undefined symbol: __cxa_pure_virtual
--

I dug around the Internet a bit and found it might be related
to libsupc++ so I edited the libsvm egg build to add it, see below.
(again I'm not an expert at this stuff).

I reran the setup (by untarring the egg and running chicken-setup) 
and got ..

--
[EMAIL PROTECTED] libsvm]$ chicken-setup
  /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm_core.scm 
libsvm_core_wrap.c -lsvm -lsupc++ -I/usr/include/libsvm-2.0/libsvm
  /home/cowboyneal/bin/csc -feature compiling-extension -s -O2 libsvm.scm
  rm -fr /home/cowboyneal/lib/chicken/3/libsvm.so
  cp -r libsvm.so /home/cowboyneal/lib/chicken/3/libsvm.so
  chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.so
  rm -fr /home/cowboyneal/lib/chicken/3/libsvm_core.so
  cp -r libsvm_core.so /home/cowboyneal/lib/chicken/3/libsvm_core.so
  chmod a+r /home/cowboyneal/lib/chicken/3/libsvm_core.so
  chmod a+r /home/cowboyneal/lib/chicken/3/libsvm.setup-info
--

All seemed well until I ran the test code ..
which ended with a SegFault.

--
[EMAIL PROTECTED] ~]$ csi svm.scm
CHICKEN
(c)2008 The Chicken Team
(c)2000-2007 Felix L. Winkelmann
Version 3.1.0 - linux-unix-gnu-x86  [ manyargs dload ptables applyhook ]
SVN rev. 10106  compiled 2008-05-20 on giliath (Linux)
; loading svm.scm ...
; loading /home/cowboyneal/lib/chicken/3/libsvm.so ...
; loading /home/cowboyneal/lib/chicken/3/libsvm_core.so ...
Segmentation fault
--

Looks like it's dying when loading the actual libsvm.so.1 ..
Did I mess up in building it?

  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

Any thoughts appreciated ..

Tom



On Wednesday 28 May 2008 04:39, Daishi Kato wrote:
 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 

Re: [Chicken-users] libsvm egg install problem

2008-05-28 Thread Daishi Kato
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
 Chicken-users@nongnu.org
 http://lists.nongnu.org/mailman/listinfo/chicken-users
 
 **
  XREA.COM -Free Web Hosting-
  http://www.xrea.com/
 **


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] libsvm egg install problem

2008-05-27 Thread Tom Poliquin
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
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users


[Chicken-users] libsvm egg

2007-12-08 Thread Daishi Kato
Hi all!

I made an wrapper egg for libsvm.
http://www.csie.ntu.edu.tw/~cjlin/libsvm

It's pretty straightforward based on SWIG,
but it would be really nice if someone could review it,
especially around set-finalizer!.
I'm also sure some objects are not properly freed
when an error occurs.

The code is in a svn repo.

Thanks,
Daishi


___
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users