baruch / diskscan

Scan disk for bad or near failure sectors, performs disk diagnostics
GNU General Public License v3.0
108 stars 29 forks source link

Complete compile dependencies in Debian/Ubuntu #51

Closed pgmartinez closed 8 years ago

pgmartinez commented 8 years ago

You'll need some more packages...

apt-get install  cmake make libtinfo-dev libncurses5-dev ninja-build libtinfo-dev exuberant-ctags zlib1g-dev

baruch commented 8 years ago

You no longer need ninja-build (unless you want cmake to create ninja-build files instead of makefiles)

I'll check now what are the needed build files and will be sure to update them.

baruch commented 8 years ago

List of dependencies for debian package is: libncurses5-dev cmake zlib1g-dev python-yaml

It was sufficient for a build in a chroot, should be sufficient in other cases.

baruch commented 8 years ago

This is for git head (up and coming 0.18)

baruch commented 8 years ago

Update readme with the list in commit c046153118f624a053d921f3e68c384bdca518c1

pgmartinez commented 8 years ago

I recently compiled diskscan 0.16, 0.17 and 0.18pre in a fresh-installed Debian Jessie virtual machine, and I still needed to install the exuberant-ctags package.

baruch commented 8 years ago

If you take git head now, do you still need it?

It was changed with the switch to cmake so there should not be a need for it.

pgmartinez commented 8 years ago

OK, done. I uninstalled exuberant-ctags and recompiled the head version with no problems. You were right.

Thanks.