-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiling in Quantal (Ubuntu 12.10) #7
Comments
PS. If I try to install the gem from this repo, and not the 'libsvm-ruby-swig', I also get a bunch of errors like the following: libsvm_wrap.cxx: In function ‘VALUE _wrap_svm_parameter_svm_type_set(int, VALUE*, VALUE)’: These are the same as in many other gems, e.g. eventmachine/eventmachine#345 - should be an easy enough fix. Cheers |
I think this was fixed in liblinear-ruby-swig with this pull request tomz/liblinear-ruby-swig@719b307, looks like we have the same issue here, feel free to patch it the same way. I will take a look at this once I have a dev environment set up for Ubuntu 12.10 |
This fixes issue tomz#7 that involves problems compiling in Ubuntu 12.10.
+1 please relook at this. More and more folks on Ubuntu 12.10 now |
👍 |
+1 Error message on Ubuntu 14.10:
|
+1. Ubuntu 14.04 |
...thankfully user EbookGlue has a fork that fixes this. The following worked on Ubuntu 14.04:
|
Getting these errors:
make
compiling libsvm_wrap.cxx
libsvm_wrap.cxx: In function ‘void SWIG_Ruby_define_class(swig_type_info_)’:
libsvm_wrap.cxx:1284:9: warning: variable ‘klass’ set but not used [-Wunused-but-set-variable]
libsvm_wrap.cxx: In function ‘int SWIG_AsCharPtrAndSize(VALUE, char__, size_t_, int_)’:
libsvm_wrap.cxx:1707:30: error: ‘STR2CSTR’ was not declared in this scope
make: *_* [libsvm_wrap.o] Error 1
Any idea how to fix?
The text was updated successfully, but these errors were encountered: