Closed StephanSchuster closed 5 years ago
Interesting indeed. Please keep me posted. If you do not receive a response in the next few days, please tell me and I'll include a modified version directly in openHABian.
Hi, Script stops with:
checking for LIBUSB… yes EMI because of usb checking for ev_run in -lev… no configure: error: libev not found make: *** No rule to make target ‘clean’. Stop.
thx Roland
There are 2 packages missing: libev-dev libev4 Afterwards, after triggering from within openhabian-config, it builds just fine.
KR, Sascha
@stephanschuster was the script updated or is the solution by @cribskip all that's needed? sure sounds like a clean solution. @cribskip so adding these to packages to the installation routine is all that's needed?
Well, I'm not at home at the moment. So I cannot verify this. But I remember that I definitely installed libev-dev and libev4 and retriggered the install script. Not sure anymore if the build was really successful then. I've tried various stuff meanwhile. In the end I never managed to see KNX packages with knxtool. But that might have other reasons. My setup: RPI3, openHABianpi, knxd, TUL stick with "transparent" firmware.
Regarding the script: It was not updated yet. And my comment on the authors blog still awaits moderation. Apart from that I think even if it compiles with libev, it needs to be adjusted a bit. According to the knxd homepage version 0.12 has no more deps to pthsem which is also installed by the script.
I definitely install libev-dev and libev4, but the script fails with the same issue:
checking for ev_run in -lev... no configure: error: libev not found
Cheers
Hallo,
same here. libel-dev is installed, but the script fails with the same issue:
checking for ev_run in -lev... no configure: error: libev not found
Greetings
@stephanschuster you can for sure ask these kinds of things. But please not here. You'll reach more people in the community forum https://community.openhab.org/tags/knx
Regarding the issue: Please note, that I myself am not using knx. Hence would be great if you came up with an idea and reported back so i can fix it in script. You should also reach out to the openhab community for help.
@ThomDietrich: Sorry for the off-topic post. I moved it to here as you suggested.
No problem. It's just more likely to not solve one problem if people start talking about another ;)
Okay, for me it's working as expected now.
What I did:
Done. I can see the packages with knxtool. Perfect. Now I can move on ...
Grrr. knxd seems to work but now I cannot access http://openhabianpi:8080/. Connection refused all the time. Even after reboot. Any ideas if and how this could relate to the knxd installation? Unfortunately I did not try to access the webpage before installation of knxd. But in my last installations of openhabianpi it always worked. Any hints on how to debug this?
Update: Problem was apparently due to the fact that I triggered "Basic Setup" via openhabian-config. Resulted in Issue #244. At least openhab did not start and printed the same Exception Trace as listed there. Anyways, a reinstall of openhabian and knxd fixed it. Now both systems are running.
Michael, the author of the install script, updated his script and created a git repo:
Michael January 30, 2017 at 2:43 PM
Hi Marc, i changed the script. Now it should working with knxd v0.12. Version is 0.7.0. I also created a repository at github
https://github.com/Race666/install-knxd
Michael
Source: http://michlstechblog.info/blog/raspberry-pi-eibknx-ip-gateway-and-router-with-knxd/
I did not try it. I'm fine with my own compilation. According to some first comments, the script is now working again. Maybe openhabian should use the new git repo for the KNX install script
@stephanschuster as this issue seems unchanged, let's replace the third party script. Would you care to post a script? It could already be fully automatic but any solution I can use is already okay.
Hi, due to a sd-card file system problem I've just "reinstalled" from scratch openhabian (v. 20170218) on my raspberry pi 3. I had some problem installing knxd from openhabian-config, so I wrote this small script that worked like a charm (for me) https://github.com/ferratello/knxd_installer ... ...hope can be helpful.
Closing this for having clean issue log. Track progress in: https://github.com/openhab/openhabian/issues/651
I just wrote the following comment to the owner of the underlying install script (currently awaiting moderation):