Comment 4 for bug 645058

Revision history for this message
Cefn (6-launchpad-net-cefn-com) wrote :

Can't currently build based on apt-get source gizmod with your patch applied. I'm running into this, quite likely unrelated, problem. However, I think this is the proper procedure to complete the patch and I don't know where you got gizmod_3.4-0ubuntu3 (in your debdiff name) as I'm operating with packages based on xxxubuntu2 out of the repo.

Other than running apt-get build-dep gizmod, operating with the ubuntu apt-get source, and your patch, I'm following the instructions at...
http://sourceforge.net/apps/mediawiki/gizmod/index.php?title=Compile_from_Source#Compiling_from_Source

The following error can be eliminated by removing -Werror from libH/CMakeFiles/H.dir/flags.make

cc1plus: warnings being treated as errors
/home/cefn/gizmod/gizmod-3.4/libH/FileEventWatcher.cpp: In member function ‘void H::FileEventWatcher::handleEventsOnFile(pollfd&)’:
/home/cefn/gizmod/gizmod-3.4/libH/FileEventWatcher.cpp:456: error: suggest explicit braces to avoid ambiguous ‘else’
make[2]: *** [libH/CMakeFiles/H.dir/FileEventWatcher.o] Error 1
make[1]: *** [libH/CMakeFiles/H.dir/all] Error 2
make: *** [all] Error 2

Now I'm getting this, but no idea what the missing (boost?) dependency is...

[ 22%] Building CXX object libH/CMakeFiles/H.dir/Util.o
In file included from /home/cefn/gizmod/gizmod-3.4/libH/Util.cpp:29:
/home/cefn/gizmod/gizmod-3.4/libH/Util.hpp: In function ‘Functor H::for_all(Object&, Functor)’:
/home/cefn/gizmod/gizmod-3.4/libH/Util.hpp:66: error: ‘for_each’ is not a member of ‘std’
make[2]: *** [libH/CMakeFiles/H.dir/Util.o] Error 1
make[1]: *** [libH/CMakeFiles/H.dir/all] Error 2
make: *** [all] Error 2