安装poftpd出现这样的问题,希望有高手出来解决啊,感激万分

为当前最终发行版之前的所有版本提供支持
回复
celeb
帖子: 6
注册时间: 2007-06-11 0:40
送出感谢: 0
接收感谢: 0

安装poftpd出现这样的问题,希望有高手出来解决啊,感激万分

#1

帖子 celeb » 2007-06-11 10:32

#tar proftpd-1.3.0a.tar.gz
#cd proftpd-1.3.0a
设定安装
#./configure

checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables

谢谢了,请告诉我解决办法啊
celeb
帖子: 6
注册时间: 2007-06-11 0:40
送出感谢: 0
接收感谢: 0

#2

帖子 celeb » 2007-06-11 10:53

查了资料,要安装libxml2-dev

于是
apt-get install libxml2-dev
安装成功之后再次执行
./configure
出现新问题

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

唉,灾难真多啊
celeb
帖子: 6
注册时间: 2007-06-11 0:40
送出感谢: 0
接收感谢: 0

#3

帖子 celeb » 2007-06-11 11:02

^_^,终于安装成功了
缺少gcc-c++
执行
apt-get install gcc-c++
然后
./configure
就成功了
最后
make; make install;
看来问题是要自己研究解决的
celeb
帖子: 6
注册时间: 2007-06-11 0:40
送出感谢: 0
接收感谢: 0

#4

帖子 celeb » 2007-06-11 12:42

差点忘记了,在安装完
apt-get install libxml2-dev
之后要执行
apt-get install gcc
呵呵简单的几步就搞定了
还有关于proftpd服务器的配置baidu一下就什么都有了
回复

回到 “老旧版本支持”