Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Ruby (http://www.velocityreviews.com/forums/f66-ruby.html)
-   -   Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1) (http://www.velocityreviews.com/forums/t865227-fast-debugger-ruby-1-9-2-devkit-4-5-0-jdk-6u22-netbeans-6-9-1-a.html)

Allan Chin 11-12-2010 05:56 PM

Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
 
I've been trying to run this configuration in debug mode on my Windows
Vista x86 machine for a few days now with no luck. I do not have Visual
Studio installed. Everytime I try to debug, NetBeans prompts me to
install the Fast Debugger. And if I don't I get translation errors
around the "thread" class. I know that nstalling the Fast Debugger will
make everything work because I have successfully installed and debugged
on my other machine was has Visual Studio installed. I have the
following files

linecache-0.43-mswin32.gem
ruby-debug-base-0.10.3-mswin32.gem

which I can successfully install. But installing "ruby-debug" always
fails and I have tried to "gem install" it with all kinds of switches as
recommended by the many of blogs I've seen on-line but I always get the
same errors...

================================================== =======================
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe mkrf_conf.rb
Building native extensions. This could take a while...


Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/ext/gem_make.out
================================================== =======================

Can someone tell me definitively how to get this guy installed? Or can
somebody instruct me if and how I can move the built native gems from my
Visual Studio dev machine to the non-dev machine?

Much obliged.

--
Posted via http://www.ruby-forum.com/.


Roger Pack 11-13-2010 05:22 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans6.9.1)
 
Allan Chin wrote in post #961043:
> I've been trying to run this configuration in debug mode on my Windows
> Vista x86 machine for a few days now with no luck. I do not have Visual
> Studio installed. Everytime I try to debug, NetBeans prompts me to
> install the Fast Debugger. And if I don't I get translation errors
> around the "thread" class. I know that nstalling the Fast Debugger will
> make everything work because I have successfully installed and debugged
> on my other machine was has Visual Studio installed. I have the
> following files
>
> linecache-0.43-mswin32.gem
> ruby-debug-base-0.10.3-mswin32.gem


These are probably for mswin32 release--you are using mingw I think, so
it may not be compatible.

>
> which I can successfully install. But installing "ruby-debug" always
> fails and I have tried to "gem install" it with all kinds of switches as
> recommended by the many of blogs I've seen on-line but I always get the
> same errors...
>
> ================================================== =======================
> Temporarily enhancing PATH to include DevKit...
> Building native extensions. This could take a while...
> ERROR: Error installing ruby-debug-ide:
> ERROR: Failed to build gem native extension.
>
> C:/Ruby192/bin/ruby.exe mkrf_conf.rb
> Building native extensions. This could take a while...
>
>
> Gem files will remain installed in
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9 for inspection.
> Results logged to
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/ext/gem_make.out
> ================================================== =======================
>
> Can someone tell me definitively how to get this guy installed? Or can
> somebody instruct me if and how I can move the built native gems from my
> Visual Studio dev machine to the non-dev machine?


What are the contents of gem_make.out and mkmf.log?
maybe try installing ruby-debug19 from the command line?

--
Posted via http://www.ruby-forum.com/.


Luis Lavena 11-13-2010 07:30 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
 
On Nov 12, 2:56*pm, Allan Chin <achin5...@hotmail.com> wrote:
> I've been trying to run this configuration in debug mode on my Windows
> Vista x86 machine for a few days now with no luck. I do not have Visual
> Studio installed. Everytime I try to debug, NetBeans prompts me to
> install the Fast Debugger. And if I don't I get translation errors
> around the "thread" class. I know that nstalling the Fast Debugger will
> make everything work because I have successfully installed and debugged
> on my other machine was has Visual Studio installed. I have the
> following files
>
>
> ================================================== =======================
> Temporarily enhancing PATH to include DevKit...
> Building native extensions. *This could take a while...
> ERROR: *Error installing ruby-debug-ide:
> * ERROR: Failed to build gem native extension.
>
> C:/Ruby192/bin/ruby.exe mkrf_conf.rb
> Building native extensions. *This could take a while...
>
> Gem files will remain installed in
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9 for inspection.
> Results logged to
> C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby-debug-ide-0.4.9/ext/gem_make.out
> ================================================== =======================
>
> Can someone tell me definitively how to get this guy installed? Or can
> somebody instruct me if and how I can move the built native gems from my
> Visual Studio dev machine to the non-dev machine?
>


If your Ruby compiled with Visual Studio?

Unless you compiled yourself, I guess not (also it seems RubyInstaller
+ DevKit)

