K
Kero
Hi all!
Cross Compiled Ruby on i386 with an arm-linux-suite, after I had to add
__const to the declaration and implementation of gai_strerror(), like is
done in /xcompile/arm/3.3.1/include/netdb.h (why is the function
implemented in Ruby at all??)
Then (after partial install, I can not put everything on the iPAQ)
# cd /mnt/ruby-1.8.1/test
# ruby runner.rb
/usr/lib/ruby/1.8/webrick/httpservlet/cgihandler.rb:23: uninitialized constant Config::LIBDIR (NameError)
from /usr/lib/ruby/1.8/webrick/httpservlet.rb:13:in `require'
from /usr/lib/ruby/1.8/webrick/httpservlet.rb:13
from /usr/lib/ruby/1.8/webrick/httpserver.rb:16:in `require'
from /usr/lib/ruby/1.8/webrick/httpserver.rb:16
from /usr/lib/ruby/1.8/soap/rpc/standaloneServer.rb:28:in `require'
from /usr/lib/ruby/1.8/soap/rpc/standaloneServer.rb:28
from /mnt/iPAQ/Ruby/ruby-1.8.1/test/soap/calc/server.rb:3:in `require'
from /mnt/iPAQ/Ruby/ruby-1.8.1/test/soap/calc/server.rb:3
... 15 levels...
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:54:in `[]'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:183:in `run'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run'
from runner.rb:7
and indeed, it's not defined, but Config::CONFIG["libdir"] is, and even
set to the value of "/usr/lib" which seems sane to me.
I know I'm messing with various paths due to the crosscompiling, and I
guess the question is this: who generates rbconfig.rb ?
Bye,
Kero.
+--- Kero ----------------------- kero@chello@nl ---+
| all the meaningless and empty words I spoke |
| Promises -- The Cranberries |
+--- M38c --- http://httpd.chello.nl/k.vangelder ---+
Cross Compiled Ruby on i386 with an arm-linux-suite, after I had to add
__const to the declaration and implementation of gai_strerror(), like is
done in /xcompile/arm/3.3.1/include/netdb.h (why is the function
implemented in Ruby at all??)
Then (after partial install, I can not put everything on the iPAQ)
# cd /mnt/ruby-1.8.1/test
# ruby runner.rb
/usr/lib/ruby/1.8/webrick/httpservlet/cgihandler.rb:23: uninitialized constant Config::LIBDIR (NameError)
from /usr/lib/ruby/1.8/webrick/httpservlet.rb:13:in `require'
from /usr/lib/ruby/1.8/webrick/httpservlet.rb:13
from /usr/lib/ruby/1.8/webrick/httpserver.rb:16:in `require'
from /usr/lib/ruby/1.8/webrick/httpserver.rb:16
from /usr/lib/ruby/1.8/soap/rpc/standaloneServer.rb:28:in `require'
from /usr/lib/ruby/1.8/soap/rpc/standaloneServer.rb:28
from /mnt/iPAQ/Ruby/ruby-1.8.1/test/soap/calc/server.rb:3:in `require'
from /mnt/iPAQ/Ruby/ruby-1.8.1/test/soap/calc/server.rb:3
... 15 levels...
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:54:in `[]'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:183:in `run'
from /usr/lib/ruby/1.8/test/unit/autorunner.rb:13:in `run'
from runner.rb:7
and indeed, it's not defined, but Config::CONFIG["libdir"] is, and even
set to the value of "/usr/lib" which seems sane to me.
I know I'm messing with various paths due to the crosscompiling, and I
guess the question is this: who generates rbconfig.rb ?
Bye,
Kero.
+--- Kero ----------------------- kero@chello@nl ---+
| all the meaningless and empty words I spoke |
| Promises -- The Cranberries |
+--- M38c --- http://httpd.chello.nl/k.vangelder ---+