New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux Debian 8, libuv "Unable to locate package" solved #248
Comments
You need libuv1 to build it required dependency. |
how to install libuv1 on debian 8? it says "directory not found" on web :( |
change those to the respective paths |
run this
|
root@dsifidhfisdf:~# sudo apt-get install libuv1-dev |
@Zelecktor Are you sure you're running Debian 8 aka Jessie? What does |
Already solved.
"libuv1-dev" says "Unable to locate package" but with libuv-dev worked fine. |
I used to build xmrig 2.8.0 on debian 8 using the libuv-dev package from the debian backports repo: https://packages.debian.org/jessie-backports/libuv1-dev . This doesn't seem to work anymore with xmrig 2.14.1, getting similar errors to the ones Zelecktor is describing. Upgrading to debian 9 fixed the problem. |
Hello.
Im trying to mine on a Linux debian 8.
Already i followed this instructions and installed all libraries.
Note*** that libuv1-dev says that that directory doesnt exist so i cant install it via command.
sudo apt-get install git build-essential cmake libmicrohttpd-dev
sudo apt-get install git build-essential cmake libcurl4-openssl-dev
git clone https://github.com/xmrig/xmrig.git
cd xmrig
mkdir build
cd build
cmake .. -DUV_INCLUDE_DIR=path/to/libuv/include -DUV_LIBRARY=path/to/libuv.a
sudo make
So when making it says this error:
root@openkore:~/xmrig/build# sudo make
Scanning dependencies of target cpuid
[ 2%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/cpuid_main.c.o
[ 4%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/asm-bits.c.o
[ 6%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_amd.c.o
[ 8%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/recog_intel.c.o
[ 11%] Building C object src/3rdparty/libcpuid/CMakeFiles/cpuid.dir/libcpuid_util.c.o
Linking C static library libcpuid.a
[ 11%] Built target cpuid
Scanning dependencies of target xmrig
[ 13%] Building CXX object CMakeFiles/xmrig.dir/src/api/Api.cpp.o
In file included from /root/xmrig/src/api/Api.cpp:27:0:
/root/xmrig/src/api/Api.h:28:16: fatal error: uv.h: No such file or directory
#include <uv.h>
^
compilation terminated.
CMakeFiles/xmrig.dir/build.make:54: recipe for target 'CMakeFiles/xmrig.dir/src/api/Api.cpp.o' failed
make[2]: *** [CMakeFiles/xmrig.dir/src/api/Api.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/xmrig.dir/all' failed
make[1]: *** [CMakeFiles/xmrig.dir/all] Error 2
Makefile:76: recipe for target 'all' failed
make: *** [all] Error 2
There is another method to compile or get a compiled version because i think that linux debian is not supported :(
Please i need some help. thanks in advance
The text was updated successfully, but these errors were encountered: