From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Sat, 30 Nov 2002 04:41:32 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 384 ************************************************** Friday 29 November 2002 Number 384 ************************************************** Subjects for today 1 Re: wxWindows-2.3.4 : John Poltorak 2 Re: wxWindows-2.3.4 : Stefan Neis 3 Re: wxWindows-2.3.4 : Ken Ames 4 Re: wxWindows-2.3.4 : Stefan Neis 5 Re: wxWindows-2.3.4 : Stefan Neis 6 Re: wxWindows-2.3.4 : Ken Ames **= Email 1 ==========================** Date: Sat, 30 Nov 2002 11:51:28 +0000 From: John Poltorak Subject: Re: wxWindows-2.3.4 On Sat, Nov 30, 2002 at 12:36:24PM +0100, Stefan Neis wrote: > On Fri, 29 Nov 2002, Ken Ames wrote: > > > well, another release that won't build. bombs out on the first file it > > tries to compile. This and what errors I had building 2.3.3 seem like > > things that would or should be handled way before any release is thought > > of. I hope it gets fixed soon. > > > > copy "X:\WXWINDOWS-2.3.4"\include\wx\os2\setup.h > > > "X:\WXWINDOWS-2.3.4"\include\wx\setup.h > > 1 file(s) copied. > > > > X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(100:9) : error EDC3086: > > "wxUSE_PROLOGIOmust be defined." > > X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(1189:9) : error EDC3086: "wxr > > resources require PrologIO" > > NMAKE : fatal error U1077: 'G:\OS2\CMD.EXE' : return code '12' > > Stop. > > Sh*t! > We don't start from the "raw"distribution often enough, it seems. > "setup.h" (the one you copied above) needs to include the extra > line > #define wxUSE_PROLOGIO 1 Do I take it that there are several copies of 'setup.h' in the distro? Is there any way to develop a universal version? > Stefan -- John **= Email 2 ==========================** Date: Sat, 30 Nov 2002 12:36:24 +0100 (CET) From: Stefan Neis Subject: Re: wxWindows-2.3.4 On Fri, 29 Nov 2002, Ken Ames wrote: > well, another release that won't build. bombs out on the first file it > tries to compile. This and what errors I had building 2.3.3 seem like > things that would or should be handled way before any release is thought > of. I hope it gets fixed soon. > > copy "X:\WXWINDOWS-2.3.4"\include\wx\os2\setup.h > "X:\WXWINDOWS-2.3.4"\include\wx\setup.h > 1 file(s) copied. > > X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(100:9) : error EDC3086: > "wxUSE_PROLOGIOmust be defined." > X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(1189:9) : error EDC3086: "wxr > resources require PrologIO" > NMAKE : fatal error U1077: 'G:\OS2\CMD.EXE' : return code '12' > Stop. Sh*t! We don't start from the "raw"distribution often enough, it seems. "setup.h" (the one you copied above) needs to include the extra line #define wxUSE_PROLOGIO 1 It's somewhat amazing that it ever build without it, until there's been a consistency check which flags it as an error when it's not defined... Thanks for finding and reporting, Stefan P.S.: wx-dev at lists.wxwindows.org might be slightly more appropriate for such stuff (and it would also make realize others that OS/2 actually does exist). -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 3 ==========================** Date: Sat, 30 Nov 2002 13:11:49 -0800 From: Ken Ames Subject: Re: wxWindows-2.3.4 Stefan Neis wrote: >On Fri, 29 Nov 2002, Ken Ames wrote: > > > >>well, another release that won't build. bombs out on the first file it >>tries to compile. This and what errors I had building 2.3.3 seem like >>things that would or should be handled way before any release is thought >>of. I hope it gets fixed soon. >> >> copy "X:\WXWINDOWS-2.3.4"\include\wx\os2\setup.h >> >> > > > >>"X:\WXWINDOWS-2.3.4"\include\wx\setup.h >> 1 file(s) copied. >> >>X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(100:9) : error EDC3086: >>"wxUSE_PROLOGIOmust be defined." >>X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(1189:9) : error EDC3086: "wxr >>resources require PrologIO" >>NMAKE : fatal error U1077: 'G:\OS2\CMD.EXE' : return code '12' >>Stop. >> >> > >Sh*t! >We don't start from the "raw"distribution often enough, it seems. >"setup.h" (the one you copied above) needs to include the extra >line > I didn't copy it, the makefile did that. or something did cuz I was following the readme.os2 and did a "nmake all -f makefile.va" which I just did a cut/paste from the readme. sorry if I sounded nasty in my last post, I had a really rotten day. my apologies to all. >#define wxUSE_PROLOGIO 1 >It's somewhat amazing that it ever build without it, until there's been >a consistency check which flags it as an error when it's not defined... > > Thanks for finding and reporting, > Stefan > >P.S.: wx-dev at lists.wxwindows.org might be slightly more appropriate for > such stuff (and it would also make realize others that OS/2 > actually does exist). > Ken > > **= Email 4 ==========================** Date: Sat, 30 Nov 2002 13:32:42 +0100 (CET) From: Stefan Neis Subject: Re: wxWindows-2.3.4 On Sat, 30 Nov 2002, John Poltorak wrote: > > Do I take it that there are several copies of 'setup.h' in the distro? Exactly. That's where you can tell which features you want to have compiled into the library and which one you don't want. On the one hand, that's used to handle port specific problems/features (e.g. Motif and OS/2 currently don't support Drag&Drop, so you turn it off there), on the other hand, the "user" can decide he doesn't want some features for his application and build a smaller library&executable by turning them off. > Is there any way to develop a universal version? No way. Currently, there are version for OS/2+VAC, MacOS+Metrowerks, Win+VC, Win+BC, and configure-generated versions for all platforms supporting autoconf, including OS/2+gcc. Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 5 ==========================** Date: Sat, 30 Nov 2002 13:47:35 +0100 (CET) From: Stefan Neis Subject: Re: wxWindows-2.3.4 Hi, Just a word of warning for all those who (might) try to compile wxWindows-2.3.4 with gcc on OS/2: Make sure that you're using a version of uname which actually lies to the caller and either returns "2" on "uname -r" or at least "5". Immediately before release, my corresponding fix to "configure.guess" in wxWindows was apparently overwritten with a newer version from newest autoconf which did not yet have my fix applied (it seems to have been applied to autoconf's CVS just today). :-( Sorry, Andy, I hope you didn't get caught by that one again ... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 6 ==========================** Date: Sat, 30 Nov 2002 21:48:11 -0800 From: Ken Ames Subject: Re: wxWindows-2.3.4 hi again, ok, another note, in wxwindows-2.3.4\src\common\intl.cpp there is missing the define for retloc: "const wxChar *retloc;" I clipped this out of 2.3.3 and build is now commencing. I added it in at line 669 of 2.3.4 just as it was in 2.3.3 Ken Stefan Neis wrote: >On Fri, 29 Nov 2002, Ken Ames wrote: > > > >>well, another release that won't build. bombs out on the first file it >>tries to compile. This and what errors I had building 2.3.3 seem like >>things that would or should be handled way before any release is thought >>of. I hope it gets fixed soon. >> >> copy "X:\WXWINDOWS-2.3.4"\include\wx\os2\setup.h >> >> > > > >>"X:\WXWINDOWS-2.3.4"\include\wx\setup.h >> 1 file(s) copied. >> >>X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(100:9) : error EDC3086: >>"wxUSE_PROLOGIOmust be defined." >>X:\WXWINDOWS-2.3.4\include\wx\chkconf.h(1189:9) : error EDC3086: "wxr >>resources require PrologIO" >>NMAKE : fatal error U1077: 'G:\OS2\CMD.EXE' : return code '12' >>Stop. >> >> > >Sh*t! >We don't start from the "raw"distribution often enough, it seems. >"setup.h" (the one you copied above) needs to include the extra >line >#define wxUSE_PROLOGIO 1 >It's somewhat amazing that it ever build without it, until there's been >a consistency check which flags it as an error when it's not defined... > > Thanks for finding and reporting, > Stefan > >P.S.: wx-dev at lists.wxwindows.org might be slightly more appropriate for > such stuff (and it would also make realize others that OS/2 > actually does exist). > >