Hello!
i'm trying to get rails running on tiny core with a sqlite database. the problem is, that i can't build the sqlite3-ruby gem.
i compiled ruby 1.9.1-p129 and build an tce, which works fine. how can i install developer tools under tiny core? (gcc is installed, but doesn't compile, seems like the assembler compiler is missing?)
tc@box:~$ echo "int main(){ return 0;}" > text.c
tc@box:~$ gcc text.c
gcc: error trying to exec 'as': execvp: No such file or directory
tc@box:~$
here is the error message:
tc@box:~/sqlite3-ruby-1.2.4$ ruby setup.rb
---> lib
---> lib/sqlite3
---> lib/sqlite3/driver
---> lib/sqlite3/driver/native
<--- lib/sqlite3/driver/native
---> lib/sqlite3/driver/dl
<--- lib/sqlite3/driver/dl
<--- lib/sqlite3/driver
<--- lib/sqlite3
<--- lib
---> ext
---> ext/sqlite3_api
/usr/local/bin/ruby /home/tc/sqlite3-ruby-1.2.4/ext/sqlite3_api/extconf.rb
checking for fdatasync() in -lrt... /usr/local/lib/ruby/1.9.1/mkmf.rb:362:in `try_do': The complier failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /usr/local/lib/ruby/1.9.1/mkmf.rb:415:in `try_link0'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:419:in `try_link'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:527:in `try_func'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:723:in `block in have_library'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:668:in `block in checking_for'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:274:in `block (2 levels) in postpone'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:274:in `block in postpone'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:248:in `open'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:270:in `postpone'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:667:in `checking_for'
from /usr/local/lib/ruby/1.9.1/mkmf.rb:718:in `have_library'
from /home/tc/sqlite3-ruby-1.2.4/ext/sqlite3_api/extconf.rb:7:in `<main>'
'system /usr/local/bin/ruby /home/tc/sqlite3-ruby-1.2.4/ext/sqlite3_api/extconf.rb ' failed