Jon
...
gcc -I. -I../../.ext/include/i386-mingw32 -I../../../../../ruby-trunk/include -I../..
/../../../ruby-trunk/ext/curses -DRUBY_EXTCONF_H=\"extconf.h\" -O3 -g -Wextra -Wno
-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-missing-field
-initializers -Wno-long-long -o curses.o -c ../../../../../ruby-trunk/ext/curses/cur
ses.c
In file included from ../../../../../ruby-trunk/ext/curses/curses.c:31:0:
C:\Users\Jon\Documents\RubyDev\rubyinstaller-trunk\sandbox\pdcurses\include/curses.h:
162:0: warning: "MOUSE_MOVED" redefined
c:\users\jon\documents\rubydev\rubyinstaller-trunk\sandbox\devkit\mingw\bin\../lib/gc
c/mingw32/4.5.1/../../../../include/wincon.h:58:0: note: this is the location of the
previous definition
gcc -shared -s -o ../../.ext/i386-mingw32/curses.so curses.o -L. -L../.. -L. -Wl,--e
nable-auto-image-base,--enable-auto-import curses-i386-mingw32.def -lmsvcrt-ruby191
-lcurses -lshell32 -lws2_32 -limagehlp
make[1]: Leaving directory `/c/Users/Jon/Documents/RubyDev/rubyinstaller-trunk/sandbo
x/ruby19_build/ext/curses'
compiling dbm
make: *** [mkmain.sh] Error 1
4.5.1 uses newer versions of mingw-w64 headers, that could be the problem.
We might need to update pdcurses to newer version or even build it
ourselves as I'm not aware of the project binary state.
Will check that later tonight.
--
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry
Interesting.
It may also be due to trying to build with 1.9.0-p0 as I successfully built trunk with baseruby == 1.8.7-p302 using 4.5.1 (same MOUSE_MOVED redefinition warning) but it was able to build dbm and the rest. The actual failure may be when the recipe tries to build dbm rather than ruby's curses extension.
The build failed with baseruby == 1.9.2-p0 using 4.5.0 (no MOUSE_MOVED redefinition warning) by failing to build curses instead of failing to build dbm.
Will try to build via llvm-gcc and a few other scenarios later today, time permitting.
> We might need to update pdcurses to newer version or even build it
> ourselves as I'm not aware of the project binary state.
We're using an older pdc33dll.zip. I will try the newer pdc34dll.zip from http://sourceforge.net/projects/pdcurses/files/ to see if it has any effect, and may update the config on the dk32-451 branch appropriately. Have you heard of any issues with the 3.4 version?
Jon
None so far, but didn't had the time to test it (just finished
RubyConf Uruguay yesterday and I'm exhausted)
Sigh...my morning Arch build of trunk using trunk-previous worked...apples-n-oranges I know :(
> > We're using an older pdc33dll.zip. I will try the newer pdc34dll.zip from http://sourceforge.net/projects/pdcurses/files/ to see if it has any effect, and may update the config on the dk32-451 branch appropriately. Have you heard of any issues with the 3.4 version?
> >
Good...I'll play with it a bit.
> None so far, but didn't had the time to test it (just finished
> RubyConf Uruguay yesterday and I'm exhausted)
Well, from recent ruby-core posts, it looks like you better get rested up ;) Congratulations if I'm reading the posts correctly!
it seems my Win7 32-bit system has become flaky...i suspect my update to avg free 2011...the following fail to build trunk using 1.8.7-p302 or 1.9.2-p0 as baseruby:
* tdm-32-4.5.0 fails at curses or dbm extension build
* tdm-32-4.5.1 fails at curses or dbm extension build
* llvm-32-2.8 fails at openssl extension build
while i suspect my system is the problem, can anyone replicate the failures?
jon
tdm-32-4.5.1 compiles everything from latest trunk at r29552
Don't have the time to test the other combination but was supposedly
working a few days ago.
temporarily disabling avg free 2011 allows tdm-32-4.5.1 to build trunk at r29669 using a pdcurses 3.4 override. seems a bit of av spelunking is unfortunately on the menu.