A suggestion?

1. Download RubyInstaller http://rubyinstaller.org/downloads

2. Install it in the recommended directory

3. Download DevKit http://rubyinstaller.org/downloads

4. Extract it to a folder (C:\RubyDevKit for example)

5. Open a command prompt and follow the DevKit installation
instructions: http://github.com/oneclick/rubyinsta...evelopment-Kit

6. gem install ruby-debug (for ruby 1.8) or ruby-debug19 (for Ruby
1.9.x)

Please note that ruby-debug needs to download Ruby source package to
compile it extension. That is because it depends on some Ruby
internals not exposed otherwise.

Due this, it requires an active internet connection.

--
Luis Lavena

Allan Chin 11-15-2010 11:41 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans6.9.1)
 
Ok, I followed Luis' instructions although I unzipped the DevKit right
over the Ruby192 install folder. I did NOT gem install these.

linecache-0.43-mswin32.gem
ruby-debug-base-0.10.3-mswin32.gem

The dev machine which has Visual Studio and the Ruby Fast Debugger has
these gems:

ruby-debug-base19-0.11.24
ruby-debug-ide-0.4.9

So I attempted a gem install of ruby-debug19. I attached the
gem-make.out and the mkmf.log files to this reply. And here is my
output.

================================================== =====================
C:\Ruby192>gem install ruby-debug19 -p http://web-proxy:8080
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
checking for vm_core.h... *** 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
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby192/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in
have_header'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in
checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels)
in postp
one'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in
postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header'
from extconf.rb:15:in `block in <main>'
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby
_core_source.rb:18:in `call'
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby
_core_source.rb:18:in `create_makefile_with_core'
from extconf.rb:20:in `<main>'


Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache
19-0.5.11 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/tra
ce_nums/gem_make.out

C:\Ruby192>
================================================== =====================

Thanks guys.

Attachments:
http://www.ruby-forum.com/attachment/5398/gem_make.out
http://www.ruby-forum.com/attachment/5399/mkmf.log


--
Posted via http://www.ruby-forum.com/.


Luis Lavena 11-16-2010 11:30 AM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
 
On Nov 15, 8:41*pm, Allan Chin <achin5...@hotmail.com> wrote:
> Ok, I followed Luis' instructions although I unzipped the DevKit right
> over the Ruby192 install folder. I did NOT gem install these.
>


If that was the intention, that could have been outlined in the
instructions.

DevKit needs to be separated from Ruby, because it contains files that
could affect a normal functioning system like find.exe, It just need
to be installed so it gets added to the path during gem installation.

> linecache-0.43-mswin32.gem
> ruby-debug-base-0.10.3-mswin32.gem
>


These gems are not the ones used by ruby-debug19, also, you can't
manually install them as they depend on an active internet connection
to download ruby source headers and be able to compile.

> The dev machine which has Visual Studio and the Ruby Fast Debugger has
> these gems:
>
> ruby-debug-base19-0.11.24
> ruby-debug-ide-0.4.9
>
> So I attempted a gem install of ruby-debug19. I attached the
> gem-make.out and the mkmf.log files to this reply. And here is my
> output.
>
> ================================================== =====================
> C:\Ruby192>gem install ruby-debug19 -phttp://web-proxy:8080
> Temporarily enhancing PATH to include DevKit...
> Building native extensions. *This could take a while...
> ERROR: *Error installing ruby-debug19:
> * * * * ERROR: Failed to build gem native extension.
>
> C:/Ruby192/bin/ruby.exe extconf.rb
> checking for vm_core.h... *** 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
> * * * * --without-make-prog
> * * * * --srcdir=.
> * * * * --curdir
> * * * * --ruby=C:/Ruby192/bin/ruby
> * * * * --with-ruby-dir
> * * * * --without-ruby-dir
> * * * * --with-ruby-include
> * * * * --without-ruby-include=${ruby-dir}/include
> * * * * --with-ruby-lib
> * * * * --without-ruby-lib=${ruby-dir}/lib
> C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
> to genera
> te an executable file. (RuntimeError)
> You have to install development tools first.


It is clear here that it didn't find the tools needed to compile the
extension because you didn't properly install the DevKit.

>
> Thanks guys.
>


I did my best to provide you with links and instructions where to put
what and how to install it successfully, yet however you neglected
these instructions and as result still having problems.

Please do not compare your Visual Studio installation or whatever
between machines, I can bet you're not installing the exact same
version of Ruby, and beause you aren't, the results are not
comparable.

Also, please read what I said about the gem versions, the attempts to
install manually/locally and the real need for an active internet
connection.

