{"id":4357,"date":"2015-06-05T13:59:36","date_gmt":"2015-06-05T05:59:36","guid":{"rendered":"https:\/\/www.hmouse.tk\/?p=4357"},"modified":"2015-06-05T14:14:57","modified_gmt":"2015-06-05T06:14:57","slug":"pptpd%e5%ae%89%e8%a3%85%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/www.hmouse.cn\/?p=4357","title":{"rendered":"pptpd\u5b89\u88c5\u914d\u7f6e"},"content":{"rendered":"<p> \u53c2\u8003url\uff1a<a title=\"https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29\" href=\"https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29\">https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29<\/a><\/p>\n<p>\u5982\u679c\u6e90\u7801\u5b89\u88c5pptpd\u62a5\u9519\u7684\u8bdd.\u8bb0\u5f97\u5b89\u88c5ppp-devel<\/p>\n<p>&nbsp;<\/p>\n<pre>gcc  -O2 -fno-builtin -Wall -DSBINDIR='\"\/usr\/local\/sbin\"'   -o bcrelay bcrelay.o\nfor d in plugins; do make -w -C $d all; done\nmake[2]: Entering directory `\/usr\/local\/src\/pptpd-1.4.0\/plugins'\ngcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I..\/..\/include -fPIC pptpd-logwtmp.c -lutil\npptpd-logwtmp.c:15:23: fatal error: pppd\/pppd.h: No such file or directory\n #include &lt;pppd\/pppd.h&gt;\n                       ^\ncompilation terminated.\nmake[2]: <b>**<\/b>* [pptpd-logwtmp.so] Error 1\nmake[2]: Leaving directory `\/usr\/local\/src\/pptpd-1.4.0\/plugins'\nmake[1]: <b>**<\/b>* [all-local] Error 2\nmake[1]: Leaving directory `\/usr\/local\/src\/pptpd-1.4.0'\nmake: <b>**<\/b>* [all] Error 2\n[root &lt;at&gt; stylmark-fw2 pptpd-1.4.0]#\n\nI wiped all the 1.4.0 stuff and tried the same operation with 1.3.4 and make ran to completion.  Does 1.4.0\nhave a new prerequisite that 1.3.4 doesn't need?\n<\/pre>\n<p><a href=\"http:\/\/permalink.gmane.org\/gmane.network.poptop\/5497\">(Continue reading)<\/a><\/p>\n<p><a href=\"http:\/\/permalink.gmane.org\/gmane.network.poptop\/5497\">Permalink<\/a> | <a href=\"http:\/\/post.gmane.org\/post.php?group=gmane.network.poptop&amp;followup=5497\">Reply<\/a> |<\/p>\n<p><a href=\"http:\/\/comments.gmane.org\/\">headers<\/a><\/p>\n<p><a href=\"http:\/\/search.gmane.org\/?author=James+Cameron&amp;sort=date\">James Cameron<\/a> | 18 Feb 21:59 2014<\/p>\n<p><a name=\"5\"><\/a><\/p>\n<h5>Re: make blows up with pptpd-1.4.0.tar.gz on Fedora 20<\/h5>\n<pre>Yes, 1.4.0 needs <font color=\"#ff0000\">ppp-devel<\/font> on Fedora.\n\nBecause 1.3.4 incorrectly included a pppd.h and would fail at run if\nthe version of ppp package did not match.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p> \u53c2\u8003url\uff1a<a title=\"https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29\" href=\"https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29\">https:\/\/wiki.archlinux.org\/index.php\/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29<\/a><\/p>\n<p>\u5982\u679c\u6e90\u7801\u5b89\u88c5pptpd\u62a5\u9519\u7684\u8bdd.\u8bb0\u5f97\u5b89\u88c5ppp-devel<\/p>\n<p>&nbsp;<\/p>\n<pre>gcc  -O2 -fno-builtin -Wall -DSBINDIR='\"\/usr\/local\/sbin\"'   -o bcrelay bcrelay.o\nfor d in plugins; do make -w -C $d all; done\nmake[2]: Entering directory `\/usr\/local\/src\/pptpd-1.4.0\/plugins'\ngcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I..\/..\/include -fPIC pptpd-logwtmp.c -lutil\npptpd-logwtmp.c:15:23: fatal error: pppd\/pppd.h: No such file or directory\n #include &lt;pppd\/pppd.h&gt;\n                       ^\ncompilation terminated.\nmake[2]: <b>**<\/b>* [pptpd-logwtmp.so] Error 1\nmake[2]: Leaving directory `\/usr\/local\/src\/pptpd-1.4.0\/plugins'\nmake[1]: <b>**<\/b>* [all-local] Error 2\nmake[1]: Leaving directory `\/usr\/local\/src\/pptpd-1.4.0'\nmake: <b>**<\/b>* [all] Error 2\n[root &lt;at&gt; stylmark-fw2 pptpd-1.4.0]#\n\nI wiped all the 1.4.0 stuff and tried the same operation with 1.3.4 and make ran to completion.  Does 1.4.0\nhave a new prerequisite that 1.3.4 doesn't need?\n<\/pre>\n<p><a href=\"http:\/\/permalink.gmane.org\/gmane.network.poptop\/5497\">(Continue reading)<\/a><\/p>\n<p><a href=\"http:\/\/permalink.gmane.org\/gmane.network.poptop\/5497\">Permalink<\/a> | <a href=\"http:\/\/post.gmane.org\/post.php?group=gmane.network.poptop&amp;followup=5497\">Reply<\/a> |<\/p>\n<p><a href=\"http:\/\/comments.gmane.org\/\">headers<\/a><\/p>\n<p><a href=\"http:\/\/search.gmane.org\/?author=James+Cameron&amp;sort=date\">James Cameron<\/a> | 18 Feb 21:59 2014<\/p>\n<p><a name=\"5\"><\/a><\/p>\n<h5>Re: make blows up with pptpd-1.4.0.tar.gz on Fedora 20<\/h5>\n<pre>Yes, 1.4.0 needs <font color=\"#ff0000\">ppp-devel<\/font> on Fedora.\n\nBecause 1.3.4 incorrectly included a pppd.h and would fail at run if\nthe version of ppp package did not match.<\/pre>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[47,59],"class_list":["post-4357","post","type-post","status-publish","format-standard","hentry","category-5","tag-pptpd","tag-vpn","category-5-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/posts\/4357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4357"}],"version-history":[{"count":2,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/posts\/4357\/revisions"}],"predecessor-version":[{"id":4359,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=\/wp\/v2\/posts\/4357\/revisions\/4359"}],"wp:attachment":[{"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hmouse.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}