danieloneill / EpsolarServer

Epsolar Tracer-series logging/monitoring for Linux (and Raspberry Pi)
MIT License
31 stars 10 forks source link

unable to detect libmodbus on debian10 #11

Closed VeganBiker closed 3 years ago

VeganBiker commented 3 years ago

I'm attempting to set this up however when I run qmake i get the following:

oem@emoncms:~/EpsolarServer$ qmake Project ERROR: libmodbus development package not found

libmodbus-dev is installed however.

oem@emoncms:~/EpsolarServer$ apt list libmodbus* Listing... Done libmodbus-dev/stable,now 3.1.4-2 amd64 [installed] libmodbus5/stable,now 3.1.4-2 amd64 [installed]

danieloneill commented 3 years ago

Install libmodbus

On Sun., Oct. 11, 2020, 9:07 a.m. VeganBiker, notifications@github.com wrote:

I'm attempting to set this up however when I run qmake i get the following:

oem@emoncms:~/EpsolarServer$ qmake Project ERROR: libmodbus development package not found

libmodbus-dev is installed however.

oem@emoncms:~/EpsolarServer$ apt list libmodbus* Listing... Done libmodbus-dev/stable,now 3.1.4-2 amd64 [installed] libmodbus5/stable,now 3.1.4-2 amd64 [installed]

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/danieloneill/EpsolarServer/issues/11, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACQNLDNJU7O4REO7UZAXHLDSKHJ5DANCNFSM4SL3QNWQ .

VeganBiker commented 3 years ago

I don't have a package named libmodbus to install, just libmodbus5

VeganBiker commented 3 years ago

I do have it working via socat and a virtual tty. Also Id like to use your code to try and setup a link to emoncms/emonhub with the tracer. I modified the webpage a little to make it more useful to my specific tracer as I have a Tracer AN without a load output.

VeganBiker commented 3 years ago

Needed to install pkg-config

apt install pkg-config

hanthecat commented 2 years ago

I ran into this as well. Debian Bullseye on a pi 0.