I recently upgraded my Ubuntu to Dapper. I am trying to compile ruby on
it. After running configure I edit the ext/Setup file and uncomment the
following lines:
digest
digest/md5
openssl
readline
stringio
zlib
and then I run make which fails with following message
any reason you are not using apt? i actually got ruby on dapper by
apt-get install ruby1.8
then made a symlink to /usr/bin/ruby
hope this helps
···
On 8/15/06, Navjeet Chabbewal <navjeetc@gmail.com> wrote:
I recently upgraded my Ubuntu to Dapper. I am trying to compile ruby on
it. After running configure I edit the ext/Setup file and uncomment the
following lines:
digest
digest/md5
openssl
readline
stringio
zlib
and then I run make which fails with following message
I think if you just do "apt-get build-dep ruby" you should be able to
compile it.
cam
···
On 8/15/06, Navjeet Chabbewal <navjeetc@gmail.com> wrote:
I recently upgraded my Ubuntu to Dapper. I am trying to compile ruby on
it. After running configure I edit the ext/Setup file and uncomment the
following lines:
digest
digest/md5
openssl
readline
stringio
zlib
and then I run make which fails with following message
I recently upgraded my Ubuntu to Dapper. I am trying to compile ruby on it. After running configure I edit the ext/Setup file and uncomment the following lines:
digest
digest/md5
openssl
readline
stringio
zlib
Maybe you want to use --disable-FEATURE as options to configure.sh instead of updating setup?
On 8/15/06, Navjeet Chabbewal <navjeetc@gmail.com> wrote:
I recently upgraded my Ubuntu to Dapper. I am trying to compile ruby on
it. After running configure I edit the ext/Setup file and uncomment the
following lines:
digest
digest/md5
openssl
readline
stringio
zlib
and then I run make which fails with following message
any reason you are not using apt? i actually got ruby on dapper by
apt-get install ruby1.8
then made a symlink to /usr/bin/ruby
hope this helps
Well I did that finally which took care of ruby but now I have similar
9if not same) problem when running ruby setup.rb to build rubygems as
shown below:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so:
/usr/local/lib/ruby/1.8/i686-linux/digest/md5.so: undefined symbol:
rb_Digest_MD5_Init - /usr/local/lib/ruby/1.8/i686-linux/digest/md5.so
(LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:10
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:7
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:93:in
`manage_gems'
from /home/navjeet/rubygems-0.9.0/./post-install.rb:70:in
`install_sources'
from /home/navjeet/rubygems-0.9.0/./post-install.rb:81:in
`try_run_hook'
from setup.rb:577:in `run_hook'
from setup.rb:1315:in `exec_task_traverse'
from setup.rb:1168:in `exec_install'
from setup.rb:887:in `exec_install'
from setup.rb:705:in `invoke'
from setup.rb:674:in `invoke'
The ruby has been installed now using apt-get, but similar issue is
there running ruby setup.rb in rubygems source code as I mention above.
If i understand you correctly, you have installed the ubuntu packages
of ruby? In that case, the errors you are getting from setup.rb
indicate that it is trying to use the stuff that you compiled yourself
in /usr/local/lib/ ... maybe you should delete that stuff and try
again.
The ruby has been installed now using apt-get, but similar issue is
there running ruby setup.rb in rubygems source code as I mention above.
If i understand you correctly, you have installed the ubuntu packages
of ruby? In that case, the errors you are getting from setup.rb
indicate that it is trying to use the stuff that you compiled yourself
in /usr/local/lib/ ... maybe you should delete that stuff and try
again.
cam
Well thanks for that clue Cameron. I did the ultimate, blew away
/user/local/lib/ruby and started with a fresh install using apt-get and
so far ruby, gems and rails are up and running.