Article 5SA9M Problems building nut-2.4.7 for -current

Problems building nut-2.4.7 for -current

by
sairum
from LinuxQuestions.org on (#5SA9M)
Has anyone been able to successfully build the UPS management set of tools (nut-2.4.7) from Ponce's SBo repo? I always get an error

Code:"nutclient.cpp:1072:30: error: ISO C++17 does not allow dynamic exception specifications".I was finally able to run the slackbuild by providing the flag "-std=c++14", but what worries me is that there is a difference between the tarball nut-2.4.7.tgz from github and the one from the URL provided by Slackbuild (http://www.networkupstools.org/sourc...t-2.7.4.tar.gz) which is in the original repository. The former is 1.7/Mb and the latter 2.4Mb! The former misses some files (needed by autoreconf) and the one used by SBo does not apparently work with C++17 which is the default C++ variant in Slackware, I suppose. Interestingly, alien's ungoogled-chromium refuses to download the tarball from www.networkupstools.org (probably because it's http only)! Firefox doesn't care..latest?d=yIl2AUoC8zA latest?i=rIf-hQY2bmw:x-XLvLp84o8:F7zBnMy latest?i=rIf-hQY2bmw:x-XLvLp84o8:V_sGLiP latest?d=qj6IDK7rITs latest?i=rIf-hQY2bmw:x-XLvLp84o8:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments