I cannot get webgen 5.4 to work because rdiscount does not install.
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby 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=d:/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 d:/ruby/lib/ruby/gems/1.8/gems/
rdiscount-1.2.9
Results logged to d:/ruby/lib/ruby/gems/1.8/gems/rdiscount-1.2.9/ext/
gem_make.out
I also do not the development option on the Windows version of gem
install, so I used a force to install 5.4 which worked but when
running webgen it fails because the rdiscount dependancy is not
available.
Suggestions or ideas?
I cannot get webgen 5.4 to work because rdiscount does not install.
Building native extensions. This could take a while...
ERROR: While executing gem ... (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.
ruby 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=d:/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 d:/ruby/lib/ruby/gems/1.8/gems/
rdiscount-1.2.9
Results logged to d:/ruby/lib/ruby/gems/1.8/gems/rdiscount-1.2.9/ext/
gem_make.out
I also do not the development option on the Windows version of gem
install, so I used a force to install 5.4 which worked but when
running webgen it fails because the rdiscount dependancy is not
available.
Suggestions or ideas?
Forgot to post the error when I try to run webgen.
d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:304:in
`report_activate_error'': Could not find RubyGem rdiscount (>= 1.2.9)
(Gem::
LoadError)
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:238:in
`activate''
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:264:in
`activate''
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:263:in `each''
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:263:in
`activate''
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:76:in
`active_gem_with_options''
from d:/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:50:in `gem''
from d:/ruby/bin/webgen:15
Am Thu, 11 Sep 2008 19:53:48 -0700 (PDT) schrieb Sven <sven.was.here at gmail.com>:> I cannot get webgen 5.4 to work because rdiscount does not install. > <SNIP> > I also do not the development option on the Windows version of gem > install, so I used a force to install 5.4 which worked but when > running webgen it fails because the rdiscount dependancy is not > available.You can install webgen via the .zip/.tar.gz bundles for the time being. Just download them and then run rake install. That should do the trick. -- Thomas
Am Fri, 12 Sep 2008 11:37:50 +0200 schrieb Thomas Leitner <t_leitner at gmx.at>:> Am Thu, 11 Sep 2008 19:53:48 -0700 (PDT) > schrieb Sven <sven.was.here at gmail.com>: > > > I cannot get webgen 5.4 to work because rdiscount does not install. > > <SNIP> > > I also do not the development option on the Windows version of gem > > install, so I used a force to install 5.4 which worked but when > > running webgen it fails because the rdiscount dependancy is not > > available. > > You can install webgen via the .zip/.tar.gz bundles for the time > being. Just download them and then run rake install. That should do > the trick.Or you can update your rubgems installation to the current development version since the devel version of Rubygems has the bug with the dependencies already fixed. -- Thomas