[linux] probleem installatie mplayer

Pagina: 1
Acties:
  • 28 views sinds 30-01-2008

  • procyon
  • Registratie: Februari 2000
  • Laatst online: 07-02 15:57
Beste tweaker,

Ik ben begonnen met suse linux (10.0), totaal geen ervaring mee.
Mijn eerste indruk is zeer positief op enkele dingen na.

Zo kunnen alle media players die standaard zijn meegeleverd geen mp3 en videobestanden afspelen. Waarom niet, weet ik niet.

Ben dus op zoek gegaan naar een andere player waarmee ik ook streaming media kan bekijken, websites met filmpjes als wtfpeople.com enz.

Heb Realplayer werkend met mp3 maar niet met videos.
Daarom ben ik gaan kijken naar mplayer.

Bij de installatie via kpackage krijg ik de melding dat er 3 dependencies niet aanwezig zijn.

libmad.so.0 is needed by MPlayer-1.0pre7-pm.3
libmp3lame.so.0 is needed by MPlayer-1.0pre7-pm.3

de 1e was w32codec-all-20050412-0.pm.0.i386.rpm nogwat en die heb ik inmiddels gevonden en daar zeurt hij niet meer over.
Die andere kan ik niet vinden, waar haal je die dependencies?

Heb al diverse rpm zoekengines geprobeerd maar zonder (goed) resultaat :(

edit:
voor de eerste dep. heb ik deze website gevonden:
http://www.megaloman.com/~hany/RPM/libmp3lame.so.0.html
Heb ze allemaal geprobeerd (de athon en i686 rpms) niets werkt

[ Voor 9% gewijzigd door procyon op 18-10-2005 16:21 ]


  • A_L
  • Registratie: Juni 2001
  • Niet online

A_L

Suse schijnt tegenwoordig ook gebruik te maken van apt. Dan zou je alleen een apt-repository moet toevoegen die mplayer, mp3, etc. heeft en dan worden de dependencies "vanzelf" opgelost.

Dit las ik een tijdje terug op lwn.net:
AFAIK, apt will be included, so you just add packman as an apt-source like
this in your "/etc/apt/sources.list":

rpm http://ftp.gwdg.de/pub/linux/suse/apt packman-i686

Then a simple " apt install MPlayer" will bring nearly all video and audio
formats to SuSE. You can fetch the w32codec package, and this will also
work with the 64 Bit Version - _very_ convenient :-)

[ Voor 7% gewijzigd door A_L op 18-10-2005 16:27 . Reden: url toegevoegd ]


Verwijderd

Procyon for life schreef op dinsdag 18 oktober 2005 @ 16:16:
Zo kunnen alle media players die standaard zijn meegeleverd geen mp3 en videobestanden afspelen. Waarom niet, weet ik niet.
Omdat voor .mp3 en .wmv betaalt moet worden. De open standaarden zoals bijvoorbeeld Ogg Vorbis moet je gewoon kunnen afspelen.

  • procyon
  • Registratie: Februari 2000
  • Laatst online: 07-02 15:57
tnx voor jullie reacties.

Mplayer is nu geinstalleerd en speelt alles :)
Nu wil ik mplayer graag als plugin werkend hebben in firefox.

Hier las ik hoe dat moet:
http://mplayerplug-in.sourceforge.net/install.php


Na wat te hebben gerommeld kwam ik erachter dat ik naast de mozilla-devel package ook de c++ compiler eerst even moet installeren :+

Heb de twee pakketten geinstalleerd en heb gecko-sdk gedownload en uitgepakt.

Nu mijn eerste compile poging in linux, die helaas niet goed gaat:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
linux:/home/maarten/Desktop/mplayerplug-in-3.11/mplayerplug-in # ./configure --with-gecko-sdk=/home/maarten/Desktop/mplayerplug-in-3.11/gecko-sdk
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... no
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: WARNING: *** Running in X mode - Limited Features ***
*** The pkg-config script could not be found. Make sure it is
*** in your path, or set the PKG_CONFIG environment variable
*** to the full path to pkg-config.
*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config.
configure: error: Missing gthread package
linux:/home/maarten/Desktop/mplayerplug-in-3.11/mplayerplug-in #


