- 论坛徽章:
- 0
|
操作系统 redhat enterprice linux 5
samba 版本 samba-3.5.1
是源代码编译方式进行安装
利用 tar 解压之后,里面有很多文件,其中有 source3 和 source4 文件夹,我在 source3 里面找到 configure 文件,所在我就切换至 source3 下面
接着执行
./configure --prefix=/usr/local/samba
然后就是提示:
SAMBA VERSION: 3.5.1
-
-
# define SAMBA_VERSION_STRING SAMBA_VERSION_OFFICIAL_STRING
LIBREPLACE_LOCATION_CHECKS: START
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
LIBREPLACE_LOCATION_CHECKS: END
LIBREPLACE_CC_CHECKS: START
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/root/Desktop/samba-3.5.1/source3':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
好像是要安装 gcc 那些编译软件,于是我又去找 gcc 累死了
我下载下来以后,再执行
rpm -ivh gcc-3.4.6-11.i386.rpm
接着报错
warning: gcc-3.4.6-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID 82fd17b2
error: Failed dependencies:
cpp = 3.4.6-11 is needed by gcc-3.4.6-11.i386
glibc-devel >= 2.2.90-12 is needed by gcc-3.4.6-11.i386
我靠,让不让人活了,请问这是怎么回事尼,我真的是新手! |
|