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

linux version too old #3

Open
chenmin1107 opened this issue Oct 17, 2017 · 9 comments
Open

linux version too old #3

chenmin1107 opened this issue Oct 17, 2017 · 9 comments

Comments

@chenmin1107
Copy link

Hi,

I have problems setting the linux wallet in ubuntu 14.04

When I tried to install the dependencies. I got the following error:

================================
sudo apt-get install qt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev \

    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev \
    libssl-dev libdb4.8++-dev

Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libdb4.8++-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libdb4.8++-dev' has no installation candidate

================================================
When I typed "apt-cache search libdb | grep libdb", I got the following:
libdb++-dev - Berkeley Database Libraries for C++ [development]
libdb-dev - Berkeley Database Libraries [development]
libdb-java-dev - Berkeley Database Libraries for Java [development]
libdb-sql-dev - Berkeley Database Libraries [SQL development]
libdb5.3 - Berkeley v5.3 Database Libraries [runtime]
libdb5.3++ - Berkeley v5.3 Database Libraries for C++ [runtime]
libdb5.3++-dev - Berkeley v5.3 Database Libraries for C++ [development]
libdb5.3-dbg - Berkeley v5.3 Database Libraries [debug]
libdb5.3-dev - Berkeley v5.3 Database Libraries [development]
libdb5.3-java - Berkeley v5.3 Database Libraries for Java
libdb5.3-java-dev - Berkeley v5.3 Database Libraries for Java [development]
libdb5.3-java-gcj - Berkeley v5.3 Database Libraries for Java (native code)
libdb5.3-java-jni - Berkeley v5.3 Database Libraries for Java
libdb5.3-sql - Berkeley v5.3 Database Libraries [SQL runtime]
libdb5.3-sql-dev - Berkeley v5.3 Database Libraries [SQL development]
libdb5.3-stl - Berkeley v5.3 Database Libraries [STL runtime]
libdb5.3-stl-dev - Berkeley v5.3 Database Libraries [STL development]

============================================
It seems that my version of libdb is newer than the one used by the wallet. Can you update your wallet, so we can use your wallet?

@xuyangcn
Copy link
Contributor

you don't need libdb4.8++-dev anymore

@chenmin1107
Copy link
Author

But when I make, I got the following error:
In file included from ../src/main.cpp:8:0:
../src/db.h:15:20: fatal error: db_cxx.h: No such file or directory
#include <db_cxx.h>
^
compilation terminated.
make: *** [build/main.o] Error 1

any idea why this happened?

@xuyangcn
Copy link
Contributor

install db5.3
apt-get install libdb5.3-dev libdb5.3++-dev

@chenmin1107
Copy link
Author

I got another error,

../src/net.cpp:20:32: fatal error: miniupnpc/miniwget.h: No such file or directory
#include <miniupnpc/miniwget.h>
^
compilation terminated.
make: *** [build/net.o] Error 1

Thanks a lot for your help!

@xuyangcn
Copy link
Contributor

try
make -f makefile.unix USE_UPNP=-

@chenmin1107
Copy link
Author

I do not have the mafile.unix

make: makefile.unix: No such file or directory
make: *** No rule to make target `makefile.unix'. Stop.

The steps I followed.

  1. mkdir build/
  2. qmake ../bitcoin-qt.pro
  3. make

anything i was missing?

@xuyangcn
Copy link
Contributor

cd src
make -f makefile.unix USE_UPNP=-
then you will have lomocoind

@chenmin1107
Copy link
Author

How do I created my own rpcpassword, or do I have to use the random password? Is it the private key of my wallet? A brief introduction on it will be appreciated.

If I want to restore my wallet, should I use the rpcpassword, or the wallet.dat file?

Error: To use lomocoind, you must set a rpcpassword in the configuration file:
/home/chenmin/.lomocoin/lomocoin.conf
It is recommended you use the following random password:
rpcuser=bitcoinrpc
rpcpassword=FkBnArTdmS8ZRjPGQFArs4qmfe9fKRKVSRb2zojpMXKm
(you do not need to remember this password)
If the file does not exist, create it with owner-readable-only file permissions.

@chenmin1107
Copy link
Author

There is no UI for lomocoind?

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

2 participants