Giter VIP home page Giter VIP logo

Comments (16)

vcunat avatar vcunat commented on August 20, 2024

daemon/lua/meson.build:92:4: ERROR: Problem encountered: if you use released Knot* versions, please contact us: https://www.knot-resolver.cz/contact/

This is because you're using unreleased Knot DNS which has been changing some APIs until around now. With the current versions you can use patch https://gitlab.nic.cz/knot/knot-resolver/-/merge_requests/1309

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

I've switch to tag v5.5.1。 It's not ok?
image

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

It will be OK if you switch knot-dns to a tag, instead of 3.2.dev.1657363084.bd23bc5bb

On knot-resolver side it's not merged anywhere yet, as you can see on the linked merge request.

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

OK I know where the problem is. Try again now!

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

Message: ---------------------------
Configuring kresconfig.h using configuration
Configuring trust_anchors.lua using configuration
Configuring sandbox.lua using configuration
Configuring distro-preconfig.lua using configuration
Program ./kres-gen.sh found: YES (/home/xushipei/knot-resolver-5.5.1/daemon/lua/./kres-gen.sh)
Checking for size of "time_t" : 8
Checking for size of "struct timeval" : 16
Checking for size of "zs_scanner_t" with dependency libzscanner: 206144
Checking for size of "knot_pkt_t" with dependency libknot: 208
Program luajit found: YES (/usr/bin/luajit)
Message: --- dnstap module dependencies ---
Run-time dependency libprotobuf-c found: YES 1.4.0
Run-time dependency libfstrm found: YES 0.6.0
Program protoc-c found: YES (/usr/bin/protoc-c)
Message: ----------------------------------
Configuring http.lua using configuration

modules/policy/meson.build:25:2: ERROR: Problem encountered: run "git submodule update --init --recursive" to initialize git submodules

A full log can be found at /home/xushipei/knot-resolver-5.5.1/build_dir/meson-logs/meson-log.txt
[root@bogon knot-resolver-5.5.1]#

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

New problem. I've down tag v5.5.1 source from github.com. There is same problem in git repository !

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

Well yes, but the error message tells you what to do ;-)

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

The command blocked for a long while............!

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

Just for reference in case you've missed it, generally we recommend to avoid the hassle around setting up a build from source: https://www.knot-resolver.cz/download/

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

Message: ---------------------------
Configuring kresconfig.h using configuration
Configuring trust_anchors.lua using configuration
Configuring sandbox.lua using configuration
Configuring distro-preconfig.lua using configuration
Program ./kres-gen.sh found: YES (/home/xushipei/knot-resolver/daemon/lua/./kres-gen.sh)
Checking for size of "time_t" : 8
Checking for size of "struct timeval" : 16
Checking for size of "zs_scanner_t" with dependency libzscanner: 206144
Checking for size of "knot_pkt_t" with dependency libknot: 208
Program luajit found: YES (/usr/bin/luajit)
WARNING: You should add the boolean check kwarg to the run_command call.
It currently defaults to false,
but it will default to true in future releases of meson.
See also: mesonbuild/meson#9300
Message: --- dnstap module dependencies ---
Run-time dependency libprotobuf-c found: YES 1.4.0
Run-time dependency libfstrm found: YES 0.6.0
Program protoc-c found: YES (/usr/bin/protoc-c)
Message: ----------------------------------
Configuring http.lua using configuration

modules/policy/meson.build:24:2: ERROR: Problem encountered: run "git submodule update --init --recursive" to initialize git submodules

A full log can be found at /home/xushipei/knot-resolver/build_dir/meson-logs/meson-log.txt
[root@bogon knot-resolver]# git submodule update --init --recursive
[root@bogon knot-resolver]#

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

After execute the command "git submodule update --init --recursive" , there is still an error!

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

Just for reference in case you've missed it, generally we recommend to avoid the hassle around setting up a build from source: https://www.knot-resolver.cz/download/

I need to learn and maybe change the source code.

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

Well, the issue here is from not populating modules/policy/lua-aho-corasick/ which lives in a different repo mirrored at https://gitlab.nic.cz/knot/3rdparty/lua-aho-corasick.git

I don't know why git won't do the trick in your case (which I don't know well), but you can e.g. simply download the contents there, etc.

from knot-resolver.

ShipeiXu avatar ShipeiXu commented on August 20, 2024

OK! It worked now! Thank you very much.

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

You could use our release tarballs where these dependencies are included https://secure.nic.cz/files/knot-resolver/knot-resolver-5.5.1.tar.xz

from knot-resolver.

vcunat avatar vcunat commented on August 20, 2024

Now there's also 5.5.2 released which supports knot-dns 3.2

from knot-resolver.

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.