First, I have to appologize. Since I use KDE neon, I gave you a wrong name of the plasma development package in the command above. Please see below for the (hopefully) correct apt command. But before, please remove the Debian sources again from your sources.list and check that the universe respository is enabled:

deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://security.ubuntu.com/ubuntu/ xenial-security universe 

I assumed that you are using the US mirror. It might be that you are using a different one.

Now, run apt update and install the development packages (Actually, Plasma is not really needed by Smb4K 2.0.0. So, you could also omit the plasma-framework-dev package for now.):

$ sudo apt update
$ sudo apt install g++ gettext cmake extra-cmake-modules \
qttools5-dev-tools libkf5auth-dev libkf5completion-dev \
libkf5config-dev libkf5configwidgets-dev libkf5coreaddons-dev \
libkf5dbusaddons-dev kdoctools-dev libkf5i18n-dev libkf5iconthemes-dev \
libkf5jobwidgets-dev kio-dev libkf5notifications-dev libkf5parts-dev \
libkf5solid-dev libkf5wallet-dev libkf5widgetsaddons-dev \
libkf5windowsystem-dev libkf5xmlgui-dev plasma-framework-dev

If you have an earlier version of Smb4K installed, you should deinstall it at this point. Otherwise the installation using checkinstall will fail.

$ sudo apt purge smb4k

After that, please follow the guidelines given in the wiki [wiki:CompilationAndInstallation]. Please note that with Ubuntu you definitely have to use the cmake command with the -DKDE_INSTALL_PLUGINDIR=`qtpaths --plugin-dir` argument.

Hope this helps. If you still experience problems, please just post them here again.

 

Related

Wiki: CompilationAndInstallation


Last edit: Alexander Reinholdt 2017-03-31