Debian installation problem



  • Hello world,
    I want to install the wallet for debian but I don't know how can I launch installation I have 2 files: "Bitradiod" and "Bitradio-qt" and when I try to launch one of these, installation is not launching.
    If someone has solution thanks for his help.
    Thanks for future help.

    PS: Sorry for my english if it's bad/



  • @AlphaShadows77 said in Debian installation problem:

    Hello world,
    I want to install the wallet for debian but I don't know how can I launch installation I have 2 files: "Bitradiod" and "Bitradio-qt" and when I try to launch one of these, installation is not launching.
    If someone has solution thanks for his help.
    Thanks for future help.

    PS: Sorry for my english if it's bad/

    Compile from source: https://github.com/thebitradio/Bitradio
    DOC: https://github.com/thebitradio/Bitradio/blob/master/doc/build-unix.md

    mkdir -p bitradio-wallet &&  cd bitradio-wallet/
    
    git clone https://github.com/thebitradio/Bitradio.git
    
    wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
    
    tar -xzvf db-4.8.30.NC.tar.gz
    
    wget https://dl.bintray.com/boostorg/release/1.64.0/source/boost_1_64_0.tar.gz
    
    tar -xzvf boost_1_64_0.tar.gz
    
    sudo apt-get install build-essential libtool automake autotools-dev autoconf pkg-config libssl-dev libgmp3-dev libevent-dev bsdmainutils
    
    sudo apt-get install libminiupnpc-dev
    
    sudo apt-get install libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler
    
    sudo apt-get install libqrencode-dev
    
    cd boost_1_64_0/
    
    ./bootstrap.sh
    
    ./bjam install
    
    cd ../Bitradio-master/
    
    BITRADIO_ROOT=$(pwd)
    
    BDB_PREFIX="${BITRADIO_ROOT}/db4"
    
    mkdir -p $BDB_PREFIX
    
    cd ../db-4.8.30.NC/build_unix/
    
    ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
    
    make install
    
    cd $BITRADIO_ROOT
    
    make clean && make distclean
    

    open Bitradio.pro with your editor favorite, and add lines after "TEMPLATE = app":

    BDB_INCLUDE_PATH = db4/include
    BDB_LIB_PATH = db4/lib
    

    example result:

    TEMPLATE = app
    BDB_INCLUDE_PATH = db4/include
    BDB_LIB_PATH = db4/lib
    TARGET = Bitradio-qt
    

    Save and close, return to console:

    qmake -qt=qt5 USE_UPNP=- && make
    

    Done success? Execute ./Bitradio-qt and wait sync



  • Hi!

    I'm also having problems installing Bitradiod on Debian distribution. I'm going through steps described here: https://github.com/thebitradio/Bitradio/blob/master/doc/build-unix.md but having an error when configuring Berkeley DB 4.8:

    BITRADIO_ROOT=$(pwd)
    
    # Pick some path to install BDB to, here we create a directory within the BITRADIO directory
    BDB_PREFIX="${BITRADIO_ROOT}/db4"
    mkdir -p $BDB_PREFIX
    
    # Fetch the source and verify that it is not tampered with
    wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
    echo '12edc0df75bf9abd7f82f821795bcee50f42cb2e5f76a6a281b85732798364ef  db-4.8.30.NC.tar.gz' | sha256sum -c
    # -> db-4.8.30.NC.tar.gz: OK
    tar -xzvf db-4.8.30.NC.tar.gz
    
    # Build the library and install to our prefix
    cd db-4.8.30.NC/build_unix/
    #  Note: Do a static build so that it can be embedded into the executable, instead of having to find a .so at runtime
    ../dist/configure --enable-cxx --disable-shared --with-pic --prefix=$BDB_PREFIX
    make install
    
    # Configure BITRADIO Core to use our own-built instance of BDB
    cd $BITRADIO_ROOT
    ./autogen.sh
    ./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/" # (other args...)
    

    The errors I have:

    wiewiorka@MasterNode1:~/Bitradio$ ./autogen.sh
    -bash: ./autogen.sh: No such file or directory
    wiewiorka@MasterNode1:~/Bitradio$ ./configure LDFLAGS="-L${BDB_PREFIX}/lib/" CPPFLAGS="-I${BDB_PREFIX}/include/"
    -bash: ./configure: No such file or directory
    

    Bitradio is the directory where I cloned the git repository (https://github.com/thebitradio/Bitradio), and the value of $BITRADIO_ROOT is /home/wiewiorka/Bitradio.. but there's no autogen.sh file in this directory.. I see the file of the same name in Bitradio/src/secp256k1 but it's not what the manual says.. Am I missing something?



  • Can anyone help me with the problem (I haven't solved it yet)? Thanks a lot..



  • Ok, I've managed to find a workaround for Berkeley DB configuration. I've checked the contents of the file Bitradio/src/makefile.unix :

    ...
    DEFS=-DBOOST_SPIRIT_THREADSAFE
    DEFS += $(addprefix -I,$(CURDIR) $(CURDIR)/obj $(BOOST_INCLUDE_PATH) $(BDB_INCLUDE_PATH) $(OPENSSL_INCLUDE_PATH))
    LIBS = $(addprefix -L,$(BOOST_LIB_PATH) $(BDB_LIB_PATH) $(OPENSSL_LIB_PATH))
    ...
    

    and set the variables $(BDB_INCLUDE_PATH) and $(BDB_LIB_PATH) to reference the corresponding locations of the installed Berkley DB: Bitradio/db4/include and Bitradio/db4/lib
    and then compiled bitradiod: make -f makefile.unix USE_UPNP=-

    The other problem I had: I've received a bunch of compilation errors when trying to compile on Debian 9.1. It doesn't seem to work on that version, I had to revert to Debian 7.11.





  • @jamilservicos I did it eventually, but thanks anyway!



  • @wiewiorka

    If you've tried compiling before, you need to clean before trying again, and after any changes.

    # make clean && make distclean

Log in to reply
 

Looks like your connection to Bitrad.io was lost, please wait while we try to reconnect.