Please, also read some of the tutorials in the RubyInstaller wiki:

http://github.com/oneclick/rubyinstaller/wiki/Tutorials

Pretty much lot of folks following these instructions had great
success installing Ruby and DevKit and lot of gems.

--
Luis Lavena

Allan Chin 11-16-2010 06:30 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans6.9.1)
 
I only copied the DevKit over the existing Ruby install because there
were a few blogs which mentioned to do that. But at any rate, I
installed the DevKit in a separate folder and installed it via the
"init" and "install" scripts. They worked ok, but the ruby-debug19 seems
to fail the same way.

================================================== ========================

D:\Downloads\Ruby\DevKit>ruby dk.rb init
[INFO] found RubyInstaller v1.9.2 at C:/Ruby192

Initialization complete! Please review and modify the auto-generated
'config.yml' file to ensure it contains the root directories to all
of the installed Rubies you want enhanced by the DevKit.

D:\Downloads\Ruby\DevKit>ruby dk.rb install
[INFO] Installing
C:/Ruby192/lib/ruby/1.9.1/rubygems/defaults/operating_system.r
b
[INFO] Installing C:/Ruby192/lib/ruby/site_ruby/devkit.rb

D:\Downloads\Ruby\DevKit>gem install ruby-debug19 -p
http://web-proxy:8080
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug19:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
checking for vm_core.h... *** 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
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby192/bin/ruby
--with-ruby-dir
--without-ruby-dir
--with-ruby-include
--without-ruby-include=${ruby-dir}/include
--with-ruby-lib
--without-ruby-lib=${ruby-dir}/lib
C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:452:in `try_cpp'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:834:in `block in
have_header'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in
checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels)
in postp
one'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in
postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:833:in `have_header'
from extconf.rb:15:in `block in <main>'
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby
_core_source.rb:18:in `call'
from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/ruby_core_source-0.1.4/lib/ruby
_core_source.rb:18:in `create_makefile_with_core'
from extconf.rb:20:in `<main>'


Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache
19-0.5.11 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/linecache19-0.5.11/ext/tra
ce_nums/gem_make.out

D:\Downloads\Ruby\DevKit>
================================================== ========================

By the way, the "smoke test", gem install rdiscount --platform=Ruby -p
http://web-proxy:8080 fails the same way.

--
Posted via http://www.ruby-forum.com/.


Roger Pack 11-16-2010 07:12 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans6.9.1)
 
I've had the same failure (1.9.2 only) at times, but never looked at it
close enough to know why...(that's with gcc on the path, so it's no lack
of dev tools...)

--
Posted via http://www.ruby-forum.com/.


Luis Lavena 11-16-2010 10:35 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
 
On Nov 16, 3:30*pm, Allan Chin <achin5...@hotmail.com> wrote:
>
> I only copied the DevKit over the existing Ruby install because there
> were a few blogs which mentioned to do that. But at any rate, I
> installed the DevKit in a separate folder and installed it via the
> "init" and "install" scripts. They worked ok, but the ruby-debug19 seems
> to fail the same way.


Perhaps that article was quite old. When referring to articles on the
'web', please provide a link. Is hard to keep track of every single
article that gets published and I've been working on ensure everybody
is having the right information.

For example, last week I send emails and comments to some blog authors
to correct their errors in their blog posts.

That will make my job more easy.

> By the way, the "smoke test", gem install rdiscount --platform=Ruby -phttp://web-proxy:8080fails the same way.
>


Please run the same command with debug mode enabled:

gem install rdiscount --platform=ruby --http-proxy http://web-proxy:8080
--debug -V

Note the that platform option is all lowercase and the proxy needs to
be your proxy including username and password.

Paste the output here so we can take a look
--
Luis Lavena

Allan Chin 11-16-2010 11:42 PM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans6.9.1)
 
-p http://web-proxy:8080 works fine when I install the uuid gem. And the
next time I run into a mis-informed article, I will provide the link.
But up to now there were many. Here's the output of the rdiscount debug
install.

================================================== =======================
D:\Downloads\Ruby>gem install rdiscount --platform=ruby --http-proxy
http://web-
proxy:8080 --debug -V
Exception `NameError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/command_manager.rb:1
64 - uninitialized constant Gem::Commands::InstallCommand
Exception `NameError' at C:/Ruby192/lib/ruby/1.9.1/syck/tag.rb:81 -
method `yaml
_as' not defined in Module
Exception `Gem::LoadError' at C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:762
- Could
not find RubyGem test-unit (>= 0)

Exception `Gem::LoadError' at C:/Ruby192/lib/ruby/1.9.1/rubygems.rb:762
- Could
not find RubyGem sources (> 0.0.1)

