# Installing RedCloth gem on ubuntu 9.04 64 -bit

**URL:** <https://www.ruby-forum.com/t/installing-redcloth-gem-on-ubuntu-9-04-64-bit/172642>\
**Category:** Ruby\
**Created:** [July 24, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/installing-redcloth-gem-on-ubuntu-9-04-64-bit/172642 "2009-07-24T13:11:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhawal\_bhavsar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b9bd4f/32.png) [@dhawal\_bhavsar](https://www.ruby-forum.com/u/dhawal_bhavsar)\
**Post date:** [July 24, 2009, 1:11pm UTC](https://www.ruby-forum.com/t/installing-redcloth-gem-on-ubuntu-9-04-64-bit/172642/1 "2009-07-24T13:11:56Z")

</div>

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
