Fail to build the extension on windows with mingw

2 views
Skip to first unread message

sgwong

unread,
Aug 28, 2008, 9:08:07 AM8/28/08
to RubyPython
First, I would like to thanks for the hard work on producing this
library. I am looking for this extension for long time and now your
gems seems to be useful for me. Really appreciate for it.

I am using rubypython version 0.2.2 and when I try to compile it on
windows with mingw.
It complain that line 50 in ptor.c has error, raise_PyError() not
found. After I commented out this line. This extension build
successfully on windows. Well, it works fine in windows after
commented out the error code.

Here is the test result. all pass except some warning. Now you may
claim that it works on windows platform with Python 2.5 :)

======================================================================
C:\pngevd\tmp\rubypython-0.2.2>ruby test\test_rubypython.rb
test/test_rubypython.rb:10: warning: parenthesize argument(s) for
future version
Loaded suite test/test_rubypython
Started
......
Finished in 0.29 seconds.

6 tests, 14 assertions, 0 failures, 0 errors

C:\pngevd\tmp\rubypython-0.2.2>ruby test
\test_rubypython_bridge_extn.rb
test/test_rubypython_bridge_extn.rb:52: warning: parenthesize
argument(s) for future version
test/test_rubypython_bridge_extn.rb:92: warning: parenthesize
argument(s) for future version
test/test_rubypython_bridge_extn.rb:96: warning: parenthesize
argument(s) for future version
Loaded suite test/test_rubypython_bridge_extn
Started
...........
Finished in 0.701 seconds.

11 tests, 17 assertions, 0 failures, 0 errors

Z R

unread,
Aug 28, 2008, 2:18:36 PM8/28/08
to rubyp...@googlegroups.com
Hmm... Thanks for letting me know. I'll take a look at it within the next few days...

Let you know what I find.

AchatesAVC

unread,
Aug 29, 2008, 10:15:38 AM8/29/08
to RubyPython
Okay. I found what you were talking about. Version 0.2.3 _should_
build with problems. Let me know. Hope the gem is useful to you.
Reply all
Reply to author
Forward
0 new messages