After moving to openhab2 I need to reinstall OLA to get my dmx light to work, However I have some problem doing so on an rpi, any ideas why? Is this due to fact that I used Openhabian @ThomDietrich ?
Has anyone suceeded in installing Ola from GIT? I can not use the image since I already have openhab installed, and just want to add OLA
So first I created a new dir by mkdir ~openlightning
then I used git clone git clone https://github.com/OpenLightingProject/ola.git
it then says you should do this:
git pull
autoreconf
./configure --enable-rdm-tests
make
sudo make install
sudo ldconfig
this however does not work, any ideas why?
[15:01:54] pi@openHABianPi:~$ cd open-lighting/
[15:05:07] pi@openHABianPi:~/open-lighting$ cd ola
[15:05:10] pi@openHABianPi:~/open-lighting/ola$ git pull
Already up-to-date.
[15:05:17] pi@openHABianPi:~/open-lighting/ola$ cd ..
[15:05:25] pi@openHABianPi:~/open-lighting$ git pull
fatal: Not a git repository (or any of the parent directories): .git
[15:05:28] pi@openHABianPi:~/open-lighting$ cd ola
[15:05:38] pi@openHABianPi:~/open-lighting/ola$ autoreconf
configure.ac:30: error: required file 'config/compile' not found
configure.ac:30: 'automake --add-missing' can install 'compile'
configure.ac:171: error: required file 'config/config.guess' not found
configure.ac:171: 'automake --add-missing' can install 'config.guess'
configure.ac:171: error: required file 'config/config.sub' not found
configure.ac:171: 'automake --add-missing' can install 'config.sub'
configure.ac:13: error: required file 'config/install-sh' not found
configure.ac:13: 'automake --add-missing' can install 'install-sh'
configure.ac:171: error: required file 'config/ltmain.sh' not found
configure.ac:13: error: required file 'config/missing' not found
configure.ac:13: 'automake --add-missing' can install 'missing'
Makefile.am:179: warning: .PHONY was already defined in condition DX_COND_doc, which is included in condition TRUE ...
aminclude.am:161: ... '.PHONY' previously defined here
Makefile.am:15: 'aminclude.am' included from here
Makefile.am: error: required file './INSTALL' not found
Makefile.am: 'automake --add-missing' can install 'INSTALL'
Makefile.am: error: required file 'config/depcomp' not found
Makefile.am: 'automake --add-missing' can install 'depcomp'
python/ola/Makefile.mk:17: error: required file 'config/py-compile' not found
python/ola/Makefile.mk:17: 'automake --add-missing' can install 'py-compile'
Makefile.am:158: 'python/Makefile.mk' included from here
python/Makefile.mk:2: 'python/ola/Makefile.mk' included from here
parallel-tests: error: required file 'config/test-driver' not found
parallel-tests: 'automake --add-missing' can install 'test-driver'
plugins/renard/Makefile.mk:8: warning: variable 'nodist_plugins_ranard_libolaranard_la_SOURCES' is defined but no program or
plugins/renard/Makefile.mk:8: library has 'plugins_ranard_libolaranard_la' as canonical name (possible typo)
Makefile.am:155: 'plugins/Makefile.mk' included from here
plugins/Makefile.mk:13: 'plugins/renard/Makefile.mk' included from here
autoreconf: automake failed with exit status: 1
[15:11:00] pi@openHABianPi:~/open-lighting/ola$ ./configure --enable-rdm-tests
configure: error: cannot find install-sh, install.sh, or shtool in config "."/config
[15:13:25] pi@openHABianPi:~/open-lighting/ola$ make
make: *** No targets specified and no makefile found. Stop.
And google does not give me any hints, I was thinking it might be some Python library needed, but I am bit lost here how to figure out how to get missing dependices,
well that helped, but still config/ltmain.sh is missing it says, so I ran libtoolize
libtoolize
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: linking file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `config'.
libtoolize: linking file `config/libtool.m4'
libtoolize: linking file `config/ltoptions.m4'
libtoolize: linking file `config/ltsugar.m4'
libtoolize: linking file `config/ltversion.m4'
libtoolize: linking file `config/lt~obsolete.m4'
[00:00:56] pi@openHABianPi:~/open-lighting/ola$ autoreconf
Makefile.am:179: warning: .PHONY was already defined in condition DX_COND_doc, which is included in condition TRUE ...
aminclude.am:161: ... '.PHONY' previously defined here
Makefile.am:15: 'aminclude.am' included from here
plugins/renard/Makefile.mk:8: warning: variable 'nodist_plugins_ranard_libolaranard_la_SOURCES' is defined but no program or
plugins/renard/Makefile.mk:8: library has 'plugins_ranard_libolaranard_la' as canonical name (possible typo)
Makefile.am:155: 'plugins/Makefile.mk' included from here
plugins/Makefile.mk:13: 'plugins/renard/Makefile.mk' included from here
[00:06:44] pi@openHABianPi:~/open-lighting/ola$ make
make: *** No targets specified and no makefile found. Stop.
[00:11:41] pi@openHABianPi:~/open-lighting/ola$ sudo make install
make: *** No rule to make target 'install'. Stop.
[00:11:49] pi@openHABianPi:~/open-lighting/ola$
Its working, OLA at least. I just need to configure it and add add the OLA binding, @ThomDietrich I will keep you posted so that you can integrate this tricky install on openhabian… It was a lot of work to install all the dependents…
So after several reboots I finally got the dongle to show up, I will update the post over for this. However I now need to install the ola binding, this is a 1.9 binding. I installed it with the paper UI, added connection=localhost:9010 to a file called “binding-dmx1.cfg” is this the correct way to do it? Is the filname of the manually added cfg file correct?
How can I check if it is installed correctly and check the log for it? How can I restart OH2 without using sudo reboot?