Try this on stock blackbox 0.61.1 Note, this patch just effectively disables nls... cygwin has only partial support for nls.
The rest of the patch deals with the declaration of friend foo vs friend class foo. Good luck. edward -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Karan Aggarwal Sent: Saturday, October 06, 2001 12:04 PM To: [EMAIL PROTECTED] Subject: BlackBox on Cygwin Errors Here is a complete log of what is happening when I try to compile blackbox under cygwin. Can someone tell me how to get it to work coz blackbox is the only small and good looking WM I have come across (if it a WM at all) ************************************************************************ *********** make all-recursive make[1]: Entering directory `/tmp/blackbox-0.61.1' Making all in data make[2]: Entering directory `/tmp/blackbox-0.61.1/data' Making all in styles make[3]: Entering directory `/tmp/blackbox-0.61.1/data/styles' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/tmp/blackbox-0.61.1/data/styles' make[3]: Entering directory `/tmp/blackbox-0.61.1/data' sed -e "s,@pkgdatadir@,/usr/local/share/Blackbox," menu.in > menu make[3]: Leaving directory `/tmp/blackbox-0.61.1/data' make[2]: Leaving directory `/tmp/blackbox-0.61.1/data' Making all in doc make[2]: Entering directory `/tmp/blackbox-0.61.1/doc' sed -e "s,@pkgdatadir@,/usr/local/share/Blackbox," blackbox.1.in > blackbox.1 make[2]: Leaving directory `/tmp/blackbox-0.61.1/doc' Making all in nls make[2]: Entering directory `/tmp/blackbox-0.61.1/nls' Making all in C make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/C' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/C' Making all in da_DK make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/da_DK' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/da_DK' Making all in es_ES make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/es_ES' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/es_ES' Making all in et_EE make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/et_EE' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/et_EE' Making all in fr_FR make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/fr_FR' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/fr_FR' Making all in pt_BR make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/pt_BR' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/pt_BR' Making all in ru_RU make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/ru_RU' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/ru_RU' Making all in sv_SE make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/sv_SE' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/sv_SE' Making all in tr_TR make[3]: Entering directory `/tmp/blackbox-0.61.1/nls/tr_TR' make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls/tr_TR' make[3]: Entering directory `/tmp/blackbox-0.61.1/nls' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/tmp/blackbox-0.61.1/nls' make[2]: Leaving directory `/tmp/blackbox-0.61.1/nls' Making all in src make[2]: Entering directory `/tmp/blackbox-0.61.1/src' c++ -DHAVE_CONFIG_H -I. -I. -I.. -DSHAPE -DSLIT -DINTERLACE -DTIME DCACHE -DLOCALEPATH=\"/usr/local/share/Blackbox/nls\" -DDEFAULTMENU=\"/u sr/local/share/Blackbox/menu\" -DDEFAULTSTYLE=\"/usr/local/share/Blackbo x/styles/Results\" -g -O2 -I/usr/X11R6/include -c BaseDisplay.cc In file included from BaseDisplay.cc:41: i18n.hh:45: syntax error before `;' i18n.hh:60: ANSI C++ forbids declaration `nl_catd' with no type i18n.hh:60: `nl_catd' declared as an `inline' field i18n.hh:60: parse error before `&' i18n.hh:62: extraneous `char' ignored i18n.hh:64: parse error before `}' BaseDisplay.cc: In function `void signalhandler(int)': BaseDisplay.cc:164: no matching function for call to `I18n::getMessage (int, int, const char[23])' BaseDisplay.cc:178: no matching function for call to `I18n::getMessage (int, int, const char[15])' BaseDisplay.cc:190: no matching function for call to `I18n::getMessage (int, int, const char[26])' BaseDisplay.cc: In method `BaseDisplay::BaseDisplay(char *, char * = 0)': BaseDisplay.cc:267: no matching function for call to `I18n::getMessage (int, int, const char[58])' BaseDisplay.cc:279: no matching function for call to `I18n::getMessage (int, int, const char[77])' make[2]: *** [BaseDisplay.o] Error 1 make[2]: Leaving directory `/tmp/blackbox-0.61.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/blackbox-0.61.1' make: *** [all-recursive-am] Error 2 ************************************************************************ ************** Karan Aggarwal | CS1321 TA ([EMAIL PROTECTED]) | Scheme Tutor (OMEd)
blackbox-0.61.1-cygwin-patch
Description: Binary data