Open FoxWhiskey opened 2 years ago
Hi Bernie,
1) Agreed. This is why I patched this in the first place.
2a) apt requires sudo: Yes, apt always requires sudo. You are installing something on your system, so you need to be root 2b/c) you declined installing the -dev package. -dev packages are needed to compile software which depends on the library., this is why the compile step fails. Install the -dev package. 2d) missing keys: I am not sure about this issue. Could you please try again with the -dev package installed, and then see what happens? I think this one can be ignored, but not sure. 3) looks like you need to instal llibsml1: sudo apt install libsml1
hth!
Servus and thanks for the quick reply!
As a matter of fact, I had some spare time yesterday evening and managed to get vzlogger compiled as a deb-package, that installs and runs as expected!! I pretty much went for a trial-and-error approach and found that the source of the issue was mostly user-induced, in addition to some ambiguous passages (IMHO!) in the installation manual...
So here's what I've done/found and sorry in advance, if my comments are probably a bit too formal...
sudo
was necessary, but in other paragraphs of the manual sudo
is stated where required, but it is not in build as debian package.sudo apt build-dep ./
in a later step, build-dep returns dependencies to libsml1
and libsml-dev
(which I declined during my first try, assuming that manually compiling libsml
would suffice).libsml-dev
, but libsml1 is required nonetheless. libsml1
is also missing in the list of required debian-packages.debuild
without the -p
switch still returns the version conflict message (see above), but debuild -p
actually does the job.libsml1
installed, the errors concerning missing keys are still present but do not prevent the building process.If I'm incorrect with my assumptions concerning libsml* - packages, please shine some light on it... ;-)
Best regards, -bernie
So, apparently libsml.git builds libsml-dev, but libsml1 is required nonetheless. libsml1 is also missing in the list of required debian-packages.
i think this is natural and expected. a -dev package will always depend on the library it provides headers for, so the library does not need to be installled explicitly, and both packages are naturally built from the same source.
@FoxWhiskey: can you please provide a link to the "debian packages instructions" you are refering to?
@FoxWhiskey: can you please provide a link to the "debian packages instructions" you are refering to?
Done! Check my initial post, I've updated it with a link. On the referred page, scroll down to chapter Build as Debian-paket.
note that dokuwiki provides anchors: https://wiki.volkszaehler.org/software/controller/vzlogger/installation_en#build_by_hand
i'm afraid those instructions are hopelessly outdated. specifically, the libsml package in debian is still based on the old dailab repository and won't have any of the improvements we added in the last five years. (see long thread here: https://github.com/volkszaehler/libsml/issues/72 ). so those instructions would have to be updated to first build the libsml package from source and install it. (this should ideally be easy to do.) getting our version into debian is the subject of above thread, and seems to be stalled still.
Hmm. Probably we're approaching the source of my confusion :-)
The instructions clearly state to clone libsml from github and build it from source (, which I did) ! However, an additional package called libsml1 is still needed to compile vzlogger (see third bullet point in my second post).
Basically, I'm wondering about the context of libsml, libsml1 and libsml(1?)-dev... (being aware, that a -dev package provides headers for the library itself).
Maybe it would be helpful to update the instructions accordingly.
Note: sorry, I have closed this issue accidentally... please reopen, if possible...
Untested debian packagages for a recent libsml can be found here http://www.heute-morgen.de/debian/packages/.
Hi everyone,
I tried to compile vzlogger and noticed several issues. Prior any compiling attempts I cloned, compiled and successfully installed
libsml
from the volkszaehler-repository as requested by the installation manual.apt build-dep ./
requiressudo
apt build-dep ./
then prompts the user to installlibsml-dev
from the debian-repositories - which I declineddebuild
returns with an error, concerningUnmet build dependencies: libsml-dev (>= 0.1.1)
and aborts. I find this confusing, as the freshly installed version oflibsml
is 1.0debuild -p
generates the *.deb - packages, however the build process exits with an error at the end, complaining about missing secret keyssudo dpkg --install vzlogger_0.3.5_amd64.deb
fails with an error aslibsml1 is not installed
Most likely I did a couple of things the wrong way. But this is how far I got, consulting the available information/documentation. Any help appreciated!