Coder Social home page Coder Social logo

Make rule failed about ain HOT 2 CLOSED

defich avatar defich commented on August 28, 2024 1
Make rule failed

from ain.

Comments (2)

Gesundeslicht avatar Gesundeslicht commented on August 28, 2024 1

Thanks @prasannavl
'./make.sh build' worked perfekt and my defi-qt is running.

from ain.

prasannavl avatar prasannavl commented on August 28, 2024

@Gesundeslicht thank you for taking our code for an early spin! :)

We're still working on some docs on this. Meanwhile, appreciate your interest and I'll quickly share some things that hopefully should help you build.

TL;DR - If you're on a Linux system with docker installed, ./make.sh docker-release does everything you need without worrying about any pre-requisites or complicated build steps with a single command.

The gist:

  • Our build process, in general is very similar to the bitcoin build process. And you may have a look at those in https://github.com/DeFiCh/ain/blob/master/doc/build-unix.md - It's not just a make command, but rather follows automake and the GNU autotools suite.
  • That said, we wanted to simplify this much further and make this easy for our users. And we actually have a make.sh (https://github.com/DeFiCh/ain/blob/master/make.sh), that automates not just this but provides a simplified dockerized build on your system. Please have a look at this for more info.
  • make.sh also has the automated process for local builds on a linux system, but assumes build pre-requisites to be installed.
  • We are removing all of QT from our codebase. Currently, our build steps simply disable it, but we'll be removing all this shortly. We're baking in a new, modern and an exciting UX that we can't wait to share with the community when we're ready. For now, it's command line only.

If you still want to do a manual build by yourself, you can follow it in the build function in make.sh:

    local target=${1:-"x86_64-pc-linux-gnu"}
    local extra_build_opts=${EXTRA_BUILD_OPTS:-}

    echo "> build: ${target}"
    pushd ./depends >/dev/null
    # XREF: #depends-make
    make NO_QT=1
    popd >/dev/null
    ./autogen.sh
    # XREF: #make-configure
    ./configure --prefix="$(pwd)/depends/${target}" --without-gui ${extra_build_opts}
    make

A final note, we're yet to roll out our build for Windows and Mac!

Hope this helps!

from ain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.