LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mplayer Source Code Install Problems (https://www.linuxquestions.org/questions/linux-software-2/mplayer-source-code-install-problems-88625/)

thcmwz 09-02-2003 08:46 PM

Mplayer Install???? Help!!!
 
I am a total Newbie, about 3 days new. I am trying to install MPlayer with WMA and DVD capabilities. I downloaded the source file: mplayer-0.90-4.20030808.fr.src.rpm I then unpacked the rpm, and then typed tar xvzf mplayer-0.90-4.20030808.fr.src and then changed directories and then typed ./configure and then make and then install. But I get these error messages:

(after typing make)

demux_real.c:1204: internal error: Segmentation fault
Please submit a full bug report,
make[1]: *** [demux_real.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/MPlayer-20030808/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] Error 2
In file included from demux_mov.c:36:
../loader/qtx/qtxsdk/components.h:157:56: warning: multi-character character constant

(under make install)

native/roqav.c: In function `paint_v4_block':
native/roqav.c:157: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
make[1]: *** [native/roqav.o] Error 1
make[1]: Leaving directory `/usr/src/redhat/SOURCES/MPlayer-20030808/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] Error 2
In file included from vd_qtvideo.c:31:
../loader/qtx/qtxsdk/components.h:157:56: warning: multi-character character constant

I just learned how to install from source, but I don't understand these errors. Could someone please explain them or tell me how to install them so thtat they don't happen??? I have Red Hat 9

MasterC 09-02-2003 09:11 PM

What you have there is a source RPM, not the actual source (.tar.bz2) which is a bit different on installing..

Source RPM's are installed via:
rpm --rebuild filename.src.rpm

Source files are installed via the instructions:
http://www.linuxquestions.org/questions/answers.php

Cool

thcmwz 09-02-2003 09:34 PM

rpm --rebuild mplayer-0.90-4.20030808.fr.src.rpm
--rebuild: unknown option
???

MasterC 09-03-2003 02:02 AM

Yeah, so I've heard, however the man page specifically states that as the way to build from a source rpm, so I'd suggest you contact your distro, check their documentation, or otherwise find out how/why that is stated in the man page, yet obviously does not work in reality. ;)

Until then, I suggest you grab the real source (tar.bz2) and compile using the instructions above.

Cool

Unifex 11-08-2003 05:14 PM

rpmbuild --rebuild mplayer-0.90-4.20030808.fr.src.rpm

rpm --rebuild has been broken forever. Why they've never fixed the docs I don't know, but rpmbuild should do the trick for you.

shanenin 11-08-2003 05:40 PM

download mplayer tar file from their homepage. you will also need to download the "extralite" package which contains the needed codecs. If you want a gui you will need to download a skin(also from their websight.
Mplayer was the first succesful install from source I did.

Also make sure you install all your developmental packages and compilers(that came with redhat). Goto add remove programs and it will prompt you to incert one of your three disks.

Their is know good reason I know of to use the source rpms, they just seem much more complicated.


All times are GMT -5. The time now is 08:41 AM.