lomocoin / lomocoin-qt

MIT License
17 stars 5 forks source link

linux version too old #3

Open chenmin1107 opened 7 years ago

chenmin1107 commented 7 years ago

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 commented 7 years ago

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

chenmin1107 commented 7 years ago

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

                ^

compilation terminated. make: *** [build/main.o] Error 1

any idea why this happened?

xuyangcn commented 7 years ago

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

chenmin1107 commented 7 years ago

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 commented 7 years ago

try make -f makefile.unix USE_UPNP=-

chenmin1107 commented 7 years ago

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 commented 7 years ago

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

chenmin1107 commented 7 years ago

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 commented 7 years ago

There is no UI for lomocoind?