Compiling ruby 1.8.1 (mingw)

Hi!

While compiling ruby, I run into the following:

./configure --prefix=/d/programs/ruby-mingw
[fine output]

make
[fine output]

make test
test succeeded

make install
./miniruby.exe ./instruby.rb --dest-dir=“” --make=“make” --mflags=“-
–unix” --make-flags=" --unix" --mantype=“man”¡jump!install -c -p -m
0755 ruby.exe /d/programs/ruby-mingw/bin/ruby.exe
install -c -p -m 0755 rubyw.exe /d/programs/ruby-mingw/bin
[ and so on…]

root@OJJEKTUM /d/programs/ruby-mingw
$ ls
lib

:open_mouth: So where is the bin directory, and my ruby.exe?

thx Gergo

···


±[ Kontra, Gergelykgergely@mcl.hu PhD student Room IB113 ]---------+

http://www.mcl.hu/~kgergely “Olyan langesz vagyok, hogy |
Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom” |
±- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+

KONTRA Gergely wrote:

make install


I had similar problems when using the mingw+mysys environment.
For some reason the install process had trouble installing the extensions.
The problem goes away when I explicitly specified the install directory.
So I am wondering if

···

make install prefix=/d/programs/ruby-mingw

resolves your problem. Another thing to look at is that install process
might fail in creating the necessary directories in which case creating
them by hand might help.

/Christoph

I always compile everything with --prefix=/mingw where /mingw → c:\MinGW i.e.
everything under MinGW tree.

Ruby pre2 compiled without any problem (MinGW 3.1.0 & MSYS 1.0.10rc2).

What is the contents of your fstab?

Sincerely,
Gour

···

KONTRA Gergely (kgergely@mlabdial.hit.bme.hu) wrote:

While compiling ruby, I run into the following:

./configure --prefix=/d/programs/ruby-mingw


Gour
gour@mail.inet.hr
Registered Linux User #278493

Hi,

···

At Mon, 10 Nov 2003 22:27:36 +0900, KONTRA Gergely wrote:

./configure --prefix=/d/programs/ruby-mingw

./configure --prefix=d:/programs/ruby-mingw

Ruby on mingw is NOT msys compliant.


Nobu Nakada

Neither of them solves my problem ;-(

···

On 1111, Christoph wrote:

I had similar problems when using the mingw+mysys environment.
For some reason the install process had trouble installing the extensions.
The problem goes away when I explicitly specified the install directory.
So I am wondering if


make install prefix=/d/programs/ruby-mingw

resolves your problem. Another thing to look at is that install process
might fail in creating the necessary directories in which case creating
them by hand might help.


±[ Kontra, Gergelykgergely@mcl.hu PhD student Room IB113 ]---------+

http://www.mcl.hu/~kgergely “Olyan langesz vagyok, hogy |
Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom” |
±- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+

./configure --prefix=/d/programs/ruby-mingw
./configure --prefix=d:/programs/ruby-mingw
Ruby on mingw is NOT msys compliant.
Thx a lot! It was the problem.

···


±[ Kontra, Gergelykgergely@mcl.hu PhD student Room IB113 ]---------+

http://www.mcl.hu/~kgergely “Olyan langesz vagyok, hogy |
Mobil:(+36 20) 356 9656 ICQ: 175564914 poroltoval kellene jarnom” |
±- Magyar php mirror es magyar php dokumentacio: http://hu.php.net --+