LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to compile my programs (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-compile-my-programs-679908/)

ranjit.singh 10-29-2008 10:03 PM

Unable to compile my programs
 
Linux Experts,
Please help......
I am new to linux just started it from yesterday.

I tried to compile an ntfs driver by firing command as :
./Configure

Console O/P:
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.

On $ECHO PATH
O/P:
[root@localhost from neet]# echo $PATH
/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin

Also I tried to locate GCC :
O/P
[root@localhost xine-lib-1.1.15]# find / -name gcc
/usr/libexec/gcc

I downloaded the latest GCC RPM : gcc-4.1.2-42.el5.i386.rpm
On installing the RPM:
it showed dependency as "needed CPP=4.1.2-42.el5.
Tried to install the cpp rpm but it gave error as :
"1 conflict with file gcc 4.1.2-14"
Tried to earse the rpm gcc 4.1.2-14 but error was "failed Dependency- xorg.*.* needs this file"
My concern is :
1. I need the RPM that will go with the CPP 4.1.2-14.
2. How do I upgarde my gcc to 4.1.2-42.el5.

Thanks

maradnus 10-29-2008 10:46 PM

ther is yum ..
 
Dear friend,

you can try with yum utility.
yum program will automatically resolve the
dependencies and install all the required
rpms.

try it out.

have a good day.


All times are GMT -5. The time now is 11:57 AM.