Inštalácia
Mohol by mi niekto poradiť?
Mandriva 2007
Stiahol som balík mplayeru. Rozbalil - neviem, či na to správne miesto.
Konzola - ako root:
zadal cd /../mplayer
zadal make - no errors
zadal make install - všetko ok.
pozrel do adresára, spúšťateľný súbor je, ale nefunguje
Prečo?
Pre pridávanie komentárov sa musíte prihlásiť.
./configure
Je jedno kam ten balik rozbalis .
Učím sa, takže sa ešte opýtam: ako na súbor *.pkg2.run??. Tuším problém a tak sa chcem uistiť
ja som volakedy "natvrdo" musel pri kompilacii nastavovat --enable-xv aby to vobec islo.
skus configure --prefix=/usr
alebo
/etc/ld.so.conf
zadat cestu
/usr/local/bin
a potom ldconfig
ja to vzdycky davam po instalacii do svojej mandrivi......
Asi sa pobavíš:
# File generated by XFdrake (rev 62599)
# **********************************************************************
# Refer to the xorg.conf man page for details about the format of
# this file.
# **********************************************************************
Section "Files"
# font server independent of the X server to render fonts.
FontPath "unix/:-1"
# minimal fonts to allow X to run without xfs
FontPath "/usr/share/fonts/misc:unscaled"
EndSection
Section "Extensions"
Option "Composite"
EndSection
Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse does not work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection
Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
Load "dri" # direct rendering
EndSection
Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "sk"
Option "XkbOptions" "compose:rwin"
EndSection
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
EndSection
Section "Monitor"
Identifier "monitor1"
VendorName "Plug'n Play"
ModelName "Philips 190P"
HorizSync 30-83
VertRefresh 56-76
# Monitor preferred modeline (60.0 Hz vsync, 64.0 kHz hsync, ratio 5/4)
ModeLine "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630
# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection
Section "Device"
Identifier "device1"
Driver "nv"
Option "DPMS"
EndSection
Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "832x624" "800x600" "640x480" "480x360" "320x240"
EndSubsection
EndSection
Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
v riadku
Driver "nv"
ti pise aky ovladac sa pouziva pre X, ked budes mat nainstalovany proprietarny ovladac nvidia tak by tam malo bytDriver "nvidia"
Len zostala taká zvláštnosť - všetko fachčí OK, po chvíli sa niečo načíta /"spadne driver"/ a zase to trhá. Aplikáciu ukončím a začnem znova to isté dokola.
MPlayer - aj ten sa podarilo inštalnúť, zase všetko OK, len kde do čerta je! Skúšal som aj manuálne ldd ./mplaer a nič. Spúšťateľný súbor mám na dvoch miestach?? Ako to?
Neviem si predstaviť zložitejšiu aplikáciu. No a pri tomto stroji - to by bolo smutné. Pre príklad: skúsil som F.E.A.R. pod W a všetko automaticky na maximum a parádne.