I’m trying to build 1.8p3 on Cygwin, and failing for a rather
unsatisfactory reason. It creates miniruby OK, but fails on the next step
with the following error (hand typed):
Creating library file: libcygwin-ruby18.dll.a
./ext/extmk.rb:28:in `require’: No such file to load – mkmf (LoadError)
from ./ext/extmk.rb:28
make: *** [all] Error 1
The output of (./miniruby -e ‘puts $:’) is
/home/gavin/build/ruby-1.8.0/lib/ruby/…
where … = 1.8, site_ruby, and the normal subdirs.
./lib/ruby doesn’t exist; all the libs are in ./lib.
Creating library file: libcygwin-ruby18.dll.a
./ext/extmk.rb:28:in `require’: No such file to load – mkmf(LoadError)
from ./ext/extmk.rb:28
yeah - i get this one too but i didn’t dare to ask this in the group - i
just thought i was too stupid. good to know there are other people having
the same problem :-))
I’m trying to build 1.8p3 on Cygwin, and failing for a rather
unsatisfactory reason. It creates miniruby OK, but fails on the next step
with the following error (hand typed):
Creating library file: libcygwin-ruby18.dll.a
./ext/extmk.rb:28:in `require’: No such file to load – mkmf (LoadError)
from ./ext/extmk.rb:28
make: *** [all] Error 1
The output of (./miniruby -e ‘puts $:’) is
/home/gavin/build/ruby-1.8.0/lib/ruby/…
where … = 1.8, site_ruby, and the normal subdirs.
./lib/ruby doesn’t exist; all the libs are in ./lib.
Creating library file: libcygwin-ruby18.dll.a
./ext/extmk.rb:28:in `require’: No such file to load – mkmf(LoadError)
from ./ext/extmk.rb:28
yeah - i get this one too but i didn’t dare to ask this in the group - i
just thought i was too stupid. good to know there are other people having
the same problem :-))
–
Gour
gour@mail.inet.hr
Registered Linux User #278493
Creating library file: libcygwin-ruby18.dll.a
./ext/extmk.rb:28:in `require’: No such file to load – mkmf(LoadError)
from ./ext/extmk.rb:28
yeah - i get this one too but i didn’t dare to ask this in the group - i
just thought i was too stupid. good to know there are other people having
the same problem :-))
Although it’s not the real solution, but I just compiled Ruby with MinGW in MSYS
environment.
Unfortunately I cannot reproduce your problem. With MingW (gcc 3.2) and latest MSYS 1.09,
running configure --prefix=C:/mingw, everything is installed nicely (I install all my
programs under /mingw which is symlink to c:/MinGW, not under msys folder.), and ruby.exe
is produced, as well as rubyw.exe and miniruby.exe.
Do you have miniruby.exe after make?
Sincerely,
Gour
···
Gavin Sinclair (gsinclair@soyabean.com.au) wrote:
Hmmmmm… I just gave that a go and it worked (to a certain extent).
I wonder why the difference.
Under MinGW, “make install” does not install ruby.exe anywhere,
though. It only creates the /usr/local/lib directory.
–
Gour
gour@mail.inet.hr
Registered Linux User #278493
Yes, miniruiby.exe is created (several build steps depend on this),
and ruby.exe and rubyw.exe are created, but only in the “current”
directory (i.e. where the build is performed).
I’ll do what I can to produce a pristine operating environment and try
again.
Also, it seems that perhaps it’s best to just build from the latest
CVS, rather than a “preview” snapshot.
Gavin
···
On Saturday, July 12, 2003, 5:40:20 PM, Gour wrote:
Gavin Sinclair (gsinclair@soyabean.com.au) wrote:
Hmmmmm… I just gave that a go and it worked (to a certain extent).
I wonder why the difference.
Under MinGW, “make install” does not install ruby.exe anywhere,
though. It only creates the /usr/local/lib directory.
Unfortunately I cannot reproduce your problem. With MingW (gcc 3.2) and latest MSYS 1.09,
running configure --prefix=C:/mingw, everything is installed nicely (I install all my
programs under /mingw which is symlink to c:/MinGW, not under msys folder.), and ruby.exe
is produced, as well as rubyw.exe and miniruby.exe.
On Saturday, July 12, 2003, 5:40:20 PM, Gour wrote:
Gavin Sinclair (gsinclair@soyabean.com.au) wrote:
Hmmmmm… I just gave that a go and it worked (to a certain extent).
I wonder why the difference.
Under MinGW, “make install” does not install ruby.exe anywhere,
though. It only creates the /usr/local/lib directory.
Unfortunately I cannot reproduce your problem. With MingW (gcc 3.2) and latest MSYS 1.09,
running configure --prefix=C:/mingw, everything is installed nicely (I install all my
programs under /mingw which is symlink to c:/MinGW, not under msys folder.), and ruby.exe
is produced, as well as rubyw.exe and miniruby.exe.
Do you have miniruby.exe after make?
Yes, miniruiby.exe is created (several build steps depend on this),
and ruby.exe and rubyw.exe are created, but only in the “current”
directory (i.e. where the build is performed).
I’ll do what I can to produce a pristine operating environment and try
again.
Also, it seems that perhaps it’s best to just build from the latest
CVS, rather than a “preview” snapshot.