LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Erorrs while installing softs on FC5 (https://www.linuxquestions.org/questions/linux-newbie-8/erorrs-while-installing-softs-on-fc5-467652/)

tuxianD 07-25-2006 08:43 PM

Erorrs while installing softs on FC5
 
Hi buddies,
I am :newbie: .I have installed FC5 on my machine without any hastle.
But now when I am trying to install any softs it shows hell a lot of errors or warning.

When trying to install rpm package , It shows
failed dependencies followed by list,*** is needed by ***.rpm.:cry:

When trying to install .tar package it shows
configure: error: no acceptable C compiler found in $PATH.:cry: :cry:

#rpm -ivh ****.rpm
#./configure
I am using above commands for rpm and source package respectively.

If I reinstall os ,will it fix this problem?:confused:
Plz help me tuxians.:Pengy:

jeelliso 07-25-2006 08:49 PM

Welcome to LQ!

You should use Yum, the Fedora Core package manager to install software. The repository is pretty big so most everything you will ever need will be available from here. If you have to install from .rpm manually and it will not automatically fix the dependency problem, then you will have to install the depencencies manually.

As for the compile-time error, it looks like you don't have a C compiler installed on your computer. Run "whereis gcc" and if it doesn't return a path, then you don't have one installed. You can do a "yum search gcc" to find the package you are interested in, the run "yum install package" where package is the name of the package you wish to install.

Good Luck,
~Justin

tuxianD 07-25-2006 09:23 PM

Quote:

[root@tux Softs]# whereis gcc
gcc: /usr/libexec/gcc
I think it is installed properly so what should I do now ?

[
Quote:

root@tux Softs]# yum install gcc
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

No module named constants

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.2 (#1, Feb 12 2006, 03:59:46)
[GCC 4.1.0 20060210 (Red Hat 4.1.0-0.24)
]

Which package require to configure yum or any other settings which I supposed to do.

Thnx for reply.


All times are GMT -5. The time now is 05:34 AM.