Fluxbox/boxtools problems

Tom Plagge tplagge at port9.org
Wed Aug 13 02:46:05 PDT 2003


I have a fresh install of 5-CURRENT running, and I'm trying to install
Fluxbox.  As has been reported in the past, there's a problem:

fluxbox.cc: In member function `void Fluxbox::save_rc()':
fluxbox.cc:1976: error: `B_EuropeanDate' undeclared (first use this function)
fluxbox.cc:1976: error: (Each undeclared identifier is reported only once for 
   each function it appears in.)
fluxbox.cc: In member function `void Fluxbox::load_rc(BScreen*)':
fluxbox.cc:2324: error: `B_AmericanDate' undeclared (first use this function)
*** Error code 1
<SNIP>
Stop in /usr/ports/x11-wm/fluxbox.


As noted before, this can be fixed by editing config.h to include
	#define HAVE_STRFTIME 1 
and by including cassert in FbRun.cc.

However, even after these fixes, it wouldn't install; see the dump at the
end of this file.  It seems there's a whole host of errors in the boxtools
package, and they look to either be due to bad C++ or bugs in gcc.  Any 
suggestions on how to proceed?
Thanks much
-t


-------------------
===>  Installing for fluxbox-0.1.14_2
===>   fluxbox-0.1.14_2 depends on executable: bsetbg - not found
===>    Verifying install for bsetbg in /usr/ports/x11-wm/boxtools
===>  Building for boxtools-0.65.0
make  all-recursive
Making all in data
Making all in styles
Making all in doc
Making all in nls
Making all in C
Making all in da_DK
Making all in de_DE
Making all in es_AR
Making all in es_ES
Making all in fr_FR
Making all in hu_HU
Making all in it_IT
Making all in ja_JP
Making all in ko_KR
Making all in lv_LV
Making all in nl_NL
Making all in no_NO
Making all in pl_PL
Making all in pt_BR
Making all in ro_RO
Making all in ru_RU
Making all in sk_SK
Making all in sl_SI
Making all in sv_SE
Making all in uk_UA
Making all in zh_CN
Making all in zh_TW
Making all in src
c++ -DHAVE_CONFIG_H -I. -I. -I..   -DSHAPE  -DNDEBUG -DNLS -DTIMEDCACHE -DLOCALE
PATH=\"/usr/X11R6/share/boxtools/nls\" -DDEFAULTMENU=\"/usr/X11R6/share/boxtools
/menu\" -DDEFAULTSTYLE=\"/usr/X11R6/share/boxtools/styles/Results\"  -O -pipe -m
cpu=pentiumpro  -I/usr/X11R6/include -Wall -W -pedantic -c BaseDisplay.cc
In file included from BaseDisplay.cc:47:
/usr/include/stdlib.h:134: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:135: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:140: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:143: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:143: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:145: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:145: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:148: error: ISO C++ does not support `long long'
/usr/include/stdlib.h:151: error: ISO C++ does not support `long long'
In file included from /usr/include/c++/3.3/cwchar:54,
                 from /usr/include/c++/3.3/bits/fpos.h:45,
                 from /usr/include/c++/3.3/bits/char_traits.h:46,
                 from /usr/include/c++/3.3/string:47,
                 from BaseDisplay.cc:81:
/usr/include/wchar.h:189: error: ISO C++ does not support `long long'
/usr/include/wchar.h:192: error: ISO C++ does not support `long long'
In file included from /usr/include/c++/3.3/bits/fpos.h:45,
                 from /usr/include/c++/3.3/bits/char_traits.h:46,
                 from /usr/include/c++/3.3/string:47,
                 from BaseDisplay.cc:81:
/usr/include/c++/3.3/cwchar:237: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cwchar:239: error: ISO C++ does not support `long long'
In file included from /usr/include/c++/3.3/bits/stl_algobase.h:67,
                 from /usr/include/c++/3.3/memory:54,
                 from /usr/include/c++/3.3/string:48,
                 from BaseDisplay.cc:81:
/usr/include/c++/3.3/cstdlib:149: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:149: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:152: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:152: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:157: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:157: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:161: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:161: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:165: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:167: error: ISO C++ does not support `long long'
/usr/include/c++/3.3/cstdlib:169: error: ISO C++ does not support `long long'
In file included from /usr/include/c++/3.3/bits/stl_algobase.h:72,
                 from /usr/include/c++/3.3/memory:54,
                 from /usr/include/c++/3.3/string:48,
                 from BaseDisplay.cc:81:
/usr/include/c++/3.3/bits/type_traits.h:211: error: ISO C++ does not support 
   `long long'
/usr/include/c++/3.3/bits/type_traits.h:219: error: ISO C++ does not support 
   `long long'
/usr/include/c++/3.3/bits/type_traits.h:312: error: ISO C++ does not support 
   `long long'
/usr/include/c++/3.3/bits/type_traits.h:316: error: ISO C++ does not support 
   `long long'
In file included from /usr/include/c++/3.3/memory:55,
                 from /usr/include/c++/3.3/string:48,
                 from BaseDisplay.cc:81:
/usr/include/c++/3.3/bits/stl_alloc.h:968: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:969: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
/usr/include/c++/3.3/bits/stl_alloc.h:970: error: ISO C++ forbids the use of `
   extern' on explicit instantiations
In file included from /usr/include/c++/3.3/string:57,
                 from BaseDisplay.cc:81:
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1061: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1064: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1067: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1070: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1073: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1076: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1079: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1082: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1085: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
/usr/include/c++/3.3/bits/basic_string.tcc:1088: error: ISO C++ forbids the use 
   of `extern' on explicit instantiations
*** Error code 1

Stop in /usr/ports/x11-wm/boxtools/work/blackbox-0.65.0/src.
*** Error code 1

Stop in /usr/ports/x11-wm/boxtools/work/blackbox-0.65.0.
*** Error code 1

Stop in /usr/ports/x11-wm/boxtools/work/blackbox-0.65.0.
*** Error code 1

Stop in /usr/ports/x11-wm/boxtools.
*** Error code 1

Stop in /usr/ports/x11-wm/fluxbox.



More information about the freebsd-ports mailing list