Wat wordt er bedoeld met het "The pkg-config script"? waar vind ik dat?
En de gthread package kan ik ook nergens vinden in yast...

Is er geen makkelijkere manier om een plugin te installeren voor firefox?

Verwijderd

Zoek even in je apt-get (apt-cache search <package>) repository naar glib2-devel en pkg-config... Je zult nog wel meer missen, ik heb het idee dat je de hele development environment momenteel mist.

  • procyon
  • Registratie: Februari 2000
  • Laatst online: 07-02 15:57
Het klopt dat ik het een en ander miste.
Nu loopt de compile wat beter:
code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
linux:/home/maarten/Desktop/mplayerplug-in-3.11/mplayerplug-in # ./configure --w                                                       ith-gecko-sdk=/home/maarten/Desktop/mplayerplug-in-3.11/gecko-sdk
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
checking GTK_LIBS... -L/usr/X11R6/lib -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -L/opt/gnome/lib -lgthread-2.0 -lglib-2.0
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking X11/StringDefs.h usability... yes
checking X11/StringDefs.h presence... yes
checking for X11/StringDefs.h... yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strrchr... yes
checking for snprintf... yes
checking for mkfifo... yes
checking for dup2... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtol... yes
checking for memmem... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking X11/xpm.h usability... yes
checking X11/xpm.h presence... yes
checking for X11/xpm.h... yes
checking for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile
config.status: creating install.sh
config.status: creating config.h
config.status: config.h is unchanged
linux:/home/maarten/Desktop/mplayerplug-in-3.11/mplayerplug-in #

Hij doet nu veel meer, maar bovenstaande website suggereerd dat ik nu bestanden moet hebben met de namen:
mplayerplug-in.so
mplayerplug-in.xpt
mplayerplug-in-wmp.so
mplayerplug-in-wmp.xpt
mplayerplug-in-qt.so
mplayerplug-in-qt.xpt
mplayerplug-in-rm.so
mplayerplug-in-rm.xpt
mplayerplug-in-gmp.so
mplayerplug-in-gmp.xpt

dit is dus niet zo.
Wat doe ik fout, dit is zeer frustrerend..

En waarom zijn zulke plugins niet gewoon voorgecompiled te downloaden als rpm pakketje?
Kleine moeite voor die mensen van mozilla toch?

  • mace
  • Registratie: Juni 2003
  • Laatst online: 01:12

mace

Sapere Aude

Procyon for life schreef op woensdag 19 oktober 2005 @ 23:26:
Het klopt dat ik het een en ander miste.
Nu loopt de compile wat beter:

-knip-


Hij doet nu veel meer, maar bovenstaande website suggereerd dat ik nu bestanden moet hebben met de namen:

-knip2-

dit is dus niet zo.
Wat doe ik fout, dit is zeer frustrerend..

En waarom zijn zulke plugins niet gewoon voorgecompiled te downloaden als rpm pakketje?
Kleine moeite voor die mensen van mozilla toch?
Als ik het zo bekijke heb je ./configure gedaan, nu moet je nog "make" en "make install" doen :)

[ Voor 81% gewijzigd door mace op 19-10-2005 23:31 ]


  • procyon
  • Registratie: Februari 2000
  • Laatst online: 07-02 15:57
Shit ik zie het, je hebt idd gelijk.. B)

  • blaataaps
  • Registratie: Juli 2001
  • Niet online
Goed lezen wat er staat dus (dat is eigenlijk bij alle instructies zo) :)
Je bent nu al een heel eind op weg, nu moet het vast wel lukken als je alles goed leest ;)
Pagina: 1

Dit topic is gesloten.