newbie ?s re dual monitor and mplayer
i'm trying to compile mplayer. ./configure gives me this output:
./configure --enable-gui --with-win32libdir=/usr/lib/win32/win32codecs/ --enable-win32 --with-xanimlibdir=/usr/lib/xanim/xanimdlls/ --enable-xvid --enable-xanim --with-gtk-config=/usr/lib/ --with-glib-config=/usr/lib/ Config files successfully generated by ./configure ! Install prefix: /usr/local Data directory: /usr/local/share/mplayer Config direct.: /usr/local/etc/mplayer Byte order: Little Endian Optimizing for: athlon-xp mmx mmx2 3dnow 3dnowex sse mtrr Enabled optional drivers: Input: streaming tv-v4l edl tv mpdvdkit2 vcd Codecs: qtx libavcodec xanim dshow/dmo win32 Audio output: oss mpegpes(file) Video output: xvidix vesa jpeg png mpegpes(file) fbdev opengl dga xv x11 Disabled optional drivers: Input: tv-bsdbt848 cdda dvdnav dvdread dvdcss smb Codecs: opendivx xvid libdv real libvorbis libmad liblzo gif Audio output: sgi sun alsa esd arts dxr2 nas win32 sdl Video output: bl zr dxr3 dxr2 directx sdl gif89a svga aa ggi xmga mga directfb tdfxfb 3dfx and then i "make " that sucka and it gives me this make[1]: Entering directory `/usr/src/MPlayer-0.90' ./version.sh `gcc -dumpversion` gcc -MM -O4 -march=athlon-xp -mcpu=athlon-xp -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 ./configure: line 1: /usr/lib/: is a directory -DCODECS2HTML mplayer.c mencoder.c mplayer.c mp_msg.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c m_config.c m_option.c parser-cfg.c m_struct.c unrarlib.c mixer.c parser-mpcmd.c mencoder.c mp_msg-mencoder.c cpudetect.c codec-cfg.c cfgparser.c my_profile.c spudec.c playtree.c playtreeparser.c asxparser.c vobsub.c subreader.c sub_cc.c find_sub.c m_config.c m_option.c parser-cfg.c m_struct.c unrarlib.c libao2/afmt.c divx4_vbr.c libvo/aclib.c libvo/osd.c libvo/sub.c libvo/font_load.c libvo/font_load_ft.c xvid_vbr.c parser-mecmd.c 1>.depend gcc: ./configure:: No such file or directory gcc: line: No such file or directory gcc: 1:: No such file or directory gcc: /usr/lib/:: No such file or directory gcc: is: No such file or directory gcc: a: No such file or directory gcc: directory: No such file or directory make[1]: *** [depend] Error 1 make[1]: Leaving directory `/usr/src/MPlayer-0.90' make: *** [version.h] Error 2 [root@localhost MPlayer-0.90]# so thats a problem. not sure exactly what she means. also, does libavcodec include divx and xvid? if not, i can install the win32 divx codec, right? how do i do that? is it easier to install divx5linux? where can i get that? next - how do i set up mandrake 9.1 with kde to use 2 monitors? thanks in advance, and sorry bout the long message - i wanted to be specific, and this is my first time with linux, so im not sure whats important and whats not, you know? |
Code:
--with-gtk-config=/usr/lib/ --with-glib-config=/usr/lib/ libavcodec contains a bunch of different video methods, including divx5 and such, xvid is not there as it is a project, not a format. |
Quote:
Checking for gtk version ... Error: the GUI requires GTK (which was not found) the configure says i should use these options if autodetection fails. --with-gtk-config=PATH path to gtk*-config (e.g. /opt/bin/gtk-config) --with-glib-config=PATH path to glib*-config (e.g. /opt/bin/glib-config) if i run ldconfig, which a friend told me was a good way to find out what packages you have installed and where, i get: [root@localhost eli]# ldconfig -p |grep gtk libgtkxmhtml.so.1 (libc6) => /usr/lib/libgtkxmhtml.so.1 libgtkmm-1.2.so.0 (libc6) => /usr/lib/libgtkmm-1.2.so.0 libgtkhtml-2.so.0 (libc6) => /usr/lib/libgtkhtml-2.so.0 libgtkhtml-1.1.so.3 (libc6) => /usr/lib/libgtkhtml-1.1.so.3 libgtk-1.2.so.0 (libc6) => /usr/lib/libgtk-1.2.so.0 libgtk-x11-2.0.so.0 (libc6) => /usr/lib/libgtk-x11-2.0.so.0 libgnorbagtk.so.0 (libc6) => /usr/lib/libgnorbagtk.so.0 libgconf-gtk-1.so.1 (libc6) => /usr/lib/libgconf-gtk-1.so.1 libexif-gtk.so.4 (libc6) => /usr/lib/libexif-gtk.so.4 [root@localhost eli]# they're all in /usr/lib/ so what am i doing wrong here? |
Quote:
|
im afraid i still dont get you. how do i find those config scripts? i did a kfind for them, but they didnt turn up. the only thing i found was a directory /etc/gtk that had a bunch of gtk related things in them, not sure if they were binaries? i tried pointing ./configure to that directory, but that didnt solve the problem.
|
find / -name gtk-config -print
|
will find discover something that kfind didnt? whats the difference?
|
well i ran the command,
find / -name gtk-config -print find: /mnt/cdrom2: Input/output error find: /mnt/floppy: Input/output error did it halt on this error or did it just not find anything? it didnt print anything after that, just gave me the prompt back. is there anyway i can tell it not to search the /mnt/ directory? gtk-config isnt gonna be in there anyways. |
gtk-config , if it exists is probably in /usr/bin,
it it's not, then you probably don't have the gtk development package installed. you might also try configure --prefix=/usr --enable-gui |
i got it!
yes!! mplayer compiled and i installed it and made an icon for it and everything! my first linux app ::tear:: you guys were right, i didnt have the gtk development package installed, just the regular gtk. i did rpm drake, installed those bastards off the cd, and viola!
so how bout the dual monitor support? where should i start looking for that? |
congratulations, but i don't know anything about the dual
monitors. |
there are plenty of threads on here about it, many from me. also try the Xinerama howto at tldp.org my sample dual head setup should be here... http://thirtythreeandathird.net/dualhead
you don't *need* Xinerama at all, i don't use it... but that document has all the basic unfo aswell that you will need, |
All times are GMT -5. The time now is 05:03 PM. |