[Chicago] Making Website for a Python Class

steve at cugnet.net steve at cugnet.net
Tue Sep 24 18:04:30 CEST 2013


Why use a ruby app when there is a python one to do the job?  


http://danielfrg.github.io/blog/2013/02/16/blogging-pelican-ipython-notebook/


To install pelican, just run: pip install pelican


💗 the pelican 😊



From: Ross Heflin
Sent: ‎Tuesday‎, ‎September‎ ‎24‎, ‎2013 ‎10‎:‎54‎ ‎AM
To: The Chicago Python Users Group


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 list
Chicago at python.org
https://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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chicago/attachments/20130924/ac12634f/attachment.html>


More information about the Chicago mailing list