LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-02-2004, 08:57 PM   #1
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Rep: Reputation: 15
Compiler in mandrake 10


I'm having trouble installing xine-lib in mandrake. Here's what I do to install it. Is there something I'm doing wrong?

[drew@localhost drew]$ cd xine-lib-1-rc7
[drew@localhost xine-lib-1-rc7]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
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 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.
[drew@localhost xine-lib-1-rc7]$

If it is not me then what do I need to do to get a comiler. I tried installing one in SuSe personal and it was hell so I gave up on it.
Thanks
 
Old 12-02-2004, 09:08 PM   #2
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
Mandrake has a package manager somewhere so use that to install gcc, it'll install all dependencies for you and then you'll be right to go
 
Old 12-02-2004, 09:15 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
It appears that you do not have a compiler installed.
Install gcc from your distro disks.

In Mandrake install the C development enviroment and I think that you will have everything.

You need gcc.

And no it is not hard to install it. In Mandrake go to the package management tool and instal gcc. It will take care of all of the dependencies.

If you get tired of waiting for the package mgr to config itself you can allways install .rpm packages manually.

as root
and you'll need to be in the directory
rpm -ivh packagename.rpm

look at the man pages for rpm

Good luck
 
Old 12-02-2004, 09:26 PM   #4
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
When I try to add gcc packages from the package manager it asks for disk 4 but theres only 3 disks for mandrake 10.
 
Old 12-03-2004, 05:45 AM   #5
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
I was looking at the requirements for gcc and it needs gnat and gzip and all this other crap. How are you supposed to compile those without a compiler in the first place?
 
Old 12-03-2004, 04:27 PM   #6
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,141
Blog Entries: 6

Rep: Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828Reputation: 1828
I'm not sure why you are having probs. I've installed Mandrake on 3 different machines with no prob. I'm not near one now, sorry.
gcc is on disk 1 of your Mandrake install cd's. I just looked at mine. That is Mandrake 10.0 official.

Here you can get all of the .rpms for mandrake that you could ever use.
http://easyurpmi.zarb.org/

And here
http://plf.zarb.org/packages.php

Are you using an old machine with limited HD space? Installing everything on the Mandrake distro only takes up about 3 GB or so.

Let me give you some more links that might help.
http://tldp.org/LDP/intro-linux/html/
http://tldp.org/
http://www.hk8.org/old_web/linux/lnut/
http://www.linuxprinting.org/
http://www.mandrakelinux.com/en/ftp.php3

I think that I installed the C development enviroment and got all the tools needed for writing and compiling C.

Good luck.
 
Old 12-05-2004, 05:02 PM   #7
deftones
Member
 
Registered: Sep 2004
Location: Georgia
Distribution: Slackware
Posts: 49

Original Poster
Rep: Reputation: 15
Thanks so much for the help. I'm gonna look into those links you gave me when I get home.
The PC doesn't have limited harddrive space, I have a dual boot with Windows and 6gigs for linux. I should have just installed everything possible in the initial setup.
 
  


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
C++ Compiler in Mandrake Linux 9.2 nirvana4lf Linux - Newbie 3 12-18-2004 12:40 PM
Compiler errors Kylix 3 and Mandrake 10 henhar Programming 1 12-10-2004 11:25 AM
does mandrake 10 have a c compiler wogga Linux - Software 3 05-31-2004 08:11 PM
Java Compiler for Mandrake??? mazyar28 Linux - Newbie 5 09-03-2003 05:42 AM
Mandrake 8.2 and compiler tools nuzzy Linux - Newbie 2 06-27-2002 04:24 PM

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

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