Board logo

標題: Can't install gcc T_T [打印本頁]

作者: poohyuik    時間: 2008-12-4 12:51     標題: Can't install gcc T_T

[root@localhost faac]# yum install gcc
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package gcc.i386 0:4.1.2-33 set to be updated
--> Processing Dependency: libgomp = 4.1.2-33 for package: gcc
--> Processing Dependency: glibc-devel >= 2.2.90-12 for package: gcc
--> Running transaction check
---> Package gcc.i386 0:4.1.2-33 set to be updated
--> Processing Dependency: libgomp = 4.1.2-33 for package: gcc
---> Package glibc-devel.i386 0:2.7-2 set to be updated
--> Processing Dependency: glibc-headers for package: glibc-devel
--> Processing Dependency: glibc-headers = 2.7-2 for package: glibc-devel
--> Running transaction check
---> Package glibc-headers.i386 0:2.7-2 set to be updated
--> Processing Dependency: kernel-headers for package: glibc-headers
--> Processing Dependency: kernel-headers >= 2.2.1 for package: glibc-headers
---> Package gcc.i386 0:4.1.2-33 set to be updated
--> Processing Dependency: libgomp = 4.1.2-33 for package: gcc
--> Running transaction check
---> Package gcc.i386 0:4.1.2-33 set to be updated
--> Processing Dependency: libgomp = 4.1.2-33 for package: gcc
---> Package kernel-headers.i386 0:2.6.23.1-42.fc8 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: libgomp = 4.1.2-33 is needed by package gcc


I have installed libgomp, am I installing a wrong version??
if so, what should I do??
作者: Greatmiu    時間: 2008-12-4 23:11

Fedora 10?

If you install libgomp manually (not pulled in by yum), try to uninstall it. Don't forget to check the version you have installed too.
作者: poohyuik    時間: 2008-12-5 00:23

其實我用 linpus linux 的=.=
之前唔識...裝錯左
可唔可以教我點uninstall...?
我裝左 libgomp-4.3.2-7.i386.rpm
作者: Greatmiu    時間: 2008-12-5 17:54

The first rule in Linux:
Always use the package manager to install software. Do not download any rpm/deb and install manually.

If you install the *.rpm file by command rpm, you can uninstall in this way:
rpm -e libgomp

# As I have stated in other post, I don't think you need gcc. Please double check before you proceed.
作者: poohyuik    時間: 2008-12-5 21:04

[root@localhost Documents]# rpm -e libgomp
錯誤:相依性偵測失敗:
        libgomp.so.1 被 (已安裝) ImageMagick-6.3.5.9-2lp.i386 所需要
        libgomp.so.1 被 (已安裝) acerim-0.1.0-2008061601.i386 所需要
        libgomp.so.1(GOMP_1.0) 被 (已安裝) ImageMagick-6.3.5.9-2lp.i386 所需要
        libgomp.so.1(OMP_1.0) 被 (已安裝) ImageMagick-6.3.5.9-2lp.i386 所需要

Help plz =.=

And I still think  I should have gcc
becouse:
[root@localhost faac]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
Is there any other way to install faac without gcc =.=???
作者: 嘉星夜    時間: 2008-12-5 23:33

解決辦法係連 dependency 一次過 uninstall,即係話可能係咁:
rpm -e ImageMagick acerim libgomp
但係咁樣可能會引起更多因 dependency 而起既問題,真係遇到時要小心處理。

有時我會去 rpm.pbone.net 搵 rpm 檔,faac 我都見到有,不過好似冇俾 Linpus 用,你可以試下 other 或者俾其他 distribution 用既 rpm 搏下。
作者: Greatmiu    時間: 2008-12-6 12:56

1 questions:
How many RPMs you have installed without using yum?

1 suggestion:
Never compile software from the source, unless you absolutely need it.
(compile = ./configure, make, make install)
作者: poohyuik    時間: 2008-12-8 14:08

我之前根本唔識 yum...
裝左 七八個到啦=_=
請問佢話果個 咩咩所需要果D 重唔重要的
無用我就刪埋佢=.=




歡迎光臨 UFunFun 討論區 (http://www.ufunfun.com/) Powered by Discuz! 6.0.0