Skip to content
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

Cannot make #4

Open
younicoin opened this issue Jun 6, 2022 · 0 comments
Open

Cannot make #4

younicoin opened this issue Jun 6, 2022 · 0 comments

Comments

@younicoin
Copy link

younicoin commented Jun 6, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant