Forum: Ruby installing jekyll failed on win7(failed on redcarpet)

2853dcfa81b2519771bc048d23ec9b94?d=identicon&s=25 "唐方爽" <fstang235@gmail.com> (Guest)
on 2013-09-06 18:52
(Received via mailing list)
Hi,

I am trying to install Jekyll on my windows 7(32bit), but failed.

My ruby version is: ruby 2.0.0p247 (2013-06-27) [i386-mingw32]

Iv installed the DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe as instructed

I have MinGW installed in D:/Program Files (there is a space in the
path) before I install ruby and devkit. Is this the cause?

When I ran gem install Jekyll, I get the following:



Temporarily enhancing PATH to include DevKit...

Building native extensions.  This could take a while...

ERROR:  Error installing jekyll:

        ERROR: Failed to build gem native extension.



    D:/Ruby200/bin/ruby.exe extconf.rb

creating Makefile



make "DESTDIR="

generating redcarpet-i386-mingw32.def

compiling autolink.c

compiling buffer.c

compiling houdini_href_e.c

compiling houdini_html_e.c

compiling html.c

compiling html_smartypants.c

compiling markdown.c

compiling rc_markdown.c

rc_markdown.c: In function 'rb_redcarpet_md_render':

rc_markdown.c:126:3: warning: pointer targets in passing argument 2 of
'sd_markd

own_render' differ in signedness

markdown.h:124:1: note: expected 'const uint8_t *' but argument is of
type
'char

*'

rc_markdown.c:129:2: warning: pointer targets in passing argument 1 of
'rb_enc_s

tr_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t *'

compiling rc_render.c

rc_render.c: In function 'rndr_blockcode':

rc_render.c:52:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:52:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_blockquote':

rc_render.c:58:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_raw_block':

rc_render.c:64:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_header':

rc_render.c:70:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_list':

rc_render.c:82:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_listitem':

rc_render.c:89:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_paragraph':

rc_render.c:96:2: warning: pointer targets in passing argument 1 of
'rb_enc_str_

new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_table':

rc_render.c:102:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:102:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_tablerow':

rc_render.c:108:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_tablecell':

rc_render.c:134:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_autolink':

rc_render.c:146:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_codespan':

rc_render.c:153:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_double_emphasis':

rc_render.c:159:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_emphasis':

rc_render.c:165:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_image':

rc_render.c:171:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:171:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:171:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_link':

rc_render.c:183:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:183:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c:183:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_raw_html':

rc_render.c:189:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_triple_emphasis':

rc_render.c:195:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_strikethrough':

rc_render.c:201:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_superscript':

rc_render.c:207:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_entity':

rc_render.c:216:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rndr_normal_text':

rc_render.c:222:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t * const'

rc_render.c: In function 'rb_redcarpet_smartypants_render':

rc_render.c:440:52: warning: pointer targets in passing argument 2 of
'sdhtml_sm

artypants' differ in signedness

html.h:70:1: note: expected 'const uint8_t *' but argument is of type
'char
*'

rc_render.c:441:2: warning: pointer targets in passing argument 1 of
'rb_enc_str

_new' differ in signedness

d:/Ruby200/include/ruby-2.0.0/ruby/encoding.h:100:7: note: expected
'const
char

*' but argument is of type 'uint8_t *'

compiling stack.c

linking shared-object redcarpet.so

D:/Program
Files/MinGW/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x3f4):
unde

fined reference to `__chkstk_ms'

D:/Program
Files/MinGW/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x66f):
unde

fined reference to `__chkstk_ms'

D:/Program
Files/MinGW/lib/libmingwex.a(pformat.o):pformat.c:(.text+0xa94):
unde

fined reference to `__chkstk_ms'

D:/Program
Files/MinGW/lib/libmingwex.a(pformat.o):pformat.c:(.text+0x13df):
und

efined reference to `__chkstk_ms'

collect2: ld returned 1 exit status

make: *** [redcarpet.so] Error 1





Gem files will remain installed in
D:/Ruby200/lib/ruby/gems/2.0.0/gems/redcarpet

-2.2.2 for inspection.

Results logged to
D:/Ruby200/lib/ruby/gems/2.0.0/gems/redcarpet-2.2.2/ext/redcar

pet/gem_make.out



(actually this is not the message I got when I ran this command for the
first time, so there is no such thing like fetching XX, successfully
installing XXfetching redcarpet)I searched a lot, thinking this may be
related to https://github.com/rubygems/rubygems/issues/594
https://github.com/oneclick/rubyinstaller/issues/183, but I dont know
how
to solve this.



Thanks!
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.