LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-18-2003, 10:33 PM   #1
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Rep: Reputation: 0
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?
 
Old 05-19-2003, 04:18 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 05-19-2003, 12:40 PM   #3
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 05-19-2003, 12:44 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
(e.g. /opt/bin/gtk-config)
 
Old 05-19-2003, 07:49 PM   #5
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 05-19-2003, 07:56 PM   #6
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
find / -name gtk-config -print
 
Old 05-19-2003, 11:23 PM   #7
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
will find discover something that kfind didnt? whats the difference?
 
Old 05-19-2003, 11:42 PM   #8
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
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.
 
Old 05-20-2003, 01:56 AM   #9
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
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
 
Old 05-20-2003, 10:31 PM   #10
MoreRamenPlease
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake 9.1
Posts: 6

Original Poster
Rep: Reputation: 0
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?
 
Old 05-21-2003, 04:44 AM   #11
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
congratulations, but i don't know anything about the dual
monitors.
 
Old 05-21-2003, 06:18 AM   #12
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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,
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
default monitor on nvidia / dual monitor setup fenderog SUSE / openSUSE 3 05-01-2009 06:36 PM
q: enlightenment dual monitor: one Desktop for each monitor ? steefje Linux - Software 2 02-07-2005 08:27 AM
Booting to wrong Monitor (w/ dual monitor setup) NeoNostalgia Linux - General 1 06-30-2004 02:49 AM
I am a newbie to linux...trying to set up dual monitor with SuSE 9 [misanthropes] Linux - Newbie 7 02-05-2004 12:19 PM
RH 7.3, dual monitor, dual screensaver configuration a-wolfe Linux - Software 0 11-18-2003 10:05 AM


All times are GMT -5. The time now is 05:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration