[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

problem installing gems on ubuntu amd64

Christoph Sturm

2/3/2005 2:46:00 PM

hey ruby people!

i am trying to install rubygems on ubuntu64 warty on amd64. i have all
ruby packages installed, and it fails with a segfault.

this is the end of the log:
...

As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.

/usr/local/lib/site_ruby/1.8/rubygems/package.rb:150: [BUG] Segmentation fault
ruby 1.8.2 (2004-08-24) [x86_64-linux]

Aborted

does anyone have an idea what the problem could be?

thanks
chris


4 Answers

Chad Fowler

2/3/2005 3:59:00 PM

0

On Thu, 3 Feb 2005 23:45:53 +0900, Christoph Sturm
<christoph.sturm@gmail.com> wrote:
> hey ruby people!
>
> i am trying to install rubygems on ubuntu64 warty on amd64. i have all
> ruby packages installed, and it fails with a segfault.
>
> this is the end of the log:
> ...
>
> As of RubyGems 0.8.0, library stubs are no longer needed.
> Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
> ...done.
> No library stubs found.
>
> /usr/local/lib/site_ruby/1.8/rubygems/package.rb:150: [BUG] Segmentation fault
> ruby 1.8.2 (2004-08-24) [x86_64-linux]
>
> Aborted
>
> does anyone have an idea what the problem could be?
>

Weird one. It looks like the problem comes up during an unpack() as
part of the tar code. Could you give Austin Ziegler/Mauricio
Fernandez's minitar library a try? I'd be interested to see if it
also causes a segfault.

http://raa.ruby-lang.org/projec...

Thanks!

--

Chad Fowler
http://chad...
http://rubyc...
http://ruby...
http://rubygems.rub... (over 50,000 gems served!)


Christoph Sturm

2/3/2005 5:41:00 PM

0

hey chad!

i have been told that minitar works on the system.



On Fri, 4 Feb 2005 00:59:04 +0900, Chad Fowler <chadfowler@gmail.com> wrote:
> On Thu, 3 Feb 2005 23:45:53 +0900, Christoph Sturm
> <christoph.sturm@gmail.com> wrote:
> > hey ruby people!
> >
> > i am trying to install rubygems on ubuntu64 warty on amd64. i have all
> > ruby packages installed, and it fails with a segfault.
> >
> > this is the end of the log:
> > ...
> >
> > As of RubyGems 0.8.0, library stubs are no longer needed.
> > Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
> > ...done.
> > No library stubs found.
> >
> > /usr/local/lib/site_ruby/1.8/rubygems/package.rb:150: [BUG] Segmentation fault
> > ruby 1.8.2 (2004-08-24) [x86_64-linux]
> >
> > Aborted
> >
> > does anyone have an idea what the problem could be?
> >
>
> Weird one. It looks like the problem comes up during an unpack() as
> part of the tar code. Could you give Austin Ziegler/Mauricio
> Fernandez's minitar library a try? I'd be interested to see if it
> also causes a segfault.
>
> http://raa.ruby-lang.org/projec...
>
> Thanks!
>
> --
>
> Chad Fowler
> http://chad...
> http://rubyc...
> http://ruby...
> http://rubygems.rub... (over 50,000 gems served!)
>
>


--
christoph.sturm@gmail.com


Chad Fowler

2/8/2005 2:21:00 PM

0

On Fri, 4 Feb 2005 02:41:23 +0900, Christoph Sturm
<christoph.sturm@gmail.com> wrote:
> hey chad!
>
> i have been told that minitar works on the system.
>


Any ruby-core types feel like weighing in on troubleshooting
techniques for this segfault?

Chad

>
> On Fri, 4 Feb 2005 00:59:04 +0900, Chad Fowler <chadfowler@gmail.com> wrote:
> > On Thu, 3 Feb 2005 23:45:53 +0900, Christoph Sturm
> > <christoph.sturm@gmail.com> wrote:
> > > hey ruby people!
> > >
> > > i am trying to install rubygems on ubuntu64 warty on amd64. i have all
> > > ruby packages installed, and it fails with a segfault.
> > >
> > > this is the end of the log:
> > > ...
> > >
> > > As of RubyGems 0.8.0, library stubs are no longer needed.
> > > Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
> > > ...done.
> > > No library stubs found.
> > >
> > > /usr/local/lib/site_ruby/1.8/rubygems/package.rb:150: [BUG] Segmentation fault
> > > ruby 1.8.2 (2004-08-24) [x86_64-linux]
> > >
> > > Aborted
> > >
> > > does anyone have an idea what the problem could be?
> > >
> >
> > Weird one. It looks like the problem comes up during an unpack() as
> > part of the tar code. Could you give Austin Ziegler/Mauricio
> > Fernandez's minitar library a try? I'd be interested to see if it
> > also causes a segfault.
> >
> > http://raa.ruby-lang.org/projec...
> >
> > Thanks!
> >
> > --
> >
> > Chad Fowler
> > http://chad...
> > http://rubyc...
> > http://ruby...
> > http://rubygems.rub... (over 50,000 gems served!)
> >
> >
>
> --
> christoph.sturm@gmail.com
>
>


--

Chad Fowler
http://chad...
http://rubyc...
http://ruby...
http://rubygems.rub... (over 50,000 gems served!)


ts

2/8/2005 4:13:00 PM

0

>>>>> "C" == Chad Fowler <chadfowler@gmail.com> writes:

C> Any ruby-core types feel like weighing in on troubleshooting
C> techniques for this segfault?

No problem with

uln% ruby -v
ruby 1.8.2 (2004-12-25) [x86_64-linux]
uln%

uln% ruby setup.rb
[...]
As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.

Successfully built RubyGem
Name: sources
Version: 0.0.1
File: sources-0.0.1.gem
uln%

>> > > ruby 1.8.2 (2004-08-24) [x86_64-linux]

try to update.

How this ruby was built ?



Guy Decoux