LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum install gcc gcc-c++ (https://www.linuxquestions.org/questions/linux-newbie-8/yum-install-gcc-gcc-c-920217/)

nishamcp 12-23-2011 11:13 AM

yum install gcc gcc-c++
 
Hi All,

We are using a ORACLE ENTERPRISE LINUX server and when i try to install c++ compiler using the command yum install gcc gcc-c++ i am getting the following error.

1:NetworkManager-0.7.0-10.el5_5.2.i386 from installed has depsolving problems
--> Missing Dependency: NetworkManager-glib = 1:0.7.0-10.el5_5.2 is needed by package 1:NetworkManager-0.7.0-10.el5_5.2.i386 (installed) .....

Got the same problem while updating gcc packages..


Can anyone help me to work with this.

Thanks

John VV 12-23-2011 02:58 PM

for starters you need to install a lot more than just gcc
1) Oracle is not free so you DO HAVE A PAID FOR support contract
-- use it --
2) you need to install the development group
see:
Code:

su -
man yum
-- and this ---
yum --help
--- then this ---
yum grouplist
-- then from that list install ----
yum groupinstall "Development Tools" "Development Libraries"


nishamcp 12-26-2011 01:22 AM

thanks
 
hi John,

It worked out after trying out what you mentioned.thanks a lot. Now i am trying to create a partition on a server with hd 2TB. I can see 3 partitions already listed when i run the command fdisk -l. When i try to make a new partition for eg sda4 with the command fdisk /dev/sda4 i am getting an error Unable to open /dev/sda4. Can you tell me how to rectify this coz i am looking forward to learn more about RAID.

John VV 12-26-2011 02:07 AM

Oracle uses Red Hat .So for partitioning you can use any current RHEL ,CentOS,fedora partitioning tutorial
for more you really should start a new thread

but most of the time partitions are made using a bootable dvd or cd
Like " Gparted"
http://gparted.sourceforge.net/

now if this is a remote server that is a different story .


All times are GMT -5. The time now is 04:20 AM.