From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 490057236480 X-Google-Groups: supmua X-Google-Thread: 3030fda1bf,84fc934da9a14f27 X-Google-Attributes: gid3030fda1bf,domainid0,public,googlegroup X-Google-NewGroupId: yes X-Received: by 10.236.1.200 with SMTP id 48mr4749500yhd.41.1425479861533; Wed, 04 Mar 2015 06:37:41 -0800 (PST) X-BeenThere: supmua@googlegroups.com Received: by 10.140.104.241 with SMTP id a104ls724198qgf.11.gmail; Wed, 04 Mar 2015 06:37:41 -0800 (PST) X-Received: by 10.140.101.51 with SMTP id t48mr76116qge.10.1425479861238; Wed, 04 Mar 2015 06:37:41 -0800 (PST) X-Google-Doc-Id: 7bbce5bd924236f2 X-Google-Web-Client: true Date: Wed, 4 Mar 2015 06:37:40 -0800 (PST) From: Jan Winkelmann To: supmua@googlegroups.com Cc: gui-gui@netcourrier.com Message-Id: In-Reply-To: References: Subject: Re: sup broken with ruby 2.2? MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_6368_241822312.1425479860475" X-Google-Token: ELSx3KcF9xQHVS7Ti9s0 X-Google-IP: 134.28.181.89 ------=_Part_6368_241822312.1425479860475 Content-Type: multipart/alternative; boundary="----=_Part_6369_1268537660.1425479860475" ------=_Part_6369_1268537660.1425479860475 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I have the same issue with sup-0.21: [...] Building native extensions. This could take a while... /usr/bin/ruby mkrf_conf_xapian.rb xapian: platform specific dependencies.. xapian: installing xapian-ruby.. ERROR: Error installing sup: ERROR: Failed to build gem native extension. Building has failed. See above output for more information on the failure. rake failed, exit code 1 The patch posted has been merged before 0.21 so I don't think it helped. I'm on Arch Linux using Ruby 2.2.0. Did anyone get it to work? On Tuesday, January 6, 2015 at 11:13:26 AM UTC+1, gui...@netcourrier.com wrote: > > Hello all, > > I updated my system to ruby 2.2 and I can't get sup to work. > At first it didn't work so I figured I needed to recompile it, so I > removed and reinstalled it. However, simply typing 'gem install sup' fails > with this message: > > Fetching: sup-0.20.0.gem (100%) > Building native extensions. This could take a while... > ERROR: Error installing sup: > ERROR: Failed to build gem native extension. > > /usr/bin/ruby mkrf_conf_xapian.rb > xapian: installing xapian-ruby.. > xapian: platform specific dependencies.. > > rake failed, exit code 1 > > Gem files will remain installed in > /home/guiniol/.gem/ruby/2.2.0/gems/sup-0.20.0 for inspection. > Results logged to > /home/guiniol/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/sup-0.20.0/gem_make.out > > > I figured the problem was with xapian, so I tried to first install > xapian-ruby and then sup, which works. However, sup doesn't launch. I get > this error instead: > > /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': > cannot load such file -- dl/import (LoadError) > from /usr/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in > `require' > from /home/guiniol/.gem/ruby/2.2.0/gems/sup-0.20.0/bin/sup:111:in > `' > from /home/guiniol/.gem/ruby/2.2.0/gems/sup-0.20.0/bin/sup:74:in ` (required)>' > from /home/guiniol/.gem/ruby/2.2.0/bin/sup:23:in `load' > from /home/guiniol/.gem/ruby/2.2.0/bin/sup:23:in `
' > > > Has anyone else tried sup with ruby 2.2? Is there anything I can try to > get it to work? > > Cheers, > > Guillaume > ------=_Part_6369_1268537660.1425479860475 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I have the same issue with sup-0.21:

[...]
Building native extensions.  This coul= d take a while...
/u= sr/bin/ruby mkrf_conf_xapian.rb
xapian: platform specific dependencies..
xapian: installing xapian-ruby..
ERROR:  Error installing= sup:
=09ERROR: Failed to build= gem native extension.

   = ; Building has failed. See above output for more information on the failure= .
rake failed, exit = code 1

The patch posted has been merg= ed before 0.21 so I don't think it helped. I'm on Arch Linux using Ruby 2.2= .0.

Did anyone get it to work?

On Tu= esday, January 6, 2015 at 11:13:26 AM UTC+1, gui...@netcourrier.com wrote:<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">
Hello all,

I updated my system to ruby 2.2 and I can't get sup = to work.
At first it didn't work so I figured I needed to recompile it, = so I removed and reinstalled it. However, simply typing 'gem install sup' f= ails with this message:

Fetching: sup-0.20.0.gem (100%)
Building = native extensions.  This could take a while...
ERROR:  Error i= nstalling sup:
    ERROR: Failed to build gem native exte= nsion.

    /usr/bin/ruby mkrf_conf_xapian.rb
xapia= n: installing xapian-ruby..
xapian: platform specific dependencies..
=
rake failed, exit code 1

Gem files will remain installed in /hom= e/guiniol/.gem/ruby/2.2.0/gems/sup-0.20.0 for inspection.
Results l= ogged to /home/guiniol/.gem/ruby/2.2.0/extensions/x86_64-linux/2.2.0/<= wbr>sup-0.20.0/gem_make.out


I figured the problem was with xapia= n, so I tried to first install xapian-ruby and then sup, which works. Howev= er, sup doesn't launch. I get this error instead:

/usr/lib/ruby/2.2.= 0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot loa= d such file -- dl/import (LoadError)
    from /usr/lib/ru= by/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
&= nbsp;   from /home/guiniol/.gem/ruby/2.2.0/gems/sup-0.20.0/b= in/sup:111:in `<module:Redwood>'
    from /home/gui= niol/.gem/ruby/2.2.0/gems/sup-0.20.0/bin/sup:74:in `<top (required)= >'
    from /home/guiniol/.gem/ruby/2.2.0/bin/sup= :23:in `load'
    from /home/guiniol/.gem/ruby/2.2.0/bin/sup:23:in `<main>'


Has anyone else tried sup with rub= y 2.2? Is there anything I can try to get it to work?

Cheers,
Guillaume
------=_Part_6369_1268537660.1425479860475-- ------=_Part_6368_241822312.1425479860475--