unix - How do I run libsvm on linux? -
i'm having trouble installing libsvm, presently im running via ubuntu virtual machine . when follow instructions such on unix systems, "type make' build the
svm-train' , `svm-predict'programs. run them without arguments show usages of them". following error output: rather new both libsvm , unix systems appreciated.
aaron@aaron-laptop:~$ cd document bash: cd: document: no such file or directory aaron@aaron-laptop:~$ cd documents aaron@aaron-laptop:~/documents$ libsvm-3.12 libsvm-3.12: command not found aaron@aaron-laptop:~/documents$ cd libsvm-3.12 aaron@aaron-laptop:~/documents/libsvm-3.12$ make g++ -wall -wconversion -o3 -fpic -c svm.cpp make: g++: command not found make: *** [svm.o] error 127 aaron@aaron-laptop:~/documents/libsvm-3.12$
open terminal , type these commands in order.
sudo apt-get update sudo apt-get install build-essential
if still doesn't work,
open terminal, type in 'g+' (without quotes) , press button multiple times. show if name of command g++ has been changed or not. (sometimes updating linux changes name of g++ g++-3.x (where x number).
if case, in installation instructions, replace every g++ whatever number got after pressing key.
Comments
Post a Comment