zOU
|
|
November 09, 2015, 09:47:55 AM Last edit: November 09, 2015, 10:07:02 AM by zOU |
|
I did the update using ./build_miner.sh bfgminer I had to restart my RPI after the restart, whenever I ran bfgminer -V or ./bfgminer -V from /var/www/minera/minera-bin/ I got version 4.8 I'm running the script again now. ========================== minera@minera /var/www/minera/minera-bin $ ./bfgminer -V <<== local version bfgminer 4.8.0-34-g9c71295minera@minera /var/www/minera/minera-bin $ bfgminer -V <<== system version bfgminer 4.8.0-34-g9c71295running the script: minera@minera /var/www/minera $ ./build_miner.sh bfgminer bfgminer Pulling repo https://github.com/luke-jr/bfgminer.git Fetching origin HEAD is now at 9c71295 Merge branch 'travis' into bfgminer Getting submodules... Submodule 'ccan' () registered for path 'ccan-upstream' Submodule 'libbase58' () registered for path 'libbase58' Submodule 'libblkmaker' () registered for path 'libblkmaker' Running autoreconf -if... rm: cannot remove `autom4te.cache/traces.0': Permission denied rm: cannot remove `autom4te.cache/requests': Permission denied rm: cannot remove `autom4te.cache/output.0': Permission denied rm: cannot remove `autom4te.cache/traces.1': Permission denied rm: cannot remove `autom4te.cache/output.1': Permission denied
minera@minera /var/www/minera $ sudo ./build_miner.sh bfgminer bfgminer Pulling repo https://github.com/luke-jr/bfgminer.git Fetching origin HEAD is now at 9c71295 Merge branch 'travis' into bfgminer Getting submodules... Submodule 'ccan' () registered for path 'ccan-upstream' Submodule 'libbase58' () registered for path 'libbase58' Submodule 'libblkmaker' () registered for path 'libblkmaker' Running autoreconf -if... libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. Updating version.h... Running ./configure --enable-scrypt --enable-broad-udevrules checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking target system type... armv7l-unknown-linux-gnueabihf checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking for gcc option to accept ISO C99... -std=gnu99 checking for ranlib... ranlib checking whether gcc -std=gnu99 needs -traditional... no checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for ranlib... (cached) ranlib checking how to run the C preprocessor... gcc -E checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking for stdint.h... (cached) yes checking for mprotect... yes checking for sigaction... yes checking for sigaltstack... yes checking for siginterrupt... yes checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking whether memmem is declared... yes checking for memmem... yes checking whether memmem works... yes checking for C/C++ restrict keyword... __restrict checking for uid_t in sys/types.h... yes checking for inline... inline checking whether the preprocessor supports include_next... yes checking whether system header files limit the line length... no checking for wchar_t... yes checking for unsigned long long int... yes checking for long long int... yes checking whether stdint.h conforms to C99... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strerror_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether strtok_r is declared... (cached) yes checking whether memmem works in linear time... yes checking for memmem... (cached) yes checking whether memmem works... (cached) yes checking for struct sigaction.sa_sigaction... yes checking for volatile sig_atomic_t... yes checking for sighandler_t... yes checking whether sigaction is declared without a macro... yes checking whether sigaddset is declared without a macro... yes checking whether sigdelset is declared without a macro... yes checking whether sigemptyset is declared without a macro... yes checking whether sigfillset is declared without a macro... yes checking whether sigismember is declared without a macro... yes checking whether sigpending is declared without a macro... yes checking whether sigprocmask is declared without a macro... yes checking for sigprocmask... yes checking whether NULL can be used in arbitrary expressions... yes checking for strtok_r... yes checking whether strtok_r works... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for ANSI C header files... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/epoll.h usability... yes checking sys/epoll.h presence... yes checking for sys/epoll.h... yes checking for sys/mman.h... (cached) yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking linux/spi/spidev.h usability... yes checking linux/spi/spidev.h presence... yes checking for linux/spi/spidev.h... yes checking for struct i2c_msg.buf... no checking for struct i2c_msg.len... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for chroot... yes checking for sleep... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether HASH_ITER is declared... yes checking whether DL_CONCAT is declared... yes checking linux/vfio.h usability... no checking linux/vfio.h presence... no checking for linux/vfio.h... no configure: WARNING: linux/vfio.h not found; PCI device support will require UIO (and root access) checking for pthread_cancel... with -pthread -lpthread checking for nanosleep... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for JANSSON... yes checking for libmicrohttpd... yes checking for libevent... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBUSB... yes checking for hidapi... no checking for hidapi... no checking for hidapi... no checking whether libusb_error_name is declared... yes checking what baud rates your system supports... done checking for best native curses library... configure: WARNING: ncursesw5 doesn't seem to be installed properly ncurses5 checking whether curses library supports wide characters... no checking for libbase58... yes checking whether the linker recognizes the -zorigin option... yes checking for armv7l-unknown-linux-gnueabihf-ldconfig... no checking for ldconfig... ldconfig checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for LIBCURL... yes checking for setrlimit... yes checking for bswap_* functions... found in byteswap.h checking if bswap_16 is already a macro... yes checking for platform endian... little endian (endian.h) checking if good static asserts compile... yes checking if GNU format attribute compiles... yes checking for clock_gettime(CLOCK_MONOTONIC)... yes checking for library containing clock_gettime... -lrt checking for clock_nanosleep... no checking for clock_gettime(CLOCK_MONOTONIC_RAW)... yes checking for log2... yes configure: creating ./config.status config.status: creating Makefile config.status: creating x86_64/Makefile config.status: creating x86_32/Makefile config.status: creating ccan.bfg/Makefile config.status: creating lib/Makefile config.status: creating 70-bfgminer.rules config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands === configuring in libblkmaker (/var/www/minera/minera-bin/src/bfgminer/libblkmaker) configure: running /bin/bash ./configure --disable-option-checking '--prefix=/usr/local' '--enable-scrypt' '--enable-broad-udevrules' 'libbase58_LIBS=-L/usr/local/lib -lbase58 ' 'libbase58_CFLAGS=-I/usr/local/include ' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking for gcc option to accept ISO C99... -std=gnu99 checking for ar... ar checking the archiver (ar) interface... ar checking build system type... armv7l-unknown-linux-gnueabihf checking host system type... armv7l-unknown-linux-gnueabihf checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc -std=gnu99... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7l-unknown-linux-gnueabihf file names to armv7l-unknown-linux-gnueabihf format... func_convert_file_noop checking how to convert armv7l-unknown-linux-gnueabihf file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -std=gnu99 -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes checking if gcc -std=gnu99 static flag -static works... yes checking if gcc -std=gnu99 supports -c -o file.o... yes checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes checking whether the gcc -std=gnu99 linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for JANSSON... yes checking for libbase58... yes checking for strchr in -lws2_32... no configure: creating ./config.status config.status: creating Makefile config.status: creating libblkmaker_jansson-0.1.pc config.status: executing depfiles commands config.status: executing libtool commands
------------------------------------------------------------------------ bfgminer 4.8.0 configuration options summary ------------------------------------------------------------------------
CFLAGS...............: -pthread -g -O2 -I/usr/local/include/libusb-1.0 -I/usr/local/include -pthread -I/usr/local/include -I/var/www/minera/minera-bin/src/bfgminer/libblkmaker LDFLAGS..............: -pthread -lpthread -lcurl -L/usr/local/lib -ljansson -lncurses -ltinfo -lm -ludev -L/usr/local/lib -lusb-1.0 -lrt -L/usr/local/lib -lbase58 -L/var/www/minera/minera-bin/src/bfgminer/libblkmaker/.libs -Wl,-rpath,\$$ORIGIN/libblkmaker/.libs,-zorigin -lblkmaker_jansson-0.1 -lblkmaker-0.1 Installation.prefix..: /usr/local
Enabled..Lowlevel....: ftdi pci pci:uio spi usb vcom Disabled.Lowlevel....: hid mswin pci:vfio Enabled..Drivers.....: antminer avalon avalonmm bfx bifury bigpic bitforce bitforce:pci bitfury_gpio cairnsmore cointerra drillbit dualminer erupter gridseed hashbusteravalon hashbusterusb hashfast icarus klondike littlefury modminer proxy proxy:getwork proxy:stratum rockminer twinfury x6500 zeusminer ztex Disabled.Drivers.....: bfsb bitforce:mswin cpu hashbuster jingtian knc metabank minergate nanofury opencl To enable nanofury, install hidapi To enable hashbuster, install hidapi Enabled..Algorithms..: SHA256d scrypt Disabled.Algorithms..: Enabled..Options.....: ncurses5 Disabled.Options.....:
./gen-version.sh >version.h.new cmp version.h version.h.new && rm version.h.new || mv version.h.new version.h make all-recursive make[1]: Entering directory '/var/www/minera/minera-bin/src/bfgminer' Making all in lib make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' GEN signal.h GEN string.h make all-recursive make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' Making all in ccan.bfg make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' Making all in libblkmaker make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer' make -C lib make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make all-recursive make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' ./gen-version.sh >version.h.new cmp version.h version.h.new && rm version.h.new || mv version.h.new version.h CC bfgminer-miner.o CC bfgminer-deviceapi.o CC bfgminer-util.o CC bfgminer-sha2.o CC bfgminer-api.o CC bfgminer-logging.o CC bfgminer-driver-proxy.o CC bfgminer-httpsrv.o CC bfgminer-driver-getwork.o CC bfgminer-driver-stratum.o CC bfgminer-scrypt.o CC bfgminer-lowl-vcom.o CC bfgminer-lowl-usb.o CC bfgminer-binloader.o CC bfgminer-lowlevel.o CC bfgminer-dynclock.o CC bfgminer-work2d.o CC bfgminer-driver-bitforce.o CC bfgminer-driver-bigpic.o CC bfgminer-driver-drillbit.o CC bfgminer-driver-twinfury.o CC bfgminer-driver-icarus.o CC bfgminer-driver-cairnsmore.o CC bfgminer-driver-erupter.o CC bfgminer-driver-antminer.o CC bfgminer-gc3355.o CC bfgminer-driver-gridseed.o CC bfgminer-driver-dualminer.o CC bfgminer-driver-zeusminer.o CC bfgminer-driver-avalon.o CC bfgminer-hexdump.o CC bfgminer-driver-avalonmm.o CC bfgminer-driver-klondike.o CC bfgminer-driver-hashbusteravalon.o CC bfgminer-driver-modminer.o CC bfgminer-driver-x6500.o CC bfgminer-jtag.o CC bfgminer-driver-ztex.o CC bfgminer-libztex.o CC bfgminer-driver-bifury.o CC bfgminer-driver-bitfury.o CC bfgminer-libbitfury.o CC bfgminer-driver-bfx.o CC bfgminer-driver-littlefury.o CC bfgminer-driver-hashbusterusb.o CC bfgminer-driver-cointerra.o CC bfgminer-driver-hashfast.o CC bfgminer-driver-rockminer.o CC bfgminer-lowl-ftdi.o CC bfgminer-lowl-pci.o CC bfgminer-lowl-spi.o make -C libblkmaker make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' CCLD bfgminer make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer' make[1]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer' ./gen-version.sh >version.h.new cmp version.h version.h.new && rm version.h.new || mv version.h.new version.h make install-recursive make[1]: Entering directory '/var/www/minera/minera-bin/src/bfgminer' Making install in lib make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make install-recursive make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' Making install in ccan.bfg make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/ccan.bfg' Making install in libblkmaker make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' /bin/mkdir -p '/usr/local/lib' /bin/bash ./libtool --mode=install /usr/bin/install -c libblkmaker_jansson-0.1.la libblkmaker-0.1.la '/usr/local/lib' libtool: install: warning: relinking `libblkmaker_jansson-0.1.la' libtool: install: (cd /var/www/minera/minera-bin/src/bfgminer/libblkmaker; /bin/bash /var/www/minera/minera-bin/src/bfgminer/libblkmaker/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -g -O2 -L.libs -lblkmaker-0.1 -ljansson -no-undefined -version-info 6:0:0 -o libblkmaker_jansson-0.1.la -rpath /usr/local/lib libblkmaker_jansson_0.1_la-blkmaker_jansson.lo ) libtool: install: /usr/bin/install -c .libs/libblkmaker_jansson-0.1.so.6.0.0T /usr/local/lib/libblkmaker_jansson-0.1.so.6.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libblkmaker_jansson-0.1.so.6.0.0 libblkmaker_jansson-0.1.so.6 || { rm -f libblkmaker_jansson-0.1.so.6 && ln -s libblkmaker_jansson-0.1.so.6.0.0 libblkmaker_jansson-0.1.so.6; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libblkmaker_jansson-0.1.so.6.0.0 libblkmaker_jansson-0.1.so || { rm -f libblkmaker_jansson-0.1.so && ln -s libblkmaker_jansson-0.1.so.6.0.0 libblkmaker_jansson-0.1.so; }; }) libtool: install: /usr/bin/install -c .libs/libblkmaker_jansson-0.1.lai /usr/local/lib/libblkmaker_jansson-0.1.la libtool: install: /usr/bin/install -c .libs/libblkmaker-0.1.so.6.0.0 /usr/local/lib/libblkmaker-0.1.so.6.0.0 libtool: install: (cd /usr/local/lib && { ln -s -f libblkmaker-0.1.so.6.0.0 libblkmaker-0.1.so.6 || { rm -f libblkmaker-0.1.so.6 && ln -s libblkmaker-0.1.so.6.0.0 libblkmaker-0.1.so.6; }; }) libtool: install: (cd /usr/local/lib && { ln -s -f libblkmaker-0.1.so.6.0.0 libblkmaker-0.1.so || { rm -f libblkmaker-0.1.so && ln -s libblkmaker-0.1.so.6.0.0 libblkmaker-0.1.so; }; }) libtool: install: /usr/bin/install -c .libs/libblkmaker-0.1.lai /usr/local/lib/libblkmaker-0.1.la libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin" ldconfig -n /usr/local/lib ---------------------------------------------------------------------- Libraries have been installed in: /usr/local/lib
If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to `/etc/ld.so.conf'
See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- /bin/mkdir -p '/usr/local/include/libblkmaker-0.1' /usr/bin/install -c -m 644 blkmaker.h blktemplate.h '/usr/local/include/libblkmaker-0.1' /bin/mkdir -p '/usr/local/include/libblkmaker-0.1' /usr/bin/install -c -m 644 blkmaker_jansson.h '/usr/local/include/libblkmaker-0.1' /bin/mkdir -p '/usr/local/lib/pkgconfig' /usr/bin/install -c -m 644 libblkmaker_jansson-0.1.pc '/usr/local/lib/pkgconfig' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[2]: Entering directory '/var/www/minera/minera-bin/src/bfgminer' make -C lib make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make all-recursive make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Nothing to be done for 'all-am'. make[5]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' ./gen-version.sh >version.h.new cmp version.h version.h.new && rm version.h.new || mv version.h.new version.h make -C libblkmaker make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' CCLD bfgminer make[3]: Entering directory '/var/www/minera/minera-bin/src/bfgminer' make -C lib make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make all-recursive make[5]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[6]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[5]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/lib' ./gen-version.sh >version.h.new cmp version.h version.h.new && rm version.h.new || mv version.h.new version.h make -C libblkmaker make[4]: Entering directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' make[4]: Nothing to be done for 'all'. make[4]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer/libblkmaker' CCLD bfgminer /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c bfgminer bfgminer-rpc '/usr/local/bin' /bin/mkdir -p '/usr/local/bin' /usr/bin/install -c start-bfgminer.sh '/usr/local/bin' /bin/mkdir -p '/usr/local/share/doc/bfgminer' /usr/bin/install -c -m 644 AUTHORS COPYING HACKING NEWS README example.conf README.RPC README.scrypt README.FPGA README.ASIC '/usr/local/share/doc/bfgminer' /bin/mkdir -p '/usr/local/share/doc/bfgminer/rpc-examples' /usr/bin/install -c -m 644 api-example.php miner.php api-example.c api-example.py '/usr/local/share/doc/bfgminer/rpc-examples' /bin/mkdir -p '/lib/udev/rules.d' /usr/bin/install -c -m 644 70-bfgminer.rules '/lib/udev/rules.d' make[3]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer' make[2]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer' make[1]: Leaving directory '/var/www/minera/minera-bin/src/bfgminer' Removing old binary /var/www/minera/minera-bin/bfgminer Copying new binary /var/www/minera/minera-bin/src/bfgminer/bfgminer -> /var/www/minera/minera-bin/bfgminer
minera@minera /var/www/minera $ cd minera-bin/ minera@minera /var/www/minera/minera-bin $ ./bfgminer -V bfgminer 4.8.0-34-g9c71295 What am I doing wrong ? (again ??)
|
|
|
|
wareck
Member
Offline
Activity: 238
Merit: 10
|
|
November 09, 2015, 06:21:17 PM |
|
try this : cd /var/www/minera/minera-bin sudo rm bfgminer touch bfgminer cd src sudo rm -r -f bfgminer cd /var/www sudo ./build_miner bfgminer
|
|
|
|
zOU
|
|
November 09, 2015, 06:30:57 PM |
|
Thank you ! In the meantime i've installed it as a custom miner
|
|
|
|
zOU
|
|
November 11, 2015, 09:39:57 AM |
|
Yes the guide has been followed multiple times. It seems as though lighthttpd and apache do not see the minera directory that is in fact in /var/www/ I tried both web servers all return 404 error. Update: The issue is in fact document root for both Lighthttpd and Apache changing this solved that issue with 404 page on Minera.
hello, I'm trying to set up Minera on ubuntu 15.10 but I have a 404 page :/ I've followed: https://github.com/michelem09/minera/wiki/Getting-started#manual-installCan you please develop on the solution above ? cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.10 DISTRIB_CODENAME=wily DISTRIB_DESCRIPTION="Ubuntu 15.10" NAME="Ubuntu" VERSION="15.10 (Wily Werewolf)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 15.10" VERSION_ID="15.10" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" uname -a Linux lenovo 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 14:46:51 UTC 2015 i686 i686 i686 GNU/Linux
|
|
|
|
mm5aes
|
|
November 11, 2015, 09:57:23 AM |
|
Yes the guide has been followed multiple times. It seems as though lighthttpd and apache do not see the minera directory that is in fact in /var/www/ I tried both web servers all return 404 error. Update: The issue is in fact document root for both Lighthttpd and Apache changing this solved that issue with 404 page on Minera.
hello, I'm trying to set up Minera on ubuntu 15.10 but I have a 404 page :/ I've followed: https://github.com/michelem09/minera/wiki/Getting-started#manual-installCan you please develop on the solution above ? cat /etc/*-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.10 DISTRIB_CODENAME=wily DISTRIB_DESCRIPTION="Ubuntu 15.10" NAME="Ubuntu" VERSION="15.10 (Wily Werewolf)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 15.10" VERSION_ID="15.10" HOME_URL="http://www.ubuntu.com/" SUPPORT_URL="http://help.ubuntu.com/" BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/" uname -a Linux lenovo 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 14:46:51 UTC 2015 i686 i686 i686 GNU/Linux Try editing the config file for lighttpd :- sudo nano /etc/lighttpd/lighttpd.conf Change the line to look like below :- server.document-root = "/var/www/" (cntrl x, y, return) Finally run the following :- sudo /etc/init.d/lighttpd force-reload Hope this helps....
|
|
|
|
zOU
|
|
November 11, 2015, 10:02:01 AM |
|
Try editing the config file for lighttpd :-
sudo nano /etc/lighttpd/lighttpd.conf
Change the line to look like below :-
server.document-root = "/var/www/"
(cntrl x, y, return)
Finally run the following :-
sudo /etc/init.d/lighttpd force-reload
Hope this helps....
That did the trick ! Thank you very much !
|
|
|
|
nowaltcoin
|
|
November 12, 2015, 08:27:35 PM |
|
Hi Folks - I'm running some Antminer U3s and a Blackarrow X-1 at home. The X-1 is connected on my network and the U3s are connected to an RPi with Minera. I can find the X-1 when I hit search but it only shows as offline with no corresponding info in the dashboard. Am I doing something wrong?
Hi Riley you have to configure the cgminer running on the X-1. Default there is only access to the cgminer api from 127.0.0.1 So minera find the X-1 but could not access the cgminer-api. nowaltcoin
|
8 * Blackarrow Prospero at Low-Voltage mining @ ckpool.org 12 * GPU's mining ETN/Sumocoin You like to mine something different: https://deutsche-emark.de/
|
|
|
MarkAz
|
|
November 16, 2015, 12:10:00 AM |
|
I've been trying to get everything working with Minera and the Alcheminer on their stock device, which is running Ubuntu 12.04 LTS, and unfortunately seems like it's stuck on PHP 5.3. I've got one problem that's really a dealkiller for me with it - when I go into the setting page and change anything, the popup appears and says it's making the changes, but it never disappears. I've looked through the minera logs and nothing jumped out as unusual or related - and the changes actually get saved, it just never continues. This is only true with the config - if I do something like restart the miner, it can do that fine, it's just the settings it has issues with. Any ideas on how I might resolve this? Thanks!
|
|
|
|
MarkAz
|
|
November 16, 2015, 03:47:12 AM |
|
I have a workaround at least - it all revolves around JSON_PRETTY_PRINT, which was added in 5.4... The macro replacement for it is 128, so I went through and replaced the instances of it with 128 and it solved the page stalling issue I was having, and also fixed the fact that that miner_conf.json wasn't saving (makes sense). I'm not sure what side effects this could introduce, since I'm obviously on an older version, but for now it works and hopefully this might help anyone else who runs into this issue...
|
|
|
|
Blackross
Newbie
Offline
Activity: 53
Merit: 0
|
|
November 18, 2015, 05:36:14 PM |
|
i was wondering....
where do i change it so i can have screen running as well as echo the output to the monitor as a status, i know there's a switch to echo the miners output to a com port etc.. but the pi has a small rca driven monitor slapped to the front of the rack.
just would like to walk by and see what’s it doing at a glance instead of having to login to the pi via ssh or http (still cant login via http on the ps3 (for ultimate laziness)).
thats all, any solutions to those two options (output redirection or autologin) would be great from any of you guys here.
|
|
|
|
zOU
|
|
November 18, 2015, 05:43:25 PM |
|
Tail -f /var/log/minera/[nameofyourminer].log
|
|
|
|
nowaltcoin
|
|
November 18, 2015, 09:10:42 PM |
|
Hi if got my rpi2+ for my mining project today. Flashing the micro-sd was easy and the rpi2 was booting and running like a big one (minera 0.6.1) It takes me 15 minutes to get a bunch of ba prospero X1 and X1.5 running with minera (Network miner) At the dashboard i can see all data for the network miners. (temp an frequency of the prosperos are missing but it seems to be the api could not read these parameters) But in the charts (mining charts) hashrate history and accepted/rejected/errors there is nothing (even after one hour) It seems to be only mining charts for local miners would be shown, but i have no local miners connected. Did i miss something ? Help would be nice Have a nice day
|
8 * Blackarrow Prospero at Low-Voltage mining @ ckpool.org 12 * GPU's mining ETN/Sumocoin You like to mine something different: https://deutsche-emark.de/
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
November 19, 2015, 07:51:59 AM |
|
i was wondering....
where do i change it so i can have screen running as well as echo the output to the monitor as a status, i know there's a switch to echo the miners output to a com port etc.. but the pi has a small rca driven monitor slapped to the front of the rack.
just would like to walk by and see what’s it doing at a glance instead of having to login to the pi via ssh or http (still cant login via http on the ps3 (for ultimate laziness)).
thats all, any solutions to those two options (output redirection or autologin) would be great from any of you guys here.
If you connect via SSH and type "screen -r" you can bring up the miner software output console. Type "ctrl+a" and "d" to detach it.
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
November 19, 2015, 07:52:39 AM |
|
Hi if got my rpi2+ for my mining project today. Flashing the micro-sd was easy and the rpi2 was booting and running like a big one (minera 0.6.1) It takes me 15 minutes to get a bunch of ba prospero X1 and X1.5 running with minera (Network miner) At the dashboard i can see all data for the network miners. (temp an frequency of the prosperos are missing but it seems to be the api could not read these parameters) But in the charts (mining charts) hashrate history and accepted/rejected/errors there is nothing (even after one hour) It seems to be only mining charts for local miners would be shown, but i have no local miners connected. Did i miss something ? Help would be nice Have a nice day There are no charts available for Network miners. The charts are only for local miners.
|
|
|
|
zOU
|
|
November 21, 2015, 11:42:54 AM |
|
If i tell the miner to restart after 600sec (10mn), it restarts after 1mn anyway... seems ok with 6000.
|
|
|
|
nubbins7
|
|
November 21, 2015, 09:57:53 PM |
|
Hi will you guys ever be making Minera software you can use on your computer like for windows? that would be great!
|
|
|
|
michelem (OP)
Legendary
Offline
Activity: 1015
Merit: 1000
|
|
November 22, 2015, 08:33:22 AM |
|
Hi will you guys ever be making Minera software you can use on your computer like for windows? that would be great! I think nobody will never port Minera on Windows, it's not easy at all. Use MultiMiner instead: http://www.multiminerapp.com/
|
|
|
|
ammi84
|
|
November 23, 2015, 07:23:55 PM |
|
Hi, which USB Sticks are supported? Gekkoscience, Avalon Nano, BiFury or some others? thanks
|
|
|
|
zOU
|
|
November 23, 2015, 07:30:57 PM |
|
It depends on the miner and version you're using.
Minera is just a User Interface, not a mining SW.
|
|
|
|
audiotopix
|
|
November 24, 2015, 05:59:23 AM |
|
Can minera be used with an A2 terminator?
|
|
|
|
|