installing RedCloth gem on ubuntu 9.04 64 -bit

Discussion in 'Ruby' started by Dhawal Bhavsar, Jul 24, 2009.

  1. Hi i am using ubuntu jaunty 9.04,64 bit on a intel core 2 duo
    i'm usung using ruby 1.8.7 (64-linux) and rubygems 1.3.5
    i have a problem installing RedCloth 4.2.2 gem

    sachin@arjun:~$ sudo gem install RedCloth
    Building native extensions. This could take a while...
    ERROR: Error installing RedCloth:
    ERROR: Failed to build gem native extension.

    /usr/bin/ruby1.8 extconf.rb
    creating Makefile

    make
    cc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux
    -I. -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -O2 -c
    redcloth_scan.c
    ext/redcloth_scan/redcloth_scan.c.rl: In function ‘redcloth_transform’:
    ext/redcloth_scan/redcloth_scan.c.rl:65: internal compiler error:
    Segmentation fault
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
    make: *** [redcloth_scan.o] Error 1

    Gem files will remain installed in
    /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.2 for inspection.
    Results logged to
    /usr/lib/ruby/gems/1.8/gems/RedCloth-4.2.2/ext/redcloth_scan/gem_make.out

    i already have ruby1.8-dev and build-essentials which are requird to
    comile RedCloth gem
    --
    Posted via http://www.ruby-forum.com/.
    Dhawal Bhavsar, Jul 24, 2009
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SPE - Stani's Python Editor
    Replies:
    1
    Views:
    439
    SPE - Stani's Python Editor
    Apr 29, 2008
  2. Jesse Crockett
    Replies:
    7
    Views:
    105
    Jesse Crockett
    Dec 28, 2007
  3. Michael Ulm

    How to get RedCloth on Ubuntu Hardy?

    Michael Ulm, Nov 27, 2008, in forum: Ruby
    Replies:
    1
    Views:
    110
    Florian Gilcher
    Nov 27, 2008
  4. Dale Ackerman

    Gem build issues Ubuntu 9.10 64 bit

    Dale Ackerman, Jan 14, 2010, in forum: Ruby
    Replies:
    2
    Views:
    143
    Eric Christopherson
    Jan 14, 2010
  5. Replies:
    11
    Views:
    355
    Jukka Lahtinen
    Jul 5, 2013
Loading...

Share This Page