LinuxQuestions.org
Help answer threads with 0 replies.
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 07-25-2005, 11:28 AM   #1
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Rep: Reputation: 15
compiler troubles


I have installed ubuntu 5.04 and I find out that it does not come with a compiler.
so I downloaded one and used apt-get install gcc, it seems like everything went okay. Then I tryed ./configure for xine only to have it say at the end:

checking whether we are using the gnu c++ compiler...no
checking whether g++ accepts -g...no
checking dependency style of g++...none
checking how to run the c++ preprocessor.../lib/cpp
configure: error: c++ preprocessor "/lib/cpp" fails sanity check

what is going on here I am the only thing losing sanity
 
Old 07-25-2005, 11:32 AM   #2
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
"apt-get install cpp" Does that work? Gcc is only the c compiler. cpp is edit: preprocessor.

Last edited by darkleaf; 07-25-2005 at 11:49 AM.
 
Old 07-25-2005, 11:44 AM   #3
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
apt-get install cpp

reading package lists...done
building dependency tree...done
cpp is already the newest version.
o upgraded, 0 newly installed, 0 to remove and 0 not updated


now what do I do?
 
Old 07-25-2005, 11:51 AM   #4
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Wait it was "apt-get install g++" cpp is the preprocessor (changed in post above) and gcc is normal c and g++ is c++.

Can't you install xine from the repositories btw
 
Old 07-25-2005, 11:57 AM   #5
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
"repositories btw"

what is that?
 
Old 07-25-2005, 12:02 PM   #6
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
and why does ubuntu want me to insert the ubuntu cd when I change something or install something?
 
Old 07-25-2005, 12:03 PM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Well the servers with packages. Btw = by the way.

Like in debian I can do "apt-get install xine" and it'll install it all fine.
 
Old 07-25-2005, 12:04 PM   #8
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Quote:
Originally posted by LinuxPadawan
and why does ubuntu want me to insert the ubuntu cd when I change something or install something?
I think you still have the CDrom in your /etc/apt/sources.list You can safely delete the line if you use the internet for packages. If you later want it back you can run "apt-setup"
 
Old 07-25-2005, 12:05 PM   #9
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
now there is a configure error

zlib needed.
 
Old 07-25-2005, 12:08 PM   #10
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
"apt-get install zlibc" Can't you just do "apt-get install xine"?
 
Old 07-25-2005, 12:19 PM   #11
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
"Can't you just do "apt-get install xine"?"

nope, it says
e: couldn't find package xine.
 
Old 07-25-2005, 12:20 PM   #12
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
I see. Well it's probably not there then but you might want to do "apt-cache search xine" that'll search the package lists for the keyword xine. Might help (if not maybe for other things later)
 
Old 07-25-2005, 12:28 PM   #13
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
e: cannot find package zlibc.

Ok for some reason finding an rpm for this is hard. there are plenty for the ui but not for this lib. Please tell me where to find one.
 
Old 07-25-2005, 12:31 PM   #14
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
Which distro are we talking about now? Ubuntu or FC3. If fc3 you might as well try xine.rpm in google and find lots of sites with xine rpms.

What does your /etc/apt/sources.list look like if you use ubuntu?

Try "apt-cache search zlib" maybe you can find the name of the package that way.
 
Old 07-25-2005, 12:51 PM   #15
LinuxPadawan
Member
 
Registered: Mar 2005
Location: USA
Distribution: Fedora Core 3
Posts: 114

Original Poster
Rep: Reputation: 15
I am using ubuntu, I switched so I need to change my profile.

my sources list looks confusing, it has some Internet urls but I do not know what specific thing I should be looking for.

and when I searched for zlib it came up with zlib1g a compression library.

I thought ubuntu was supposed to be easier than fedora and most others but I was wrong, fedora was very hard but it made more sense than this, at least it came with a compiler and cpp librarys and was ready to install source immediately.

Last edited by LinuxPadawan; 07-25-2005 at 01:05 PM.
 
  


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
troubles with SATA, troubles with NVIDIA aevangelica Linux - Hardware 6 10-17-2005 02:39 AM
Compiler conundrum: Which came first, a compiler, or it's source code? fr0zen Programming 21 01-29-2004 04:31 AM
No compiler to compiler the compliler NewtonIX Linux - Newbie 13 11-03-2003 05:32 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 11:45 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