
RedCloth don't install
Reported by pablouesc | October 19th, 2011 @ 02:23 PM
When I try to install RedCloth trough rubygems i receive this message erro:
gem install RedCloth -v '4.2.7'
Building native extensions. This could take a while...
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I. -I/usr/include/ruby-1.9.1/i686-linux
-I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1
-I. -D_FILE_OFFSET_BITS=64 -fPIC -fno-strict-aliasing -g -g -O2
-fPIC -O0 -Wall -Werror -o redcloth_attributes.o -c
redcloth_attributes.c
ragel/redcloth_attributes.c.rl: In function
'redcloth_attribute_parser':
ragel/redcloth_attributes.c.rl:26:11: error: variable 'act' set but
not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors
make: *** [redcloth_attributes.o] Error 1
Gem files will remain installed in
/usr/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.7 for inspection.
Results logged to
/usr/lib/ruby/gems/1.9.1/gems/RedCloth-4.2.7/ext/redcloth_scan/gem_make.out
I'm on Ubuntu Server 11.10 32-bit, with ruby 1.9.1 and rubygems 1.8.10
Comments and changes to this ticket
-
TheOldFellow December 24th, 2011 @ 06:21 AM
I have this exactly the same on Linux Mint 12 (not surprisingly).
-
Florian Konnertz January 22nd, 2012 @ 02:34 PM
http://stackoverflow.com/questions/6761670/is-there-any-way-to-chan...
gem install RedCloth -- --with-cflags="-O2 -pipe -march=native -Wno-unused-but-set-variable"
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
RedCloth is a Ruby library for converting Textile into HTML