装xmms受挫,装gcc受挫。。

suncheng_hong 2008-04-28 11:16:05

[root@localhost ~]# cd ../usr/soft/
[root@localhost soft]# ls
gcc-3.4.0 gcc-build xmms-1.2.10.tar.gz xmms-1.2.11.tar.gz
gcc-3.4.0.tar.gz xmms-1.2.10 xmms-1.2.11
[root@localhost soft]# cd xmms-1.2.11
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS config.rpath General Makefile.in wmxmms
acinclude.m4 config.sub Input missing wmxmms.1.in
aclocal.m4 configure INSTALL NEWS xmms
AUTHORS configure.in install-sh Output xmms.1.in
ChangeLog COPYING intl po xmms-config.in
config.guess depcomp libxmms README xmms.m4
config.h.in Effect ltmain.sh TODO xmms.spec
config.log FAQ Makefile.am Visualization xmms.spec.in
[root@localhost xmms-1.2.11]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for prefix by checking for xmms... no
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@localhost xmms-1.2.11]#
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS ChangeLog config.rpath COPYING General intl Makefile.in po wmxmms xmms-config.in
acinclude.m4 config.guess config.sub depcomp Input libxmms missing README wmxmms.1.in xmms.m4
aclocal.m4 config.h.in configure Effect INSTALL ltmain.sh NEWS TODO xmms xmms.spec
AUTHORS config.log configure.in FAQ install-sh Makefile.am Output Visualization xmms.1.in xmms.spec.in
[root@localhost xmms-1.2.11]# cd ..
[root@localhost soft]# ls
gcc-3.4.0 gcc-3.4.0.tar.gz gcc-build xmms-1.2.10 xmms-1.2.10.tar.gz xmms-1.2.11 xmms-1.2.11.tar.gz
[root@localhost soft]# cd gcc-3.4.0
[root@localhost gcc-3.4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@localhost gcc-3.4.0]# [root@localhost ~]# cd ../usr/soft/
[root@localhost soft]# ls
gcc-3.4.0 gcc-build xmms-1.2.10.tar.gz xmms-1.2.11.tar.gz
gcc-3.4.0.tar.gz xmms-1.2.10 xmms-1.2.11
[root@localhost soft]# cd xmms-1.2.11
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS config.rpath General Makefile.in wmxmms
acinclude.m4 config.sub Input missing wmxmms.1.in
aclocal.m4 configure INSTALL NEWS xmms
AUTHORS configure.in install-sh Output xmms.1.in
ChangeLog COPYING intl po xmms-config.in
config.guess depcomp libxmms README xmms.m4
config.h.in Effect ltmain.sh TODO xmms.spec
config.log FAQ Makefile.am Visualization xmms.spec.in
[root@localhost xmms-1.2.11]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for prefix by checking for xmms... no
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@localhost xmms-1.2.11]#
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS ChangeLog config.rpath COPYING General intl Makefile.in po wmxmms xmms-config.in
acinclude.m4 config.guess config.sub depcomp Input libxmms missing README wmxmms.1.in xmms.m4
aclocal.m4 config.h.in configure Effect INSTALL ltmain.sh NEWS TODO xmms xmms.spec
AUTHORS config.log configure.in FAQ install-sh Makefile.am Output Visualization xmms.1.in xmms.spec.in
[root@localhost xmms-1.2.11]# cd ..
[root@localhost soft]# ls
gcc-3.4.0 gcc-3.4.0.tar.gz gcc-build xmms-1.2.10 xmms-1.2.10.tar.gz xmms-1.2.11 xmms-1.2.11.tar.gz
[root@localhost soft]# cd gcc-3.4.0
[root@localhost gcc-3.4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@localhost gcc-3.4.0]# [root@localhost ~]# cd ../usr/soft/
[root@localhost soft]# ls
gcc-3.4.0 gcc-build xmms-1.2.10.tar.gz xmms-1.2.11.tar.gz
gcc-3.4.0.tar.gz xmms-1.2.10 xmms-1.2.11
[root@localhost soft]# cd xmms-1.2.11
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS config.rpath General Makefile.in wmxmms
acinclude.m4 config.sub Input missing wmxmms.1.in
aclocal.m4 configure INSTALL NEWS xmms
AUTHORS configure.in install-sh Output xmms.1.in
ChangeLog COPYING intl po xmms-config.in
config.guess depcomp libxmms README xmms.m4
config.h.in Effect ltmain.sh TODO xmms.spec
config.log FAQ Makefile.am Visualization xmms.spec.in
[root@localhost xmms-1.2.11]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for prefix by checking for xmms... no
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@localhost xmms-1.2.11]#
[root@localhost xmms-1.2.11]# ls
ABOUT-NLS ChangeLog config.rpath COPYING General intl Makefile.in po wmxmms xmms-config.in
acinclude.m4 config.guess config.sub depcomp Input libxmms missing README wmxmms.1.in xmms.m4
aclocal.m4 config.h.in configure Effect INSTALL ltmain.sh NEWS TODO xmms xmms.spec
AUTHORS config.log configure.in FAQ install-sh Makefile.am Output Visualization xmms.1.in xmms.spec.in
[root@localhost xmms-1.2.11]# cd ..
[root@localhost soft]# ls
gcc-3.4.0 gcc-3.4.0.tar.gz gcc-build xmms-1.2.10 xmms-1.2.10.tar.gz xmms-1.2.11 xmms-1.2.11.tar.gz
[root@localhost soft]# cd gcc-3.4.0
[root@localhost gcc-3.4.0]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
./configure: line 2332: cc: command not found
*** The command 'cc -o conftest -g conftest.c' failed.
*** You must set the environment variable CC to a working compiler.
[root@localhost gcc-3.4.0]#
...全文
337 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
hzcpig 2008-04-30
  • 打赏
  • 举报
回复
没有gcc之前只能用rpm了
knowledge_Is_Life 2008-04-30
  • 打赏
  • 举报
回复
有点难度哦
suncheng_hong 2008-04-29
  • 打赏
  • 举报
回复
具体打什么命令?我是红旗6
LaXXX 2008-04-29
  • 打赏
  • 举报
回复
安装盘上有:
compat-gcc-32 3.2.3----------The compatibility GNU Compiler Collection
compat-gcc-32-c++ 3.2.3--------C++ support for compatibility compiler
compat-libstdc++-33 3.2.3-------Compatibility standard C++ libraries
gcc 4.2.1----------------Various compilers (C, C++, Objective-C, Java, ...)
gcc-c++ 4.2.1--------------C++ support for GCC
libgcc 4.2.1---------------GCC version 4.1 shared support library
libgomp 4.2.1--------------GCC OpenMP 2.5 shared support library

找到这几个文件,”rpm -ivh 文件名“ 可以安装。
xxgamexx 2008-04-29
  • 打赏
  • 举报
回复
See `config.log' for more details.
fox000002 2008-04-28
  • 打赏
  • 举报
回复
不知 lz 用的什么 distribution,

如果没有特殊需求,建议用相应的包管理器安装 gcc
simplax 2008-04-28
  • 打赏
  • 举报
回复
没有编译器,不能直接装软件的。
先找到安装盘,先用rpm/deb安装一个gcc或者其它编译器。之后再configure安装别的软件

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