LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   newbie ?s re dual monitor and mplayer (https://www.linuxquestions.org/questions/linux-software-2/newbie-s-re-dual-monitor-and-mplayer-60555/)

MoreRamenPlease 05-18-2003 09:33 PM

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?

acid_kewpie 05-19-2003 03:18 AM

Code:

--with-gtk-config=/usr/lib/ --with-glib-config=/usr/lib/
that's incorrect, it should be either pointing to the gtk-config script / glib-config or at least the bin directory where it lives. you shouldn't need those parameters at all.

libavcodec contains a bunch of different video methods, including divx5 and such, xvid is not there as it is a project, not a format.

MoreRamenPlease 05-19-2003 11:40 AM

Quote:

Originally posted by acid_kewpie
Code:

--with-gtk-config=/usr/lib/ --with-glib-config=/usr/lib/
that's incorrect, it should be either pointing to the gtk-config script / glib-config or at least the bin directory where it lives. you shouldn't need those parameters at all.

libavcodec contains a bunch of different video methods, including divx5 and such, xvid is not there as it is a project, not a format.

ok, i tried it without those commands you said were incorrect, and configure didnt work.

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?

acid_kewpie 05-19-2003 11:44 AM

Quote:

(e.g. /opt/bin/gtk-config)

MoreRamenPlease 05-19-2003 06:49 PM

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.

whansard 05-19-2003 06:56 PM

find / -name gtk-config -print

MoreRamenPlease 05-19-2003 10:23 PM

will find discover something that kfind didnt? whats the difference?

MoreRamenPlease 05-19-2003 10:42 PM

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.

whansard 05-20-2003 12:56 AM

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

MoreRamenPlease 05-20-2003 09:31 PM

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?

whansard 05-21-2003 03:44 AM

congratulations, but i don't know anything about the dual
monitors.

acid_kewpie 05-21-2003 05:18 AM

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.