Bitcoin Forum

Bitcoin => Electrum => Topic started by: gelius on February 12, 2017, 01:14:13 AM



Title: install Electrum server problem
Post by: gelius on February 12, 2017, 01:14:13 AM
This manual:
https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md
Step 4.
Code:
sudo ./configure
Database not found in /var/electrum-server.
Do you want to download it from the Electrum foundry to /var/electrum-server ?

chown: invalid user: ‘electrum:electrum’
Yes, i don't have user "electrum". I need useradd?
Code:
sudo python setup.py install
warning: no files found matching '*' under directory 'doc/build/html'
warning: no files found matching 'plyvel/*.pxi'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
plyvel/_plyvel.cpp:359:24: fatal error: leveldb/db.h: No such file or directory
 #include "leveldb/db.h"
                        ^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Code:
sudo apt install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wtf?


Title: Re: install Electrum server problem
Post by: mmortal03 on June 05, 2017, 01:02:51 AM
This manual:
https://github.com/spesmilo/electrum-server/blob/master/HOWTO.md
Step 4.
Code:
sudo ./configure
Database not found in /var/electrum-server.
Do you want to download it from the Electrum foundry to /var/electrum-server ?

chown: invalid user: ‘electrum:electrum’
Yes, i don't have user "electrum". I need useradd?
Code:
sudo python setup.py install
warning: no files found matching '*' under directory 'doc/build/html'
warning: no files found matching 'plyvel/*.pxi'
cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++
plyvel/_plyvel.cpp:359:24: fatal error: leveldb/db.h: No such file or directory
 #include "leveldb/db.h"
                        ^
compilation terminated.
error: Setup script exited with error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
Code:
sudo apt install gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
gcc is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
wtf?

I ran into this same issue. I had to run the following first: sudo apt-get install libleveldb-dev