From: piombovincenzo@... Date: 2002-12-29T08:49:20+09:00 Subject: compiling ruby, fox, FXRuby on Win98 with mingw/msys Hello all, I wanted to compile ruby, fox and FXRuby on a Win98 machine, using MingW and Msys. I was not able to do it because of several errors, so I tried it all on my Mandrake 9 linux and all was fine, then tried on a Win200 box and it was slightly better then 98. Here follows some details, hope that someone can help me to understand what's going on .. I used the following versions: MinGW-2.0.0-3.exe MSYS-1.0.8.exe ruby-1.6.8.tar.gz fox-1.0.29.tar.gz FXRuby-1.0.17.tar.gz under W2000 - ruby after making and installing ruby I got a "usr/local" dir filled with the ruby environment, but this directory was on my W2000 root not in the Msys "/usr" so I had to add the following line to /etc/fstab "d:/usr/local /usr/local" .. and all was ok - fox no problem - FXRuby I had to remove "-fno-strict-prototype" from ext/fox/Makefile (after having run "ruby install.rb config") (unrecognized option) I had to add: "char * alloca(int);" to FXRbCommon.h to be able to compile the cpp files using ALLOCA_N ... but the linker under W98 -ruby I got the following error from make dllwrap --target=mingw32 --as=as --dlltool-name=dlltool --driver-name=gcc --export-all -s --output-exp=ruby.exp --dllname=ruby.exe --output-lib=libmingw32-ruby1 6.a --add-stdcall-alias --def=ruby.def array.o bignum.o class.o compar.o dir.o d ln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o nume ric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o rub y.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o crypt.o flock.o isinf.o win32.o dmyext.o dummy.res.o -lwsock32 -lmsvcrt -o dummy d:\ruso\MinGW\bin\dllwrap.exe: installation problem, cannot exec `gcc': No such file or directory make: *** [dummy] Error 1 modifying Makefile like this it goes on: LDSHARED = dllwrap --target=mingw32 --export-all -s ... but does not create ruby.exe typing : "make ruby.exe" it does it .. $ make test test succeeded same thing as in W2000 for the /usr/local dir .. if the /etc/fstab stuff is correct it should probably be mentioned in some "INSTALL" file .. - fox no problem - FXRuby $ ruby install.rb config install.rb: entering config phase... ---> lib ---> lib/fox <--- lib/fox <--- lib ---> ext ---> ext/fox D:/USR/LOCAL/bin/ruby D:/RUSO/MSYS/src/FXRuby-1.0.17/ext/fox/extconf.rb config failed 'system D:/USR/LOCAL/bin/ruby D:/RUSO/MSYS/src/FXRuby-1.0.17/ext/fox/extconf.rb ' failed try 'ruby install.rb --help' for usage Thanks in advance for any help Enzo Piombo piombovincenzo@supereva.it ----------------------------------------------------- Invia un sms gratis! http://freesms.supereva.it/index.php messaggio inviato con Freemail by www.superEva.it -----------------------------------------------------