LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2004, 04:54 AM   #1
Rusted
LQ Newbie
 
Registered: Sep 2004
Location: Cape Town South Africa
Posts: 4

Rep: Reputation: 0
Question XMMS C Compiler


When installing Xmms 1.2.10 I get the following message

bash: cd: xmms: No such file or directory
[root@localhost root]# cd xmms-1.2.10
[root@localhost xmms-1.2.10]# ./configure
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for prefix by checking for xmms... /usr/bin/xmms
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.
[root@localhost xmms-1.2.10]#


Not being an expert at all (in fact, quite an idiot where linux is concerned ) I do not know how to proceed? Help
 
Old 10-15-2004, 05:09 AM   #2
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
You should simply install a C compiler. Depending on you dist, there are several ways to do it. Which dist are you using??
 
Old 10-15-2004, 06:16 AM   #3
Rusted
LQ Newbie
 
Registered: Sep 2004
Location: Cape Town South Africa
Posts: 4

Original Poster
Rep: Reputation: 0
Thank you for your quick response, I am using Fedora Core 2
 
Old 10-15-2004, 11:41 AM   #4
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
I'm guessing you are using the RPM package manager then.

Go to the command line and type in "rpm --install gcc" (remember to be root)
You should then get the GNU Compiler Collection which will bring you the standard compilers. Then return to the xmms lib and type:

./configure
make
make install

And presto!
(you may not have make installed, then "rpm --install make")

P.S.

You may also be using yum, the syntax would then be "yum install gcc"

Regards
 
Old 10-15-2004, 02:45 PM   #5
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 55
Quote:
Originally posted by ElPuello
I'm guessing you are using the RPM package manager then.

Go to the command line and type in "rpm --install gcc" (remember to be root)
You should then get the GNU Compiler Collection which will bring you the standard compilers. Then return to the xmms lib and type:

./configure
make
make install

And presto!
(you may not have make installed, then "rpm --install make")

P.S.

You may also be using yum, the syntax would then be "yum install gcc"

Regards
That's not going to work unless he has already downloaded the RPM for the C compiler. RPM doesn't just download as necessary from the internet, t expects you to already have the file.

Put your fedora disc in the drive, fire up whatever install tool is provided, and install packages from the development section, including gcc, automake, autoconf (maybe called autotools together) and make.

Failing that, go to the fedora homepage, or a webpage such as rpmfind.net or pbone.net and download the RPM for gcc, autoconf, automake and make.
 
Old 10-16-2004, 02:52 AM   #6
Rusted
LQ Newbie
 
Registered: Sep 2004
Location: Cape Town South Africa
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks again for all your help

I used yum install gcc

it started to install and then got stuck , the message I'm getting is

Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:25
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:24
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:24
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:26
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
kernel-0-2.6.8-1.521.i686 39% |========= | 72 kB 00:15 ETA v kernel-0-2.6.8-1.521.i686 48% |============ | 88 kB 00:12 ETA c kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:26 e
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:23
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
retrygrab() failed for:
http://download.fedora.redhat.com/pu...2/i386//header s/kernel-0-2.6.8-1.521.i686.hdr
Executing failover method
failover: out of servers to try
Error getting file http://download.fedora.redhat.com/pu...nux/core/updat es/2/i386//headers/kernel-0-2.6.8-1.521.i686.hdr
[Errno -1] Header cannot be opened or does not match kernel, i686.
[root@localhost root]# st
bash: st: command not found
[root@localhost root]#
[root@localhost root]#
[root@localhost root]#
[root@localhost root]# /var/cache


I am going to try installing any way and see if it works. - No
I get the same error that I did at the start.
 
Old 10-16-2004, 02:57 AM   #7
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by Komakino
That's not going to work unless he has already downloaded the RPM for the C compiler. RPM doesn't just download as necessary from the internet, t expects you to already have the file.
Hmmm... I'm not using fedora myself, but I was pretty sure RPM would feature auto-download; just another reason to go debian
 
Old 10-16-2004, 03:16 AM   #8
ElPuello
Member
 
Registered: Apr 2004
Location: Copenhagen, Denmark
Distribution: Gentoo + Debian PPC
Posts: 44

Rep: Reputation: 15
Quote:
Originally posted by Rusted
Thanks again for all your help

I used yum install gcc

it started to install and then got stuck , the message I'm getting is

Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:25
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:24
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:24
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686.hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:26
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
kernel-0-2.6.8-1.521.i686 39% |========= | 72 kB 00:15 ETA v kernel-0-2.6.8-1.521.i686 48% |============ | 88 kB 00:12 ETA c kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:26 e
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
kernel-0-2.6.8-1.521.i686 100% |=========================| 180 kB 00:23
Damaged Header /var/cache/yum/updates-released/headers/kernel-0-2.6.8-1.521.i686 .hdr
retrygrab() failed for:
http://download.fedora.redhat.com/pu...2/i386//header s/kernel-0-2.6.8-1.521.i686.hdr
Executing failover method
failover: out of servers to try
Error getting file http://download.fedora.redhat.com/pu...nux/core/updat es/2/i386//headers/kernel-0-2.6.8-1.521.i686.hdr
[Errno -1] Header cannot be opened or does not match kernel, i686.
[root@localhost root]# st
bash: st: command not found
[root@localhost root]#
[root@localhost root]#
[root@localhost root]#
[root@localhost root]# /var/cache


I am going to try installing any way and see if it works. - No
I get the same error that I did at the start.
Hmm weird... you could try switching repos and see what happens; I recommended using freshrpms.net.

First you need to backup the old file:

cp /etc/yum.conf /etc/yum.bak

then:

nano /etc/yum.conf

and paste the following:


# $Id: yum-fd.conf,v 1.2 2003/11/13 13:07:34 dude Exp $

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=fedora-release
gpgcheck=1
tolerant=1
exactarch=1

[core]
name=Fedora Linux $releasever - $basearch - core
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/core

#[extras]
#name=Fedora Linux $releasever - $basearch - extras
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/extras

#[alternatives]
#name=Fedora Linux $releasever - $basearch - alternatives
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/alternatives

[updates]
name=Fedora Linux $releasever - $basearch - updates
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/updates

[freshrpms]
name=Fedora Linux $releasever - $basearch - freshrpms
baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms


make sure you are root!

then try "yum update" and then "yum install gcc"

Hope this works out for you!
 
  


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
checking for C compiler default output... configure: error: C compiler cannot create fiorejm Linux - Software 6 11-12-2009 12:35 PM
XMMS install compiler question revenge80200 Linux - Newbie 2 04-11-2004 03:13 PM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
red hat 9 xmms and nvidia driver-xmms ronss Red Hat 3 09-26-2003 08:06 AM
compile a compiler without a compiler? lackluster Linux - General 18 01-02-2003 07:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:34 PM.

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