LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-27-2004, 07:49 AM   #1
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Rep: Reputation: 15
Installing Xine


Hello

Trying to configure Xine-Lib-1-rc7 on Mandrake 10.0 Official...

So I type configure and it goes on for a while then I get this.....



checking for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
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
See `config.log' for more details.


Any ideas what I need...

Cheers
 
Old 11-27-2004, 08:29 AM   #2
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You need to install the gcc (Gnu C compiler). Basically, you are trying to compile a program without the compiler. Install it from your Mandrake CD's, then re-run the ./configure. There will be more a hell lot of dependencies until you have Xine up and running (if you are lucky). A little suggestion, try learning how to use urpmi:

http://easyurpmi.zarb.org/

it will make your life much easier. E.g:, if you type "urpmi xine" at the console, as root, urpmi will download and install xine and all it's dependencies for you. It works very well.

Good luck!
 
Old 11-27-2004, 08:31 AM   #3
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Yeh, this is the problem, I have got GCC and URPMI?????
 
Old 11-27-2004, 08:39 AM   #4
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Ok...A little more progress..I did xine on urpmi, and it seemed to go ok, I also got Kaffeine off of urpmi, it installed and that appeared to go ok, I found kaffeine in /usr/bin I made a link to it on my desktop, when i try and open, it just stays at starting Kaffeine, and thn nothing happens?
 
Old 11-27-2004, 08:44 AM   #5
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
No idea, sorry . Try running kaffeine from the console though, it usually gives a better output of error messages. Also, if there's not an specific reason to use Xine (unless you want/need DVD menus) mplayer is a much better alternative...

And when you are not sure about if an rpm is or not installed, use:

rpm -qa | grep gcc

at the console, for example.
 
Old 11-27-2004, 08:51 AM   #6
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
That gives me

gcc-3.4.1-4mdk
gcc-cpp-3.4.1-4mdk
gcc2.96-cpp-2.96-0.83mdk


So GCC is cleary installed...

This is what kaffiene from console gives me ....

./kaffeine: Symbol `_ZTI18KUniqueApplication' has different size in shared object, consider re-linking
./kaffeine: Symbol `_ZTI9KComboBox' has different size in shared object, consider re-linking
./kaffeine: Symbol `_ZTI7QWidget' has different size in shared object, consider re-linking
./kaffeine: Symbol `_ZTIN6KParts4PartE' has different size in shared object, consider re-linking
./kaffeine: Symbol `_ZTI11KMainWindow' has different size in shared object, consider re-linking
Main: XInitThreads()
kaffeine: relocation error: kaffeine: undefined symbol: _ZN11KMainWindow7setIconERK7QPixmap
ERROR: Communication problem with kaffeine, it probably crashed.

A bit mysterious...?
 
Old 11-27-2004, 08:58 AM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
I'd say very mysterious . Not really sure... gcc is version 3+ (which is current) while gpp (the GNU c++ compiler) is 2+, which is really old.

If I was you, I'd try this. But you may want to wait for somebody else post with another thought before trying and screwing everything up . Fire up Mandrake Control Center and remove all gcc, g++ packages you've there and install them again, from your CD's or from Mandrake's ftp. Get matching versions as g++ 3+ and gcc 3+. Run again ./configure and see what happens.

Odd with Kaffeine though. You may need to try another GUI for xine. I still think that mplayer through urpmi is a better shot though .

This is a GNU advice, meaning it comes with no guaranty whatsoever, use it at your own risk
 
Old 11-27-2004, 09:01 AM   #8
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Right thanks for the help...

I got mplayer, and it works through the console, /usr/bin/mplayer

But, if i click that nothing happens, do i need to installer a seperate GUI?

Cheers
 
Old 11-27-2004, 09:03 AM   #9
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Maybe the gui is already installed. Try typing "gmplayer" at the console to see if that works.
 
Old 11-27-2004, 09:11 AM   #10
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Hmm..I can find that..
 
Old 11-27-2004, 09:15 AM   #11
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Can't?. Odd. Not sure how to install the gui through urpmi, but try "urpmi mplayer-gui" or "urpmi gmplayer".
 
Old 11-27-2004, 09:16 AM   #12
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Im downloading mplayer-gui as we speak
 
Old 11-27-2004, 09:17 AM   #13
midgcool
Member
 
Registered: Nov 2004
Location: Cambridge, United Kingdom
Distribution: Ubuntu 5.04
Posts: 77

Original Poster
Rep: Reputation: 15
Yay, thanks a lot!!! Any ideas where to an AAC plugin?
 
Old 11-27-2004, 09:19 AM   #14
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
That's great . I hope it will work and most important, that you will like mplayer. The only thing it lacks is a descent DVD-menu. Other then that, it's an awesome player, ported to a hole lot of systems out there as Xbox (works amazingly), FreeBSD and even Win32 itself. It supports an incredible number of codecs and can play a lot of known formats as DivX, mpeg, avi, mov, mp3, ogg as well as VCD's and DVD's . It also comes with memcoder, so you can create/edit your own videos (never done that though)
 
Old 11-27-2004, 09:22 AM   #15
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
You are welcome . I'm glad it works. About the MPEG-4 ACC codec, I'm not sure. I always compiled mplayer from source (it compiles surprisingly easy) and I usually install the package codecs-all they have at their homepage. Not sure is ACC comes too though . Sorry...
 
  


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
installing xine.... Nidias_91 Linux - Newbie 1 07-30-2005 01:17 AM
Installing Xine aeuzent Linux - Newbie 17 01-16-2005 08:20 AM
installing XINE fng_#1 Red Hat 26 10-03-2004 04:11 PM
Installing Xine EnglandFC Linux - Newbie 1 07-17-2004 12:28 PM
Installing Xine uneffected Linux - Newbie 2 12-16-2003 06:23 PM

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

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