
Error installing RedCloth 4.2.8
Reported by Jesus Marin | April 6th, 2012 @ 05:32 PM
S.O: ArchLinux 3.2.14-1-ARCH
Ruby -v: 1.9.2-p290
same error trying install RedCloth 4.2.9 in Ruby 1.9.2 or Ruby 1.9.3
$ gem install RedCloth -v 4.2.8 Building native extensions. This
could take a while...
ERROR: Error installing RedCloth:
ERROR: Failed to build gem native extension.
/home/angel/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I.
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-linux
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -fPIC -O0 -Wall -o redcloth_inline.o -c
redcloth_inline.c
ragel/redcloth_inline.c.rl: En la función
‘red_block’:
ragel/redcloth_inline.c.rl:99:9: aviso: se define la variable
‘attr_regs’ pero no se usa
[-Wunused-but-set-variable]
gcc -I.
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-linux
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -fPIC -O0 -Wall -o redcloth_attributes.o -c
redcloth_attributes.c
ragel/redcloth_attributes.c.rl: En la función
‘redcloth_attribute_parser’:
ragel/redcloth_attributes.c.rl:26:11: aviso: se define la variable
‘act’ pero no se usa [-Wunused-but-set-variable]
gcc -I.
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/x86_64-linux
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1/ruby/backward
-I/home/angel/.rvm/rubies/ruby-1.9.2-p290/include/ruby-1.9.1 -I.
-fPIC -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses
-Wpointer-arith -Wwrite-strings -Wno-missing-field-initializers
-Wno-long-long -fPIC -O0 -Wall -o redcloth_scan.o -c
redcloth_scan.c
gcc -shared -o redcloth_scan.so redcloth_inline.o
redcloth_attributes.o redcloth_scan.o -L.
-L/home/angel/.rvm/rubies/ruby-1.9.2-p290/lib
-Wl,-R/home/angel/.rvm/rubies/ruby-1.9.2-p290/lib -L. -rdynamic
-Wl,-export-dynamic -Wl,-R
-Wl,/home/angel/.rvm/rubies/ruby-1.9.2-p290/lib
-L/home/angel/.rvm/rubies/ruby-1.9.2-p290/lib -lruby -lc -lpthread
-lrt -ldl -lcrypt -lm -lc
make install
/bin/install -c -m 0755 redcloth_scan.so
/home/angel/.rvm/gems/ruby-1.9.2-p290/gems/RedCloth-4.2.8/lib make:
/bin/install: No se encontró el programa
make: ***
[/home/angel/.rvm/gems/ruby-1.9.2-p290/gems/RedCloth-4.2.8/lib/redcloth_scan.so]
Error 127
Gem files will remain installed in
/home/angel/.rvm/gems/ruby-1.9.2-p290/gems/RedCloth-4.2.8 for
inspection.
Results logged to
/home/angel/.rvm/gems/ruby-1.9.2-p290/gems/RedCloth-4.2.8/ext/redcloth_scan/gem_make.out
Comments and changes to this ticket
-
Jason Garber April 7th, 2012 @ 07:02 PM
No sé que pasó. Compila perfectamente para mi en OS X, Ruby 1.9.3. No
conozco ArchLinux, entonces no puedo ayudarle. Lo siento!Una versión mejorada que no necesita la compilación viene…a paso de
tortuga. https://github.com/jgarber/redcloth-parsletQue tenga suerte!
-
-
Tao Yang April 15th, 2012 @ 06:26 AM
I also have this question on archlinux + Ruby 1.9.2 + RedCloth 4.2.9.
#Building native extensions. make: /bin/install: Command not found
so:
% which install /usr/bin/install
Workaroud:
ln -s /usr/bin/install /bin/install
-
Jesus Marin April 15th, 2012 @ 11:15 AM
Thanks Tao Yang!!!!
This work for me, I can now install RedCloth (4.2.8 and 4.2.9) without problem in Ruby 1.9.2 and Ruby 1.9.3
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