From: Sebastiaan Kamp Date: 2009-01-18T21:33:25+09:00 Subject: installing weft-qda / sqlite-ruby on linpus Hello everyone, This is my first post here, and I'm not even sure it's in the right place, but here goes... I have an Acer Aspire One laptop, running Linpus, and I want to install weft-qda on it (http://www.pressure.to/qda/). It has sqlite-ruby as a dependency. GEM offers to install either sqlite-ruby version 2.2.3 or 2.2.2, but both fail, with this error: checking for main() in -lsqlite... no checking for sqlite.h... no *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log for more details. You may need configuration options. The mkmf.log file: have_library: checking for main() in -lsqlite... -------------------- no "gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC conftest.c -L"." -L"/usr/lib" -L"/usr/local" -L. -rdynamic -Wl,-export-dynamic -lruby-static -lsqlite -lpthread -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lsqlite collect2: ld returned 1 exit status checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } /* end */ "gcc -o conftest -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC conftest.c -L"." -L"/usr/lib" -L"/usr/local" -L. -rdynamic -Wl,-export-dynamic -lruby-static -lsqlite -lpthread -ldl -lcrypt -lm -lc" /usr/bin/ld: cannot find -lsqlite collect2: ld returned 1 exit status checked program was: /* begin */ 1: /*top*/ 2: int main() { return 0; } 3: int t() { main(); return 0; } /* end */ -------------------- have_header: checking for sqlite.h... -------------------- no "gcc -E -I. -I/usr/lib/ruby/1.8/i386-linux -I. -I/usr/local -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -Wall -fPIC conftest.c -o conftest.i" conftest.c:1:20: error: sqlite.h: No such file or directory checked program was: /* begin */ 1: #include /* end */ -------------------- So I probably need to install some libraries/headers as the error says. So far I've installed: ruby-sqlite3 sqlite-devel pcsqlite-devel libgda-sqlite-devel But it's still not working, I keep getting the same error message, and I have no idea what to do next. If someone could point me in the right direction I would be grateful. Kind regards, Sebastian -- Posted via http://www.ruby-forum.com/.