GNOME Bugzilla – Bug 114332
TRu64Unix + cc/cxx: cannot compile
Last modified: 2009-08-15 18:40:50 UTC
Hi, I have the following problem: cxx -DHAVE_CONFIG_H -I. -I. -I../.. -I../../glib -I../../gdk -I../../gtk -I/software/@sys/usr/lib/sigc++-1.2/include -I/software/@sys/usr/include/sigc++-1.2 -I/software/@sys/usr/include/gtk-2.0 -I/software/@sys/usr/lib/gtk-2.0/include -I/software/@sys/usr/include/atk-1.0 -I/software/@sys/usr/include/pango-1.0 -I/software/@sys/usr/include/glib-2.0 -I/software/@sys/usr/lib/glib-2.0/include -I/software/@sys/usr/include -I/usr/local/include -I/usr/local/openssl/include -O2 -arch ev56 -Wall -c -o generate_defs_gtk.o `test -f 'generate_defs_gtk.cc' || echo './'`generate_defs_gtk.cc cxx: Error: generate_defs_gtk.cc, line 32: namespace "std" has no member "cout" std::cout << get_defs( ATK_TYPE_HYPERLINK ) -------^ cxx: Error: generate_defs_gtk.cc, line 49: namespace "std" has no member "cout" std::cout << get_defs( GDK_TYPE_COLORMAP ) -------^ cxx: Info: 2 errors detected in the compilation of "generate_defs_gtk.cc". make[3]: *** [generate_defs_gtk.o] Error 1 make[3]: Leaving directory `/afs/gsf.de/sources/ev56/gtkmm-2.2.3/tools/extra_defs_gen'
What distro and compiler are you using? Have any previous versions of gtkmm 2 compiled for you?
I never tried before gtkmm. I use cc/cxx from the vendor, latest version. I tried to force C99 mode but that did not help either. Sorry, I've left "OS" set to linux, although I've set "OS Details" to proper "TRu64Unix 5.1A". So, it does NOT happen for me on linux. Sorry for confusion.
OK, well the error looks kind of silly. std::cout obviously exists. Maybe your compiler needs some extra #include - it can't be too difficult. But this is a rare platform, so maybe nobody has ever ported gtkmm to it. I look forward to a patch so we can add it to the list of known-to-work platforms.
Make an account on testing machine available from HP: http://www.testdrive.hp.com/ - look for Tru64Unix.
No, people who are _using_ that plaform need to port that platform. Why would anybody else take the time? I would need to have vast amounts of spare time and curiosity or be paid to do the work. Sorry, but that's the reality.
Sorry if that seemed rude. I just wanted to make the status of this bug clear.
Adding the GNOMEVER2.2 and portability keywords.
By the way, please test libsigc++ 2 (1.9.X) on your platform.
gtkmm now builds with the Tru64 compiler - see the NEWS file. You probably do need to use the -std compiler option.