Compiling under cygwin - make test fails

  • Thread starter Anthony Fairchild
  • Start date
A

Anthony Fairchild

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
 
N

nobu.nokada

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.
 
A

Anthony Fairchild

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

-AF
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,763
Messages
2,569,562
Members
45,038
Latest member
OrderProperKetocapsules

Latest Threads

Top