Open iquasere opened 4 years ago
So I noticed some packages were missing on my end. After
sudo apt-get install -y ruby-dev
sudo apt-get install -y sqlite3
sudo apt-get install -y libsqlite3-dev
sudo apt-get install -y weka
sudo apt-get install -y libfftw3-dev libfftw3-doc
gem install -y mspire-simulator
I get
Building native extensions. This could take a while...
ERROR: Error installing mspire-simulator:
ERROR: Failed to build gem native extension.
current directory: /var/lib/gems/2.5.0/gems/sqlite3-1.3.6/ext/sqlite3
/usr/bin/ruby2.5 -r ./siteconf20191217-9054-iz3xor.rb extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for sqlite3_initialize()... yes
checking for sqlite3_backup_init()... yes
checking for sqlite3_column_database_name()... yes
checking for sqlite3_enable_load_extension()... yes
checking for sqlite3_load_extension()... yes
checking for sqlite3_open_v2()... yes
checking for sqlite3_prepare_v2()... yes
checking for sqlite3_int64 in sqlite3.h... yes
checking for sqlite3_uint64 in sqlite3.h... yes
creating Makefile
current directory: /var/lib/gems/2.5.0/gems/sqlite3-1.3.6/ext/sqlite3
make "DESTDIR=" clean
current directory: /var/lib/gems/2.5.0/gems/sqlite3-1.3.6/ext/sqlite3
make "DESTDIR="
compiling backup.c
compiling database.c
compiling exception.c
compiling sqlite3.c
compiling statement.c
In file included from statement.c:1:0:
statement.c: In function ‘bind_param’:
./sqlite3_ruby.h:16:24: warning: implicit declaration of function ‘RBIGNUM’; did you mean ‘T_BIGNUM’? [-Wimplicit-function-declaration]
#define RBIGNUM_LEN(x) RBIGNUM(x)->len
^
statement.c:262:11: note: in expansion of macro ‘RBIGNUM_LEN’
if (RBIGNUM_LEN(value) * SIZEOF_BDIGITS <= 8) {
^~~~~~~~~~~
./sqlite3_ruby.h:16:34: error: invalid type argument of ‘->’ (have ‘int’)
#define RBIGNUM_LEN(x) RBIGNUM(x)->len
^
statement.c:262:11: note: in expansion of macro ‘RBIGNUM_LEN’
if (RBIGNUM_LEN(value) * SIZEOF_BDIGITS <= 8) {
^~~~~~~~~~~
statement.c:262:32: error: ‘SIZEOF_BDIGITS’ undeclared (first use in this function); did you mean ‘SIZEOF_INT’?
if (RBIGNUM_LEN(value) * SIZEOF_BDIGITS <= 8) {
^~~~~~~~~~~~~~
SIZEOF_INT
statement.c:262:32: note: each undeclared identifier is reported only once for each function it appears in
Makefile:242: recipe for target 'statement.o' failed
make: *** [statement.o] Error 1
make failed, exit code 2
Gem files will remain installed in /var/lib/gems/2.5.0/gems/sqlite3-1.3.6 for inspection.
Results logged to /var/lib/gems/2.5.0/extensions/x86_64-linux/2.5.0/sqlite3-1.3.6/gem_make.out
I'm having exactly the same problem
Greetings
I have been trying to install your tool to simulate MS data, so I installed ruby.
Then attempted to install mspire-simulator.
And got an error.
Is there a known solution for this issue?