LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2008, 10:03 PM   #1
ranjit.singh
LQ Newbie
 
Registered: Oct 2008
Posts: 1

Rep: Reputation: 0
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
 
Old 10-29-2008, 10:46 PM   #2
maradnus
Member
 
Registered: Oct 2008
Location: Yellagiri Hills
Distribution: Fedora
Posts: 87

Rep: Reputation: 15
Thumbs up 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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to compile gtk programs posix_memalign Programming 7 08-19-2008 02:53 PM
how should i compile c programs?? vbnandu86 Fedora 3 09-01-2006 07:15 AM
cannot compile c programs umeshpandey007 Linux - Newbie 7 08-29-2005 09:19 PM
Certain programs won't compile thegeekster Linux - Software 2 01-15-2004 06:25 AM
how to compile opengl programs rsingh Linux - Newbie 2 01-02-2004 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration