07-24-2013, 09:58 PM
Ech, Linux sux big time!
I wanted to use the --vgdb switch in valgrind to be able to connect to it from gdb, because MCServer was crashing in valgrind (but not in normal execution). Turns out my valgrind is too old and doesn't support this option. So I wanted to update; turns out I cannot update individual packages, but rather all of them at once. Still, even after updating, valgrind is too old. wtf? So I try to build valgrind from sources. There's no documentation on the needed prerequisites; compilation dies with "linux/linkage.h: file not found". Searching for that error message turns up nothing useful. So I'm stuck.
I wanted to use the --vgdb switch in valgrind to be able to connect to it from gdb, because MCServer was crashing in valgrind (but not in normal execution). Turns out my valgrind is too old and doesn't support this option. So I wanted to update; turns out I cannot update individual packages, but rather all of them at once. Still, even after updating, valgrind is too old. wtf? So I try to build valgrind from sources. There's no documentation on the needed prerequisites; compilation dies with "linux/linkage.h: file not found". Searching for that error message turns up nothing useful. So I'm stuck.