getminera / minera

Minera is a web interface to monitor and manage mining devices
http://getminera.com
Other
372 stars 156 forks source link

install_minera_ubuntu.sh fails to install many dependencies #246

Closed danb35 closed 2 years ago

danb35 commented 4 years ago

Describe the bug The install_minera_ubuntu.sh script doesn't install dependencies to build the miners. As a result, none of the miners are built, and Minera doesn't run.

To Reproduce Steps to reproduce the behavior:

cpuminer Cloning repo https://github.com/siklon/cpuminer-gc3355 into /var/www/minera/minera-bin/src/cpuminer-gc3355 Cloning into '/var/www/minera/minera-bin/src/cpuminer-gc3355'... remote: Enumerating objects: 862, done. remote: Total 862 (delta 0), reused 0 (delta 0), pack-reused 862 Receiving objects: 100% (862/862), 4.71 MiB | 3.69 MiB/s, done. Resolving deltas: 100% (359/359), done. ./autogen.sh: 8: ./autogen.sh: aclocal: not found DONE! Minera is ready!

Open the URL: http://192.168.1.196/minera/


**Expected behavior**
I'd be able to browse to the URL noted and see the Minera page.

**Actual behavior**
Connection refused at that URL.  Noting the compile error, I tried to track down the missing dependencies.  Thus far, I've installed `autotools-dev`, `automake`, `build-essential`, `libcurl4-openssl-dev`, and `libudev-dev`.  It gets farther each attempt, but now it's stopping at:

Running autoreconf -if... configure.ac:35: warning: macro 'AM_PATH_LIBGCRYPT' not found in library configure.ac:29: warning: AM_PATH_LIBGCRYPT missing; CLI tool will not be available configure.ac:29: warning: AM_PATH_LIBGCRYPT missing; CLI tool will not be available configure.ac:29: warning: AM_PATH_LIBGCRYPT missing; CLI tool will not be available configure.ac:29: warning: AM_PATH_LIBGCRYPT missing; CLI tool will not be available configure.ac:17: installing './ar-lib' configure.ac:16: installing './compile' configure.ac:13: installing './install-sh' configure.ac:13: installing './missing' Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined Makefile.am:6: The usual way to define 'LIBTOOL' is to add 'LT_INIT' Makefile.am:6: to 'configure.ac' and run 'aclocal' and 'autoconf' again. Makefile.am:6: If 'LT_INIT' is in 'configure.ac', make sure Makefile.am:6: its definition is in aclocal's search path. Makefile.am: installing './depcomp' parallel-tests: installing './test-driver' autoreconf: automake failed with exit status: 1



At a minimum, document the dependencies of the install script.  Better yet, install them all in the script--it won't hurt anything to do `apt install foo` if `foo` is already installed
michelem09 commented 4 years ago

Minera is not compatible with Ubuntu 18.04, just use 16.04

minermartelli commented 4 years ago

read my post...probably help you.. :-)