[i=s] 本帖最后由 yuliuliu777 于 2010-4-18 20:52 编辑 [/i]
图1:
[root@ecofe2 samba-3.2.0pre2]# ls
COPYING Manifest Read-Manifest-Now Roadmap WHATSNEW.txt
docs packaging README source
examples pcp README.Coding swat
MAINTAINERS PFIF.txt release-scripts testsuite
[root@ecofe2 samba-3.2.0pre2]# cd source
[root@ecofe2 source]# ls
auth iniparser Makefile.in rpc_parse
autogen.sh iniparser_build modules rpc_server
change-log install-sh nmbd script
client intl nsswitch services
codepages lib pam_smbpass smbadduser.in
config.guess libaddns param smbd
config.sub libads passdb stf
configure libgpo pkgconfig tests
configure.developer libnet po torture
configure.in library-versions.in popt utils
Doxyfile librpc printing VERSION
dynconfig.c libsmb profile web
exports locking registry winbindd
groupdb m4 rpcclient
include mainpage.dox rpc_client
[root@ecofe2 source]#
图2:
[root@ecofe2 source]#
[root@ecofe2 source]# ./install-sh
install: no input file specified
[root@ecofe2 source]# ./configure
SAMBA VERSION: 3.2.0pre2
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 cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
[root@ecofe2 source]#
gcc也下了。该怎么安装:
[root@ecofe2 gcc-2.95.3]# ls
ChangeLog configure FAQ install-sh libstdc++ mkinstalldirs
config configure.in faq.html libchill ltconfig move-if-change
config.guess contrib gcc libf2c ltmain.sh README
config.if COPYING include libiberty MAINTAINERS symlink-tree
config-ml.in COPYING.LIB install libio Makefile.in texinfo
config.sub etc INSTALL libobjc missing ylwrap
[root@ecofe2 gcc-2.95.3]#
。/configure 后面一定要带参数吗?
./configure
make
make install
这样不行吗?
hellenchen 于 2010-08-20 14:12:04发表:
你下的是什么格式的啊?rpm ?tar/tar.gz/tar/bz2?
1. rpm -ivh gccXXXXXXXX.rpm
2. tar -zxvf gccxxxxx.tar.gz tar -jxvf gccXXXXXXX.tar.bz2
cd gccXXXXXXX
ls
./configure gccXXXXX
make
make install
make clean
yuliuliu777 于 2010-04-19 13:39:47发表:
GCC装不上。谁能指导下。
hantu 于 2010-04-18 15:33:32发表:
提示信息中不是说得明明白白么:
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
hantu 于 2010-04-18 15:32:53发表:
先安装gcc编译器呀