6 月 052015
 

参考url:https://wiki.archlinux.org/index.php/PPTP_Server_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29

如果源码安装pptpd报错的话.记得安装ppp-devel

 

gcc  -O2 -fno-builtin -Wall -DSBINDIR='"/usr/local/sbin"'   -o bcrelay bcrelay.o
for d in plugins; do make -w -C $d all; done
make[2]: Entering directory `/usr/local/src/pptpd-1.4.0/plugins'
gcc -o pptpd-logwtmp.so -shared -O2 -g -I.. -I../../include -fPIC pptpd-logwtmp.c -lutil
pptpd-logwtmp.c:15:23: fatal error: pppd/pppd.h: No such file or directory
 #include <pppd/pppd.h>
                       ^
compilation terminated.
make[2]: *** [pptpd-logwtmp.so] Error 1
make[2]: Leaving directory `/usr/local/src/pptpd-1.4.0/plugins'
make[1]: *** [all-local] Error 2
make[1]: Leaving directory `/usr/local/src/pptpd-1.4.0'
make: *** [all] Error 2
[root <at> stylmark-fw2 pptpd-1.4.0]#

I 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
have a new prerequisite that 1.3.4 doesn't need?

(Continue reading)

Permalink | Reply |

headers

James Cameron | 18 Feb 21:59 2014

Re: make blows up with pptpd-1.4.0.tar.gz on Fedora 20
Yes, 1.4.0 needs ppp-devel on Fedora.

Because 1.3.4 incorrectly included a pppd.h and would fail at run if
the version of ppp package did not match.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

这个站点使用 Akismet 来减少垃圾评论。了解你的评论数据如何被处理

This website stores cookies on your computer. These cookies are used to provide a more personalized experience and to track your whereabouts around our website in compliance with the European General Data Protection Regulation. If you decide to to opt-out of any future tracking, a cookie will be setup in your browser to remember this choice for one year.

Accept or Deny