emcoin / eloncoin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello! today I tried to install Eloncoin again from source code. I cloned the most recent sources. And passed these commands and got this
./autogen.sh
export BDB_PREFIX='/usr/local/db4'; ./configure BDB_LIBS="-L${BDB_PREFIX}/lib -ldb_cxx-4.8" BDB_CFLAGS="-I${BDB_PREFIX}/include" --with-boost-libdir=/usr/lib/x86_64-linux-gnu --with-gui
make
...
CXX libbitcoin_server_a-httprpc.o
CXX libbitcoin_server_a-httpserver.o
httpserver.cpp:75:10: error: ‘deque’ in namespace ‘std’ does not name a template type
75 | std::deque<WorkItem*> queue;
| ^~~~~
httpserver.cpp:33:1: note: ‘std::deque’ is defined in header ‘<deque>’; did you forget to ‘#include <deque>’?
32 | #include <event2/keyvalq_struct.h>
+++ |+#include <deque>
33 |
httpserver.cpp: In destructor ‘WorkQueue<WorkItem>::~WorkQueue()’:
httpserver.cpp:88:17: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
88 | while (!queue.empty()) {
| ^~~~~
| Enqueue
httpserver.cpp: In member function ‘bool WorkQueue<WorkItem>::Enqueue(WorkItem*)’:
httpserver.cpp:97:13: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
97 | if (queue.size() >= maxDepth) {
| ^~~~~
| Enqueue
httpserver.cpp:100:9: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
100 | queue.push_back(item);
| ^~~~~
| Enqueue
httpserver.cpp: In member function ‘void WorkQueue<WorkItem>::Run()’:
httpserver.cpp:111:35: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
111 | while (running && queue.empty())
| ^~~~~
| Enqueue
httpserver.cpp:115:21: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
115 | i = queue.front();
| ^~~~~
| Enqueue
httpserver.cpp: In member function ‘size_t WorkQueue<WorkItem>::Depth()’:
httpserver.cpp:134:16: error: ‘queue’ was not declared in this scope; did you mean ‘Enqueue’?
134 | return queue.size();
| ^~~~~
| Enqueue
make[2]: *** [Makefile:7972: libbitcoin_server_a-httpserver.o] Error 1
make[2]: Leaving directory '~/emc/Eloncoin/src'
make[1]: *** [Makefile:13829: all-recursive] Error 1
make[1]: Leaving directory '~/emc/Eloncoin/src'
make: *** [Makefile:783: all-recursive] Error 1
$ gcc --version
gcc (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ g++ --version
g++ (Debian 10.2.1-6) 10.2.1 20210110
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Devuan
Description: Devuan GNU/Linux 4 (chimaera)
Release: 4
Codename: chimaera
$ uname -r
5.10.0-14-amd64
what should i do here?
I use source code of ElonCoin Core for Linux from this repository. But it does not build.
# ./autogen.sh
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:45: installing 'build-aux/compile'
configure.ac:28: installing 'build-aux/missing'
Makefile.am: installing 'build-aux/depcomp'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build-aux/m4'.
libtoolize: copying file 'build-aux/m4/libtool.m4'
libtoolize: copying file 'build-aux/m4/ltoptions.m4'
libtoolize: copying file 'build-aux/m4/ltsugar.m4'
libtoolize: copying file 'build-aux/m4/ltversion.m4'
libtoolize: copying file 'build-aux/m4/lt~obsolete.m4'
configure.ac:10: installing 'build-aux/compile'
configure.ac:9: installing 'build-aux/missing'
Makefile.am:153: error: CPPFLAGS_FOR_BUILD must be set with '=' before using '+='
Makefile.am:154: error: CFLAGS_FOR_BUILD must be set with '=' before using '+='
Makefile.am: installing 'build-aux/depcomp'
autoreconf: automake failed with exit status: 1
autoconf --version
autoconf (GNU Autoconf) 2.69
gcc --version
gcc (Debian 8.3.0-6) 8.3.0
make --version
GNU Make 4.2.1
This issue tracker is only for technical issues related to ELONCOIN Core.
General ELONCOIN questions and/or support requests and are best directed to the ELONCOIN Discord.
It will not finish compiling. It halts due to a bad makefile.
Yes, multiple machines and OS's (Ubuntu 18.04, and 20.04)
It should compile
Here is the output of the error:
make[3]: Leaving directory '/home/user/git/Eloncoin'
RUSTC="" TERM=dumb build --release --manifest-path ../Cargo.toml
/bin/bash: build: command not found
Makefile:13830: recipe for target 'cargo-build' failed
make[2]: *** [cargo-build] Error 127
make[2]: Leaving directory '/home/user/git/Eloncoin/src'
Makefile:13300: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/user/git/Eloncoin/src'
Makefile:781: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
None
Latest on github
I expect the numbers to change as coins arrive and mature.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package.
V1.0.0 'official binary'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.