红联Linux门户
Linux帮助

CentOS5.1安装apache和GCC遇到问题

发布时间:2009-04-30 10:00:59来源:红联作者:wtuwvfp
./configure --prefix=/cetv/apache --enable-mods-shared=most --enable-so
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu

Configuring Apache Portable Runtime library ...

checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
Configuring APR library
Platform: x86_64-unknown-linux-gnu
checking for working mkdir -p... yes
APR Version: 1.3.3
checking for chosen layout... apr
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/cetv/apache/srclib/apr':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
configure failed for srclib/apr


我想应该是要先安装GCC吧,
接着我从系统光盘中找到gcc-4.1.2-14.el5.x86_64.rpm,安装时提示信息如下:

Component: Software Installer
Summary: TB8a9b4f2f packageSack.py:600:returnNewestByNameArch:PackageSackError: No Package Matching glibc.i686

Traceback (most recent call last):
File "/usr/sbin/system-install-packages", line 204, in _apply
self.applyChanges(self.mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 557, in applyChanges
self.checkDeps(mainwin)
File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 326, in checkDeps
(result, msgs) = self.buildTransaction()
File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 448, in buildTransaction
(rescode, restring) = self.resolveDeps()
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 243, in resolveDeps
(checkdep, missing, conflict, errormsgs) = self._processReq(dep)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 391, in _processReq
requirementTuple, errormsgs)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 511, in _requiringFromInstalled
po = self.pkgSack.returnNewestByNameArch((name,arch))[0]
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 308, in returnNewestByNameArch
return bestofeach.returnNewestByNameArch(naTup)
File "/usr/lib/python2.4/site-packages/yum/packageSack.py", line 600, in returnNewestByNameArch
raise PackageSackError, 'No Package Matching %s.%s' % naTup
PackageSackError: No Package Matching glibc.i686

Local variables in innermost frame:
highdict: {}
self:
naTup: ('glibc', 'i686')
where: None

请教大家该如何解决,32位Linux5安装都比较顺利啊!
文章评论

共有 0 条评论