LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-03-2003, 03:14 AM   #1
goddamn walrus
LQ Newbie
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH9
Posts: 3

Rep: Reputation: 0
total noob compiling error


Yo.

Okay so I'm attempting to compile Xine after unpacking it, I cd to the directory, do ./configure, but when it searches for c compilers it says:

checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cc... no
checking for cl... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

Where the hell do I go from here?

Please help and take pity on the (very) noobie.
 
Old 10-03-2003, 03:28 AM   #2
ehdwuld
Member
 
Registered: Jul 2003
Distribution: Currently Suse 11.1 but have RH7,8,9 / Fedora 7,8_64,9_64,&10_64
Posts: 634

Rep: Reputation: 30
what distribution do you have and we'll have to find you a suitable compiler
 
Old 10-03-2003, 03:57 AM   #3
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
it could be that you have it but it is not in the PATH.
there should be a gcc in /usr/bin.
try
which gcc
if it doesn't give anithing you'll have to install a gcc compiler.
if it gives gcc you should add this line to your .bashrc file:
PATH=/usr/bin/:$PATH. depending on where it says the gcc is you'll have to put something else instead of /usr/bin
 
Old 10-03-2003, 07:37 AM   #4
goddamn walrus
LQ Newbie
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
cool, okay....I'm running Redhat 9, and in usr/bin I have gcc296...I think thats the conpiler I'm looking for. I found the bashrc file under /etc, but where in bashrc do I fit that code "PATH=/usr/bin/:$PATH" in?
 
Old 10-05-2003, 08:50 PM   #5
goddamn walrus
LQ Newbie
 
Registered: Oct 2003
Location: Austin, TX
Distribution: RH9
Posts: 3

Original Poster
Rep: Reputation: 0
anybody?
 
Old 10-06-2003, 02:15 AM   #6
aizkorri
Member
 
Registered: Feb 2002
Location: Basque Country
Distribution: Fedora 14, Ubuntu 14.04
Posts: 434
Blog Entries: 1

Rep: Reputation: 55
hi,
you can create a .bashrc file in your home directory, if you haven't one, and add there that line.

Anyway, thinking about it, it could be that the problem is that to do ./configure, you have to add a line to tell it where the compiler is.
something like
./configure --gcc-path=/usr/bin/gccWhatever.
try ./configure --help to see the options.

good luck.
 
Old 10-06-2003, 05:45 PM   #7
simplico
Member
 
Registered: Jul 2003
Location: Orlando, FL
Distribution: mandrake 10
Posts: 62

Rep: Reputation: 15
actually, if you go in your home directory /home/*user* and type in the name .bash_profile (it's not visible but is in this folder). after you open it, you will see the PATH line and maybe others.
 
  


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
help im a total noob darkx SUSE / openSUSE 2 11-20-2005 06:13 AM
Total Noob nomass Linux - Newbie 8 05-12-2005 11:54 PM
Total Noob icadeal Linux - Distributions 7 04-13-2005 08:46 PM
C for total noob acidjuice Programming 11 03-24-2005 05:45 PM
I am a TOTAL noob. Norrin Linux - Newbie 17 08-14-2003 02:26 PM

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

All times are GMT -5. The time now is 06:22 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