Package Details: libsvm 3.23-7

Git Clone URL: https://aur.archlinux.org/libsvm.git (read-only)
Package Base: libsvm
Description: A library for Support Vector Machines classification (includes binaries and bindings for python and java)
Upstream URL: https://www.csie.ntu.edu.tw/~cjlin/libsvm/
Licenses: BSD
Submitter: ElCerdo
Maintainer: dbermond
Last Packager: dbermond
Votes: 45
Popularity: 0.011171
First Submitted: 2009-11-10 12:00
Last Updated: 2019-05-18 18:07

Latest Comments

« First ‹ Previous 1 2 3

dlin commented on 2012-11-07 05:01

From: maintainer

Please remove your old/fixed comment to keep this page clean.

PKGBUILD Change Log
2012/11/07 3.13-1 upgrade
2012/04/20 3.12-2 fixed the compile problem on gcc 4.7

dlin commented on 2012-04-20 06:25

From: maintainer

Please remove your old/fixed comment to keep this page clean.

PKGBUILD Change Log
2012/04/20 3.12-2 fixed the compile problem on gcc 4.7

allencch commented on 2012-04-19 11:44

dlin, mine is gcc 4.7.0-4

dlin commented on 2012-04-19 08:29

allencch,
I could compile on x86_64 without any problem.
Have you do system upgrade? What's your gcc version?

$ gcc --version
gcc (GCC) 4.6.3

==> Starting build()...
g++ -Wall -Wconversion -O3 -fPIC -c svm.cpp
g++ -Wall -Wconversion -O3 -fPIC svm-scale.c -o svm-scale
if [ "Linux" = "Darwin" ]; then \
SHARED_LIB_FLAG="-dynamiclib -W1,-install_name,libsvm.so.2"; \
else \
SHARED_LIB_FLAG="-shared -W1,-soname,libsvm.so.2"; \
fi; \
g++ ${SHARED_LIB_FLAG} svm.o -o libsvm.so.2
g++ -Wall -Wconversion -O3 -fPIC svm-train.c svm.o -o svm-train -lm
g++ -Wall -Wconversion -O3 -fPIC svm-predict.c svm.o -o svm-predict -lm
Finished making: libsvm 3.12-1 (Thu Apr 19 16:25:18 CST 2012)

allencch commented on 2012-04-19 01:58

g++: error: unrecognized command line option ‘-W1,-soname,libsvm.so.2’
make: *** [lib] Error 1

Solution, edit the PKGBUILD,
cd "$srcdir/$pkgname-$pkgver"
sed -ie 's/W1/Wl/g' Makefile #Add this one
make lib all

dlin commented on 2011-12-14 14:14

@majiq
I'm trying to solve it. I've read the man page again.
I think the PKGBUILD's syntax is correct.
I can not reproduce your problem on my machine.

Anonymous comment on 2011-12-12 06:57

I get this error with the current PKGBUILD. Removing from the colon to the end fixed it. I'm not sure how to annotate the optdepends. Perhaps put each item on a separate line and use comments to indicate the purpose of the optional dependency?


==> ERROR: Invalid syntax for optdepend : 'python:bindings for latest python version'

dlin commented on 2011-05-30 04:51

Version 3.1 has been released, please update.

Anonymous comment on 2011-01-05 09:49

Updated for 3.0 :)

PKGBUILD: http://aur.pastebin.com/WJpmSGZv
setup.py: http://aur.pastebin.com/BXRYUTpf (there should be a newline at end of file, but pastebin won't let me put one)

lrm commented on 2010-12-30 13:25

Version 3.0 has been released. Can you update the package?