>> (p.1)
    Author Topic: [ANN] QT Wallet Compiler for Linux  (Read 8607 times)
    bananahunter67 (OP)
    Sr. Member
    ****
    Offline Offline

    Activity: 392
    Merit: 265


    View Profile WWW
    March 03, 2014, 08:14:29 PM
    Last edit: May 02, 2014, 07:22:12 PM by pastet89
     #1

    I am representing you a simple python scrypt, which will do the compiling of your qt-wallets under linux, just by submiting the git URL to it.
    I myself have compiled a lot of wallets and I know it may be very boring and annoying to wait for the steps during compilation to finalize, in order to continue with the next one and do all this manually. Furthermore, sometimes errors occur during installation, so in this scrypt I have addressed the 3 most common mistakes during compilation, and all should go smooth with it.

    What does the scrypt do:

    1. Compiles the qt wallet just by being provided with git URL.

    Note! The compiler uses just the basic complation commands:


    Code:
    cd src && make
    cd ../
    qmake-qt4
    make
    Some coins may require special options during compilation, so you still need to check this and proceed at your own risk!

    2. Fixes the error when the "obj" folder is not created within the "src" one, by auto-creating it, if needed.
    3. Fixes the compilation error that occurs on some coins as a result of boost 1.53 libraries for windows lines being present in the .pro file, by removing these lines.
    4. Fixes the compilation error that occurs as a result of missing permissions of the "leveldb/build_detect_platform" folder by auto-applying those.

    Requirements
    You still need to install all required libraries for the coin wallet, which in most cases are the same so once you have them installed after installing your first wallet most likely you will not need anything else.
    You also need to confirm that you have installed git and qmake-qt4 prior usage of the script. Of course, you will need python 2.7.x as well, however every linux has installed that by default so I doubt you will need to install it.

    These are the main commands to execute before starting the script, but depending on your system it might request something additionaly as well:

    Code:
    sudo apt-get install   libdb4.8-dev libdb4.8++-dev libboost-all-dev libqrencode-devqt4-qmake libqt4-dev build-essential libboost-dev libboost-system-dev    libboost-filesystem-dev libboost-program-options-dev libboost-thread-dev    libssl-dev automake




    Usage
    1. Download the script from this location: http://www.solidfiles.com/d/09c5c54693/build.py
    2. Open terminal, cd to the directory where the scipt is, and type:[/size]

    Code:
    python build.py


    After that you will be asked to type in the console the URL of the git source. Paste it, press enter, and that's all.

    I still can not gurantee that the compiler is going to work flawlessly with all kind of wallets, as all of them are still more or less different. I have tested it successfuly with Digibyte, Catcoin, Leafcoin and Mintcoin, all of them working OK.

    Enjoy, and don't forget: use at your own risk!

    Cryptostats.es
Page 1
Viewing Page: 1