LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 07-25-2002, 06:52 AM   #16
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974

libc is the core of the c language, which you will need to compile programs. these are only [problems you've encoutnered as you didn't select to install developement packages, a term that i think can be a bit misleading.

dependencies are a somewhat unavoidable part of linux life, as it's all open source everyone contributes their own small bit to form part of the jigsaw. and of course just chewing jjigsaw pieces to fit in holes never works properly.

it's frustrating but if you end up liking linux the chances are you will develope endless patience for dependencies, i'm happy to spend forever satisfying them, somethign which i would instantly refuse to do under windows.

you. do. not. need. a. gui. no really.. you don't. you open the player, you load a film, you play film, you sit still for up to 2 hours, you turn player off... no need for a gui in there....

if you install from source you will get many less dependencies. for example SDL is just one way of outputting the video, and you don't NEED it, i personally don't use it as the scaling isn't that effective due to it's nature. it is simply down as a dependency as it will be needed if you want to make it work. you can ignore that dependency safely. not something to assume though. but if you go from source it will see that you do not have SDL installed and will therefore not compile that code into the system in the first place.
 
Old 07-26-2002, 01:00 AM   #17
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Original Poster
Rep: Reputation: 15
Ok, how do i find out where gcc is on my system? i did try ti install glibc but more dependancy crap. I ran ./configure --disable-gcc-checking and got
______________________________________________
[root@localhost /MPlayer-20020723]# ./configure --disable-gcc-checking
Detected operating system: Linux
Detected host architecture: i386

******************************************************************************

Hmm. You really want to compile MPlayer with an *UNSUPPORTED* C compiler?
Ok. You know. Do it. But did you already read DOCS/gcc-2.96-3.0.html ???

DO NOT SEND BUGREPORTS OR COMPLAIN, it's *YOUR* compiler's fault!
Get ready for mysterious crashes, no-picture bugs, strange noises... REALLY!
Lame which is used by mencoder produces weird errors, too.

If you have any problem, then install GCC 2.95.x or 3.x version and try again.
If the problem _still_ exists, then read DOCS/bugreports.html !

*** DO NOT SEND BUGREPORTS OR COMPLAIN it's *YOUR* compiler's fault! ***

******************************************************************************


Checking for CPU vendor ... AuthenticAMD (5:8:12)
Checking for CPU type ... AMD-K6(tm) 3D processor
Checking for GCC & CPU optimization abilities ... Your gcc does not support even
"i386" for '-march' and '-mcpu'.
error
Checking for kernel support of mmx ... failed
It seems that your kernel does not correctly support mmx.
To use mmx extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for kernel support of 3dnow ... failed
It seems that your kernel does not correctly support 3dnow.
To use 3dnow extensions in MPlayer, you have to upgrade/recompile your kernel!
Checking for mtrr support ... yes
Checking for assembler (as ) ... failed
Upgrade binutils to 2.9.1 ...

Error: obsolete binutils version

Check configure.log if you do not understand why it failed.
________________________________________________

and here is configure.log which i dont understand
__________________________________________________

============ Checking for CPU vendor ============
Result is: AuthenticAMD (5:8:12)
##########################################

============ Checking for CPU type ============
Result is: AMD-K6(tm) 3D processor
##########################################

============ Checking for GCC & CPU optimization abilities ============

int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=k6-2 -mcpu=k6-2
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory


int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=k6 -mcpu=k6
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory


int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=i586 -mcpu=i686
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory


int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=i586 -mcpu=i586
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory


int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=i486 -mcpu=i486
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory


int main(void) { return 0; }

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o -march=i386 -mcpu=i386
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory

Result is: Your gcc does not support even "i386" for '-march' and '-mcpu'.
##########################################

Result is: error
##########################################

============ Checking for kernel support of mmx ============

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("emms":::"memory");return(0);
}

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory

Result is: failed
##########################################

============ Checking for kernel support of 3dnow ============

#include <signal.h>
void catch() { exit(1); }
int main(void){
signal(SIGILL, catch);
__asm__ __volatile__ ("femms":::"memory");return(0);
}

gcc /tmp/mplayer-conf-12355-1149.c -o /tmp/mplayer-conf-12281-1149.o
gcc: installation problem, cannot exec `cpp0': No such file or directory

ldd /tmp/mplayer-conf-12281-1149.o
ldd: /tmp/mplayer-conf-12281-1149.o: No such file or directory

Result is: failed
##########################################

============ Checking for mtrr support ============
Result is: yes
##########################################

============ Checking for assembler (as ) ============
Result is: failed
##########################################

_________________________________________________

BTW what is idconfig and updatedb? and how do i use it?
 
Old 07-26-2002, 04:43 AM   #18
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
It's actually LDCONFIG but in small case.
LDCONFIG INFO

And

UPDATEDB INFO

This is just a good list of commands and what they are for/do:
Linux Commands

You just open a terminal type them in, one at a time.

And yeah, it appears you really do want to have GCC checking enabled.

Here's the how to install GCC from GCC's homepage:
http://gcc.gnu.org/install/

It talks about installing to a directory that doesn't already have GCC in it. Probably something like /usr/local/bin might work.

I am not sure if it was just my bad luck or something I screwed up, but I also had to make a symlink from cc to gcc in /usr/bin

Oh and here is one more how to on GCC, it pertains to LFS, but is a good read:
http://www.linuxfromscratch.org/view...ter06/gcc.html

I headed over to mplayer's homepage and was reading their info on installation.

This is the FAQ page:
http://www.mplayerhq.hu/DOCS/faq.html

And this page has references on how to install GCC:
http://www.mplayerhq.hu/DOCS/users_a...evelopers.html

And finally, install instructions as well from mplayer's site:
http://www.mplayerhq.hu/DOCS/documentation.html#1.3

Last edited by MasterC; 07-26-2002 at 04:51 AM.
 
Old 07-26-2002, 05:02 AM   #19
Streams
Member
 
Registered: Jun 2002
Location: NewZealand
Distribution: Slackware 9.1
Posts: 146

Original Poster
Rep: Reputation: 15
great thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where I can Divx Player? How to install it? Lead Expression Linux - Software 8 12-31-2004 02:46 PM
how do i install divx codecs in suse 9.0 54az Linux - Newbie 1 02-28-2004 04:13 PM
How to install DIVX edu2 Linux - Newbie 3 09-27-2003 02:46 PM
divx install problem digsby0007 Linux - Software 19 04-27-2003 01:19 PM
Any distro:DiVX Linux version:DivX codec compatible player? sewer_monkey Linux - Software 16 05-19-2002 08:03 AM


All times are GMT -5. The time now is 10:58 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration