Results 1 to 6 of 6
hi,
i didnt install gcc along wit fedora core installation.i downloaded it separately and unzipped it.but i get error wen i try to install it using "./configure , make test ...
- 12-23-2007 #1Just Joined!
- Join Date
- Dec 2006
- Posts
- 19
problem installing gcc4.2.2 in fc6
hi,
i didnt install gcc along wit fedora core installation.i downloaded it separately and unzipped it.but i get error wen i try to install it using "./configure , make test ,make install".the error msg i get is as follows.
[root@localhost gcc-4.2.2]# ./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
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
[root@localhost gcc-4.2.2]# make test
make: *** No rule to make target `test'. Stop.
plz help me to fix this.
- 12-23-2007 #2
You haven't installed C and C++ compiler.
Execute this
Code:su - yum -y install gcc gcc-c++
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-23-2007 #3Just Joined!
- Join Date
- Dec 2006
- Posts
- 19
still getting error
[root@localhost ~]# yum -y install gcc gcc-c++
Loading "installonlyn" plugin
Existing lock /var/run/yum.pid: another copy is running. Aborting.
[root@localhost ~]#
- 12-23-2007 #4
Are you running any other instance of Package Manager like Add/Remove, Pirut or Yum Extender?
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 12-23-2007 #5Just Joined!
- Join Date
- Dec 2006
- Posts
- 19
i dont understand wt u mean by c and c++ compiler not installed.sorry if my doubt is silly.gcc is a c,c++ compiler.so i was trying to install it.but how can i get an error saying c ,c++ compiler not installed?
- 12-23-2007 #6
Okk ! I didn't read your post correctly. You can compile any package without C/C++ compiler. Either install gcc using yum as I have suggested earlier.
Or download gcc in rmp format and install it. You will face a lot of dependency problems during rpm format installation.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First


Reply With Quote