I'm trying to set up a fork of Insoshi on Cygwin and ran into the same
problem - rdiscount won't install.
On Aug 2, 1:34 am, "Michael Hartl" <[EMAIL PROTECTED]> wrote:
> rdiscount is a new Markdown library we just switched to, replacing
> (the very slow) BlueCloth. It builds from C source, though, so I
> wouldn't be surprised if Windows users have some trouble. (Catching
> stuff like this is why we have edge Insoshi.) As far as the crypto
> library goes, I don't know. Has anyone had these same troubles?
>
> Maybe try running the installation under Cygwin and seeing how that goes.
>
> Michael
>
>
>
> On Fri, Aug 1, 2008 at 12:05 AM, tates <[EMAIL PROTECTED]> wrote:
>
> > Who can help me find the problem?
> > Thanks a lot!
>
> >>rake install
> > (in C:/rails/railsapp/insoshi)
> > rake install
> > These gems that this application depends on are missing:
> > - rdiscount
> > Run "rake gems:install" to install them.
> > rake aborted!
> > uninitialized constant CreateLocalKeys::Crypto
>
> > (See full trace by running task with --trace)
>
> >>rake gems:install
> > rake gems:install
> > (in C:/rails/railsapp/insoshi)
> > gem.bat install rdiscount
> > ERROR: Error installing rdiscount:
> > ERROR: Failed to build gem native extension.
>
> > c:/ruby/bin/ruby.exe extconf.rb install rdiscount
> > checking for random()... no
> > checking for srandom()... no
> > checking for funopen()... no
> > checking for fopencookie()... no
> > *** extconf.rb failed ***
> > Could not create Makefile due to some reason, probably lack of
> > necessary libraries and/or headers. Check the mkmf.log file for more
> > details. You may need configuration options.
>
> > Provided configuration options:
> > --with-opt-dir
> > --without-opt-dir
> > --with-opt-include
> > --without-opt-include=${opt-dir}/include
> > --with-opt-lib
> > --without-opt-lib=${opt-dir}/lib
> > --with-make-prog
> > --srcdir=.
> > --curdir
> > --ruby=c:/ruby/bin/ruby
> > --with-rdiscount-dir
> > --without-rdiscount-dir
> > --with-rdiscount-include
> > --without-rdiscount-include=${rdiscount-dir}/include
> > --with-rdiscount-lib
> > --without-rdiscount-lib=${rdiscount-dir}/lib
> > extconf.rb:11: No funopen or fopencookie support available.
> > (RuntimeError)
>
> > Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/
> > rdiscount-1.2.6.2 for inspection.
> > Results logged to c:/ruby/lib/ruby/gems/1.8/gems/rdiscount-1.2.6.2/ext/
> > gem_make.out
> > Building native extensions. This could take a while...
>
> --
> Michael Hartl
> Insoshi social softwarehttp://insoshi.com/
--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/
You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---