Sorry, I am too lazy to make official patches right now but as I just updated from boost 1.42 to boost 1.46 I though I'd share a quick fix how to get Gizmod to compile again.
gizmod has been removed from the Ubuntu package repositories starting with 11.10 because it no longer compiles with the latest Boost libraries, so I had to figure out how to build it myself.
I found that in addition to the above changes, I also needed to modify the 3 makefiles generated by cmake to add -lboost_system to the library lists passed to the linker.
I haven't tested my build yet, but it built without errors so it should be okay.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update: After running 'sudo make install', I also had to run 'sudo ldconfig' in order for gizmod to be able to find its .so libraries. It's now working fine for me under Xubuntu 11.10 x64.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I also tried to compile Gizmod with boost 1.46 (Xubuntu 12.04 beta x64). I made the above code changes, and I also added the line #include <stdlib.h> in some files to get rid of the compile errors concerning "size_t". Of course, I had the same linker problem as benshadwick. Because I did not find the appropriate positions in the 3 makefiles where I could add -lboost_system, I finally added this linker option to the file link.txt in subdirectory gizmod/CMakeFiles/gizmod.dir.
Now Gizmod is running under Precise Pangolin. And in contrast to benshadwick, I did not need to run "sudo ldconfig".
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry, I am too lazy to make official patches right now but as I just updated from boost 1.42 to boost 1.46 I though I'd share a quick fix how to get Gizmod to compile again.
libGizmod/Processes.cpp:
gizmod/Main.cpp:
gizmod/GizmoDaemon.cpp:
I hope these help someone!
Thanks for this.
gizmod has been removed from the Ubuntu package repositories starting with 11.10 because it no longer compiles with the latest Boost libraries, so I had to figure out how to build it myself.
I found that in addition to the above changes, I also needed to modify the 3 makefiles generated by cmake to add -lboost_system to the library lists passed to the linker.
I haven't tested my build yet, but it built without errors so it should be okay.
Update: After running 'sudo make install', I also had to run 'sudo ldconfig' in order for gizmod to be able to find its .so libraries. It's now working fine for me under Xubuntu 11.10 x64.
I also tried to compile Gizmod with boost 1.46 (Xubuntu 12.04 beta x64). I made the above code changes, and I also added the line #include <stdlib.h> in some files to get rid of the compile errors concerning "size_t". Of course, I had the same linker problem as benshadwick. Because I did not find the appropriate positions in the 3 makefiles where I could add -lboost_system, I finally added this linker option to the file link.txt in subdirectory gizmod/CMakeFiles/gizmod.dir.
Now Gizmod is running under Precise Pangolin. And in contrast to benshadwick, I did not need to run "sudo ldconfig".