[Chicago] Making Website for a Python Class

Ross Heflin heflin.rosst at gmail.com
Tue Sep 24 17:56:48 CEST 2013


Oren,

got it... you appear to have installed ruby 1.8.... your version of
redcarpet probably wants ruby 1.9 as in
https://github.com/vmg/redcarpet/issues/280

hth,

-Ross


On Tue, Sep 24, 2013 at 10:54 AM, Ross Heflin <heflin.rosst at gmail.com>wrote:

> Oren,
>
> > redcarpet.h:8:27: fatal error: ruby/encoding.h: No such file or directory
> compilation terminated.
>
> I'll take a few minutes and see if I can run this down (in my experience
> ruby devs no longer link against 1.9.1 with 1.9.2, 1.9.3 and 2.0.0
> available)
>
> -Ross
>
>
> On Tue, Sep 24, 2013 at 10:37 AM, Oren Livne <livne at uchicago.edu> wrote:
>
>>  Dear Ross:
>>
>> jekyll installed well, redcarpet could not find a header file.
>>
>> Oren
>>
>> $ sudo gem install jekyll --no-rdoc --no-ri
>>
>> Successfully installed jekyll-1.2.1
>> 1 gem installed
>> $ sudo gem install redcarpet --no-rdoc --no-ri
>> Building native extensions.  This could take a while...
>> ERROR:  Error installing redcarpet:
>>         ERROR: Failed to build gem native extension.
>>
>>         /usr/bin/ruby1.8 extconf.rb
>> creating Makefile
>>
>> make
>> gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux
>> -I. -D_FORTIFY_SOURCE=2   -fPIC -fno-strict-aliasing -g -g -O2  -fPIC
>> -fvisibility=hidden  -c html_smartypants.c
>> gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux
>> -I. -D_FORTIFY_SOURCE=2   -fPIC -fno-strict-aliasing -g -g -O2  -fPIC
>> -fvisibility=hidden  -c autolink.c
>> gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux
>> -I. -D_FORTIFY_SOURCE=2   -fPIC -fno-strict-aliasing -g -g -O2  -fPIC
>> -fvisibility=hidden  -c rc_render.c
>> In file included from rc_render.c:17:0:
>> redcarpet.h:8:27: fatal error: ruby/encoding.h: No such file or directory
>> compilation terminated.
>> make: *** [rc_render.o] Error 1
>>
>>
>> Gem files will remain installed in /var/lib/gems/1.8/gems/redcarpet-3.0.0
>> for inspection.
>> Results logged to
>> /var/lib/gems/1.8/gems/redcarpet-3.0.0/ext/redcarpet/gem_make.out
>>
>>
>> On 9/24/2013 10:24 AM, Ross Heflin wrote:
>>
>>  Oren,
>>
>>  It looks like the gem installed properly, docs just didn't get
>> generated.  try running the binaries that come with jekyll and see they're
>> available.  If they aren't run
>>
>> gem install jekyll redcarpet --no-rdoc --no-ri
>>
>>  -Ross
>>
>>
>>  _______________________________________________
>> Chicago mailing listChicago at python.orghttps://mail.python.org/mailman/listinfo/chicago
>>
>>
>>
>>  --
>> A person is just about as big as the things that make him angry.
>>
>>
>> _______________________________________________
>> Chicago mailing list
>> Chicago at python.org
>> https://mail.python.org/mailman/listinfo/chicago
>>
>>
>
>
> --
> From the "desk" of Ross Heflin
> phone number: (847) <23,504,826th decimal place of pi>
>



-- 
>From the "desk" of Ross Heflin
phone number: (847) <23,504,826th decimal place of pi>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20130924/de926589/attachment.html>


More information about the Chicago mailing list