[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Compiling under cygwin - make test fails

Anthony Fairchild

6/2/2005 11:06:00 PM

Hello everyone!

I'm trying to compile ruby 1.8.2 under Cygwin. ./configure and make
execute without errors. make test is failing with the following error:

$ make test
/ruby: No such file or directory -- and (LoadError)
test failed
make: *** [test] Error 1

Make install seems to work as well.

I'm having another problem when installing rubygems 0.8.10 which may or
may not be related. When I run setup.rb I get this error:

$ ruby setup.rb
.... stuff cut here for brevity
install version.rb /usr/local/lib/ruby/site_ruby/1.8/rubygems
<--- lib/rubygems
<--- lib

As of RubyGems 0.8.0, library stubs are no longer needed.
Searching $LOAD_PATH for stubs to optionally delete (may take a while)...
...done.
No library stubs found.

/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__':
No such file to load -- zlib (LoadError)
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/package.rb:9
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/builder.rb:1
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__'
from
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:61:in
`manage_gems'
... 7 levels...
from setup.rb:887:in `exec_install'
from setup.rb:705:in `invoke'
from setup.rb:674:in `invoke'
from setup.rb:1352

Any help would be greatly appreciated!

-Anthony



2 Answers

nobu.nokada

6/3/2005 12:15:00 AM

0

Hi,

At Fri, 3 Jun 2005 08:05:42 +0900,
Anthony Fairchild wrote in [ruby-talk:144424]:
> $ make test
> ./ruby: No such file or directory -- and (LoadError)
> test failed
> make: *** [test] Error 1

Try latest snapshort or compile under a directory which doesn't
contain spaces.

--
Nobu Nakada


Anthony Fairchild

6/3/2005 12:40:00 AM

0


>Try latest snapshort or compile under a directory which doesn't
>contain spaces.
>
>
Spaces were causing the problem. Thanks for the quick response!

-AF