[lnkForumImage]
TotalShareware - Download Free Software

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


 

Forums >

comp.lang.ruby

One Click Installer-Mingw-Swiftiply Problem

Paul Fraser

3/15/2009 3:12:00 AM

The windows extension compile situation seems to be a mess!
Luis Lavena & Fabio Akita have downloads available using mingw compiles
to address the problem.
I have tried Fabios complete mingw dev kit and had this problem with
swiftiply.
Apart from the missing ssleay, any clues as to a solution?

C:/Ruby18/bin/ruby.exe extconf.rb install swiftiply

checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
checking for main() in -lssleay32... no
creating Makefile

make
g++ -I. -I. -IC:/Ruby18/lib/ruby/1.8/i386-mingw32 -I. -DHAVE_WINDOWS_H
-DHAVE_WINSOCK_H -D OS_WIN3
2 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -g -O2 -c mapper.cpp
mapper.cpp: In member function `void Mapper_t::Close()':
mapper.cpp:175: error: invalid conversion from `const void*' to `void*'
mapper.cpp:175: error: initializing argument 1 of `BOOL
UnmapViewOfFile(void*)'
g++.exe: unrecognized option `-EHs'
g++.exe: unrecognized option `-GR'
make: *** [mapper.o] Error 1


Gem files will remain installed in
C:/Users/paulAdmin/dev/gems/gems/swiftiply-0.6.1.1 for inspection
1 Answer

Roger Pack

5/9/2009 9:37:00 PM

0

> 2 -D BUILD_FOR_RUBY -EHs -GR -D WITHOUT_SSL -g -O2 -c mapper.cpp
> mapper.cpp: In member function `void Mapper_t::Close()':
> mapper.cpp:175: error: invalid conversion from `const void*' to `void*'
> mapper.cpp:175: error: initializing argument 1 of `BOOL
> UnmapViewOfFile(void*)'
> g++.exe: unrecognized option `-EHs'
> g++.exe: unrecognized option `-GR'
> make: *** [mapper.o] Error 1

It was a "mingw doesnt like that" bug -- should be fixed with the latest
eventmachine release.
-=r
--
Posted via http://www.ruby-....