{"action":"created","issue":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/2272","labels_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2272/labels{/name}","comments_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2272/comments","events_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2272/events","html_url":"https://github.com/PowerDNS/pdns/issues/2272","id":58552593,"number":2272,"title":"Compile pdns-recursor-git-rec-3.7.0-153-g55693f8 failed.","user":{"login":"hongyi-zhao","id":11155854,"avatar_url":"https://avatars.githubusercontent.com/u/11155854?v=3","gravatar_id":"","url":"https://api.github.com/users/hongyi-zhao","html_url":"https://github.com/hongyi-zhao","followers_url":"https://api.github.com/users/hongyi-zhao/followers","following_url":"https://api.github.com/users/hongyi-zhao/following{/other_user}","gists_url":"https://api.github.com/users/hongyi-zhao/gists{/gist_id}","starred_url":"https://api.github.com/users/hongyi-zhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongyi-zhao/subscriptions","organizations_url":"https://api.github.com/users/hongyi-zhao/orgs","repos_url":"https://api.github.com/users/hongyi-zhao/repos","events_url":"https://api.github.com/users/hongyi-zhao/events{/privacy}","received_events_url":"https://api.github.com/users/hongyi-zhao/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PowerDNS/pdns/labels/rec","name":"rec","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-02-23T07:46:17Z","updated_at":"2015-02-23T13:25:43Z","closed_at":null,"body":"Hi all,\r\n\r\nI cloned the git source of pdns on my Debian Wheezy, then using the following step to compile it:\r\n------------------------\r\n1- Installation of some depended tools:\r\nsudo apt-get install ragel zip pandoc libboost-dev\r\n2- obtain the source:\r\n$ git clone https://github.com/PowerDNS/pdns.git pdns.git\r\n3- Obtain the source code for pdns-recursor:\r\nwerner@debian:~/pdns.git/pdns$ ./dist-recursor\r\n4- Compile the  pdns-recursor:\r\nwerner@debian:~/pdns-recursor-git-rec-3.7.0-153-g55693f8$ ./configure\r\nwerner@debian:~/pdns-recursor-git-rec-3.7.0-153-g55693f8$ STATIC=semi ./configure ; STATIC=semi make all\r\n\r\nAt this step, I meet the following errors:\r\nmake: *** No rule to make target `rapidjson/document.h', needed by `pdns_recursor.o'.  Stop.\r\n\r\nAny hints on this issue?\r\n\r\nRegards\r\n------------------------"},"comment":{"url":"https://api.github.com/repos/PowerDNS/pdns/issues/comments/75539974","html_url":"https://github.com/PowerDNS/pdns/issues/2272#issuecomment-75539974","issue_url":"https://api.github.com/repos/PowerDNS/pdns/issues/2272","id":75539974,"user":{"login":"hongyi-zhao","id":11155854,"avatar_url":"https://avatars.githubusercontent.com/u/11155854?v=3","gravatar_id":"","url":"https://api.github.com/users/hongyi-zhao","html_url":"https://github.com/hongyi-zhao","followers_url":"https://api.github.com/users/hongyi-zhao/followers","following_url":"https://api.github.com/users/hongyi-zhao/following{/other_user}","gists_url":"https://api.github.com/users/hongyi-zhao/gists{/gist_id}","starred_url":"https://api.github.com/users/hongyi-zhao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hongyi-zhao/subscriptions","organizations_url":"https://api.github.com/users/hongyi-zhao/orgs","repos_url":"https://api.github.com/users/hongyi-zhao/repos","events_url":"https://api.github.com/users/hongyi-zhao/events{/privacy}","received_events_url":"https://api.github.com/users/hongyi-zhao/received_events","type":"User","site_admin":false},"created_at":"2015-02-23T13:25:43Z","updated_at":"2015-02-23T13:25:43Z","body":"Finally, I tried the following steps, and comipled it successfully:\n\n1- Install the depended packages involved:\n\nsudo apt-get install build-essential asciidoc xmlto zip pandoc libboost-dev\nsubversion libboost-all-dev bison flex ragel pkg-config libtolua++5.1-dev\n\n2- Do the following operations step-by-step:\n\n$ git clone https://github.com/PowerDNS/pdns.git pdns.git\nwerner@debian:~/pdns-recursor/pdns.git$ git pull\nwerner@debian:~/pdns-recursor/pdns.git$ git reset --hard\nwerner@debian:~/pdns-recursor/pdns.git/pdns$ ./bootstrap\nwerner@debian:~/pdns-recursor/pdns.git/pdns$ ./configure\nwerner@debian:~/pdns-recursor/pdns.git/pdns$ ./dist-recursor\nwerner@debian:~/pdns-recursor/pdns.git/pdns$ cd\npdns-recursor-git-rec-3.7.0-155-gc9726b1/\nwerner@debian:~/pdns-recursor/pdns.git/pdns/pdns-recursor-git-rec-3.7.0-155-gc9726b1$\n\nwerner@debian:~/pdns-recursor/pdns.git/pdns/pdns-recursor-git-rec-3.7.0-155-gc9726b1$\n./configure\nwerner@debian:~/pdns-recursor/pdns.git/pdns/pdns-recursor-git-rec-3.7.0-155-gc9726b1$\nmake\nwerner@debian:~/pdns-recursor/pdns.git/pdns/pdns-recursor-git-rec-3.7.0-155-gc9726b1$\nsudo make install\n\n3- See the following info:\n\nwerner@debian:~/pdns-recursor/pdns.git$ sudo pdns_recursor\nFeb 23 21:21:07 Unable to parse configuration file\n'/etc/powerdns/recursor.conf'\nFeb 23 21:21:07 PowerDNS Recursor git-rec-3.7.0-155-gc9726b1\n(werner@debian.Home) (C) 2001-2015 PowerDNS.COM BV\nFeb 23 21:21:07 Using 64-bits mode. Built on 20150223204407 by\nwerner@debian.Home, gcc 4.7.2.\nFeb 23 21:21:07 PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free\nsoftware, and you are welcome to redistribute it according to the terms of\nthe GPL version 2.\nFeb 23 21:21:07 Reading random entropy from '/dev/urandom'\nFeb 23 21:21:07 Only allowing queries from: 127.0.0.0/8, 10.0.0.0/8,\n100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128,\nfc00::/7, fe80::/10\nFeb 23 21:21:07 Will not send queries to: 127.0.0.0/8, 10.0.0.0/8,\n100.64.0.0/10, 169.254.0.0/16, 192.168.0.0/16, 172.16.0.0/12, ::1/128,\nfc00::/7, fe80::/10, 0.0.0.0/8, 192.0.0.0/24, 192.0.2.0/24, 198.51.100.0/24,\n203.0.113.0/24, 240.0.0.0/4, ::/96, ::ffff:0:0/96, 100::/64, 2001:db8::/32,\n0.0.0.0, ::\nFeb 23 21:21:07 PowerDNS Recursor itself will distribute queries over\nthreads\nFeb 23 21:21:07 If using IPv6, please raise sysctl net.ipv6.route.max_size,\ncurrently set to 4096 which is < 16384\nFeb 23 21:21:07 NOT using IPv6 for outgoing queries - set\n'query-local-address6=::' to enable\nFeb 23 21:21:07 Inserting rfc 1918 private space zones\nFeb 23 21:21:07 Exception: Resolver binding to server socket on port 53 for\n127.0.0.1: Address already in use\n\nwerner@debian:~/pdns-recursor/pdns.git$ sudo rec_control\nsyntax: rec_control [options] command, options as below:\n\n  --config-dir=...\n    Location of configuration directory (recursor.conf)\n  --config-name=...\n    Name of this virtual configuration - will rename the binary image\n  --help\n    Provide this helpful message\n  --process=...\n    When controlling multiple recursors, the target process number\n  --socket-dir=...\n    Where the controlsocket will live\n  --timeout=...\n    Number of seconds to wait for the recursor to respond\n\n\nAs you can see, I just have not configed it any more.  But from these\ninformations, it hints that its compile and installed successfully ;-)\n\nSo, I think the original issues I posted here in this thread should be\nsomething ralated to lacking of depended packages.\n\nRegards\n\n2015-02-23 20:25 GMT+08:00 Peter van Dijk <notifications@github.com>:\n\n> Also, output of dist-recursor is missing, can you add it?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/PowerDNS/pdns/issues/2272#issuecomment-75532730>.\n>\n\n\n\n-- \nHongyi Zhao <hongyi.zhao@gmail.com>\nXinjiang Technical Institute of Physics and Chemistry\nChinese Academy of Sciences\nGnuPG DSA: 0xD108493\n"}}