i'm trying to compile workrave on a ppc box w/ gcc-3.2.2 and get: XMLConfigurator.cc: In member function `void XMLConfigurator::init(GdomeNode*)': XMLConfigurator.cc:460: `cerr' undeclared (first use this function) XMLConfigurator.cc:460: (Each undeclared identifier is reported only once for each function it appears in.) make[2]: *** [workrave-XMLConfigurator.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/workrave-1.0.0/work/workrave-1.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/workrave-1.0.0/work/workrave-1.0.0'make: *** [all] Error 2 adding #include <iostream> to XMLConfigurator.cc fixes the problem. is this just a ppc thing? i would think not.
I think it'more of a gcc problem than a pcc one. I'm able to emerge this package without a problem, although my system is gcc-2.9 based. If you find that adding that include, everything works, please feel free to modify the ebuild. Thanks a lot.
leonardo are you still active? e-me please
i confirm it (gcc-3.2) adding #include <iostream> to src/XMLConfigurator.cc helps.
workrave has been updated. http://sourceforge.net/project/showfiles.php?group_id=62552 I didn't get it to compile: Menus.cc: In member function `void Menus::resync_applet()': Menus.cc:338: `network_log_dialog' undeclared (first use this function) I have mailed the developers and will post it in here if it isn't solved by then, so don't mail them again about this.
Version 1.2.1 of Workrave now builds fine. Now just update dependency stuff if needed(it worked fine by just renaming the ebuild, but i have updated components). I am going to sleep, if no one else has done it when i have the time.. then i will.
Well, i'm not sure if the ebuild needs updating at all. It compiled for me with only renaming. Maybe if someone with stable-portage-tree tried to compile it? Or just update the ebuild by renaming and wait till errors are posted.. better than not working at all.
Version 1.2.2 has been committed. Thanks for your input.