Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Cannot install awestruct with Ruby 1.8 on Ubuntu 11.10

View Awestruct install
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
$ sudo gem install awestruct
Building native extensions. This could take a while...
ERROR: Error installing awestruct:
ERROR: Failed to build gem native extension.
 
/usr/bin/ruby1.8 extconf.rb
checking for main() in -lc... yes
creating Makefile
 
make
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -O0 -Wall -Werror -c redcloth_scan.c
gcc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -O0 -Wall -Werror -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 /var/lib/gems/1.8/gems/RedCloth-4.2.5 for inspection.
Results logged to /var/lib/gems/1.8/gems/RedCloth-4.2.5/ext/redcloth_scan/gem_make.out
View Awestruct install
1 2
$ ruby --version
ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.