打印

请教:如何才能正确完整的安装proftp软件。

请教:如何才能正确完整的安装proftp软件。

各位高手,你们好,我在安装proftp时遇到了麻烦,请指教。
安装proftpd软件环境为SOLAIRS 8,proftpd为proftpd-1.2.9rc1.tar
安装的编译软件为:gcc-3.3-sol9-sparc-local.gz

首先安装gcc-3.3-sol9-sparc-local.gz软件,
解压后安装
pkgadd -d ./gcc-3.3-sol9-sparc-local

安装结果:
安装<SMCgcc>;成功
指定安装后的gcc软件路径  PATH=$PATH:/usr/local/bin:

安装解压后的proftpd
./configure
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking for gcc... no
checking for cc... cc
checking for C compiler default output... configure: error: C compiler cannot create executables
See `config.log' for more details.

结果出现以上错误,为什么会出现以上结果,什么地方安装有问题,请指教。

TOP

首先检查你的GCC是否可用
# gcc -v
Reading specs from ./../lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3

实在不行就装一个编译好的 :)

TOP

gcc应该安装的没有问题,显示的信息和你上面的信息一样

TOP

这是偶今天装的
# PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/ccs/bin
# export PATH
#
# ./configure --prefix=/test
checking build system type... sparc-sun-solaris2.9
checking host system type... sparc-sun-solaris2.9
checking target system type... sparc-sun-solaris2.9
checking for gcc... gcc
checking for C compiler default output... 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
…………

还是怀疑你PATH变量写错

TOP


感谢一直以来您对我们的支持!
当前时区 GMT+8, 现在时间是 2008-8-22 11:58 京ICP证060528 号

Designed By 17DST