GET http://rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:135
- A non-blocking socket operation could not be completed immediately. -
read wou
ld block
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
Exception `Errno::EWOULDBLOCK' at
C:/Ruby192/lib/ruby/1.9.1/net/protocol.rb:135
- A non-blocking socket operation could not be completed immediately. -
read wou
ld block
304 Not Modified
Exception `NoMethodError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/specification.rb
:538 - undefined method `to_ary' for #<Gem::Specification name=rdiscount
version
=1.6.5>
Installing gem rdiscount-1.6.5
Exception `NoMethodError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/package/tar_inpu
t.rb:49 - undefined method `readpartial' for
#<Gem::Package::TarReader::Entry:0x
2d565b0>
Exception `IOError' at C:/Ruby192/lib/ruby/1.9.1/rubygems/format.rb:50 -
closed
stream
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1
Temporarily enhancing PATH to include DevKit...
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/COPYING
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/README.markdown
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/Rakefile
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/bin
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/bin/rdiscount
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/Csio.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/amalloc.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/basename.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/config.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/css.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/cstring.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/docheader.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/dumptree.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/emmatch.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/extconf.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/generate.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/html5.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/markdown.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/markdown.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/mkdio.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/mkdio.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/rdiscount.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/resource.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/tags.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/tags.h
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/toc.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/xml.c
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib/markdown.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/lib/rdiscount.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/markdown.7
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/rdiscount.1
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/man/rdiscount.1.ronn
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/rdiscount.gemspec
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/benchmark.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/benchmark.txt
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/markdown_test.rb
Exception `Errno::EEXIST' at C:/Ruby192/lib/ruby/1.9.1/fileutils.rb:243
- File e
xists - C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/test/rdiscount_test.rb
C:/Ruby192/bin/rdiscount
C:/Ruby192/bin/rdiscount.bat
Building native extensions. This could take a while...
Exception `Gem::InstallError' at
C:/Ruby192/lib/ruby/1.9.1/rubygems/ext/builder.
rb:49 - extconf failed:

C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** 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-optException `Gem::Installer::ExtensionBuildError' at
C:/Ruby192/
lib/ruby/1.9.1/rubygems/installer.rb:483 - ERROR: Failed to build gem
native ext
ension.

C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** 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
--withERROR: Error installing rdiscount:
ERROR: Failed to build gem native extension.

C:/Ruby192/bin/ruby.exe extconf.rb
checking for random()... *** 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
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby192/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
C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
to genera
te an executable file. (RuntimeError)
You have to install development tools first.
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:440:in `try_link'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:552:in `try_func'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:797:in `block in
have_func'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:693:in `block in
checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block (2 levels)
in postp
one'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:280:in `block in
postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:254:in `open'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:276:in `postpone'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:692:in `checking_for'
from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:796:in `have_func'
from extconf.rb:5:in `<main>'


Gem files will remain installed in
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount
-1.6.5 for inspection.
Results logged to
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rdiscount-1.6.5/ext/gem_ma
ke.out

D:\Downloads\Ruby>
================================================== ========================

--
Posted via http://www.ruby-forum.com/.


Luis Lavena 11-17-2010 12:25 AM

Re: Fast Debugger (Ruby 1.9.2, DevKit 4.5.0, JDK 6u22, NetBeans 6.9.1)
 
On Nov 16, 8:42*pm, Allan Chin <achin5...@hotmail.com> wrote:
> -phttp://web-proxy:8080works fine when I install the uuid gem. And the
> next time I run into a mis-informed article, I will provide the link.
> But up to now there were many. Here's the output of the rdiscount debug
> install.


It is clear that gems that do not require compilation do not fail in
your environment, so please keep reading.

> C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:368:in `try_do': The complier failed
> to genera
> te an executable file. (RuntimeError)
> You have to install development tools first.
> * * * * from C:/Ruby192/lib/ruby/1.9.1/mkmf.rb:435:in `try_link0'


For some reason you environment is unable to compile gems.

Please fill in the following google docs form:

https://spreadsheets.google.com/view...OWRlZ2FleVE6MQ

Also, please post a message to RubyInstaller group.

http://groups.google.com/group/rubyinstaller

We found just 2 other users unable to compile gems and we would like
to know more about your environment details for us to be able to help
you better.

Thank you.
--
Luis Lavena


All times are GMT. The time now is 01:21 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.