[MPlayer-users] SVN compiling problem
Alexander Bokovikov
openworld at uralweb.ru
Mon Sep 3 10:19:02 CEST 2007
Hi, All,
Finally I've resolved the nasm, etc. making problem:
-- I've removed cygwin\bin from the PATH
-- I've checked the make.exe versions
-- I've renamed C:\MINGW\bin\make.exe to *.ex
-- I've renamed C:\MINGW\bin\mingw32-make.exe to *.ex
After these actions (I have C:\MSYS\bin\make.exe of version 3.79.1) all
compilations look OK.
Nevertheless MPlayer making gives the next error and fails:
===================><8=====================
make[1]: *** No rule to make target `native/RTjpegN.o', needed by
`libmpcodecs.a'. Stop.
===================><8=====================
What could be the reason?
Appreciate it, if anybody will check my compilation logs at:
MPlayer ./configure screen output:
http://home.bokovikov.com/mplayer/configure.txt
MPlayer configure.log:
http://home.bokovikov.com/mplayer/configure.log
MPlayer make screen output:
http://home.bokovikov.com/mplayer/make.txt
Appreciate any help!
Thanks.
----- Original Message -----
From: <mplayer-users-request at mplayerhq.hu>
To: <mplayer-users at mplayerhq.hu>
Sent: Sunday, September 02, 2007 12:22 AM
Subject: MPlayer-users Digest, Vol 45, Issue 5
> Send MPlayer-users mailing list submissions to
> mplayer-users at mplayerhq.hu
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> or, via email, send a message with subject or body 'help' to
> mplayer-users-request at mplayerhq.hu
>
> You can reach the person managing the list at
> mplayer-users-owner at mplayerhq.hu
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MPlayer-users digest..."
>
>
> Today's Topics:
>
> 1. Re: SVN compiling problem (Henry Garcia)
> 2. Re: SVN compiling problem (JonY)
> 3. Re: Is dvdnav separate from mplayer? (Jack Smith)
> 4. dvdnav (Contact Liaison)
> 5. Re: Is dvdnav separate from mplayer? (Krzysztof Duchnowski)
> 6. Re: Is dvdnav separate from mplayer? (Jack Smith)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 1 Sep 2007 12:45:53 -0400
> From: "Henry Garcia" <defsyn at gmail.com>
> Subject: Re: [MPlayer-users] SVN compiling problem
> To: "MPlayer usage questions, feature requests, bug reports"
> <mplayer-users at mplayerhq.hu>
> Message-ID:
> <a387ed40709010945k5c03f814t374ee3b60f07dc49 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9/1/07, John Brown <johnbrown105 at hotmail.com> wrote:
>>
>> Alexander Bokovikov wrote:
>> >
>> >JonY wrote:
>> >>The configure eval problem is possibly
>> >>caused by a bug in bash, use the snapshot bash 3.1...
>> >
>> >... I've untar-ed it, but where to copy the files to? I've copied them
>> into
>> >the MSYS\bin, etc. direstories. Is it correct?
>>
>> Yes.
>>
>> > Anyway the same error is appeared. Then I've opened "configure" file,
>> >have found that line (2315) and have changed the tilda signs to quotes.
>>
>> That was probably the wrong thing to do. By tilde, I assume you mean
>> ` (backquote). When a command is enclosed in backquotes, the screen
>> output of the command is converted to a string which can be, for example,
>> stored in a variable.
>>
>> ><cut>
>> >===============><8================
>> >gcc -o ndisasm.exe ndisasm.o disasm.o sync.o nasmlib.o insnsd.o
>> >nroff -man nasm.1 > nasm.man
>> >/cygdrive/c/cygwin/bin/groff: can't find `DESC' file
>> >/cygdrive/c/cygwin/bin/groff:fatal error: invalid device `ascii'
>> >c:\MinGW\bin\make.exe: *** [nasm.man] Error 3
>> >===============><8================
>> >
>> >I see some references to cygwin here... Is it correct? Yes, I installed
>> >cygwin earlier, but then I installed MinGW. Maybe I need to remove
>> >cygwin
>> >from the system? If so, then how to do it correctly? AFAIK, cygwin has
>> >no
>> >uninstaller.
>> >
>>
>> No need to remove Cygwin totally. Just remove the Cygwin bin directory
>> from
>> your %PATH%, and run configure again.
>
>
> You really should read the MingwHOWTO.txt and save yourself a lot of
> headaches. There are a lot of good pointers on how to build the necessary
> libraries like ./configure --disable-shared --prefix=/mingw
>
> I don't know if there is a "correct"
>> way, but you can simply delete the entire Cygwin folder. I do not think
>> that
>> Cygwin makes entries in the Registry,
>
>
> Check the software section HKEY_Current_USER, HKEY_Current_CONFIG. You'll
> find the Cygnus Solutions Entry in the registry. Again, Cygwin has its
> own
> documentation on how to install and remove their software. You might be
> better off reading their documentation instead of asking on this list.
>
> or copies files to \WINDOWS\SYstem32
>>
>> >>I wasn't aware that Mplayer uses nasm!? Does it?
>> >
>> >As far as I see, LAME uses it...
>>
>> xvidcore also uses nasm.
>>
>> You mentioned in an earlier post that you used "the latest version
>> available".
>> I have never tried 0.99.01 (if that is the one that you mean), but I had
>> no
>> problem building 0.98.39. I am using make 3.79.1.
>
>
> Nasm 98.38 and 98.39 compile and work with mplayer
>
> But if you really enjoy beating your head against the wall, disregard all
> advice to read and follow the advice on the
> MingwHOWTO.txt<http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt>
>
> http://www.mplayerhq.hu/MPlayer/releases/win32/contrib/MPlayer-MinGW-Howto.txt
>
> There is another caveat you have to watch when compiling with Windows
> Mingw
> even if you follow the advice on the HOWTO.
>
> What's your user name in mingw?
>
> If there are any spaces such as in the following: Joe Blow at mycomputer ~.
>
> This will cause compile problems with mplayer. Just change back into the
> home directory and make a directory with no spaces: e.g.
> /c/msys/1.0/home/JoeBlow and move your sources back into that directory
> and
> compile from there or just change your username: e.g. Joe_Blow.
>
>
> _________________________________________________________________
>> Can you find the hidden words? Take a break and play Seekadoo!
>> http://club.live.com/seekadoo.aspx?icid=seek_hotmailtextlink1
>>
>>
>> _______________________________________________
>> MPlayer-users mailing list
>> MPlayer-users at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 02 Sep 2007 00:45:08 +0800
> From: JonY <10walls at gmail.com>
> Subject: Re: [MPlayer-users] SVN compiling problem
> To: "MPlayer usage questions, feature requests, bug reports"
> <mplayer-users at mplayerhq.hu>
> Message-ID: <46D99714.4010403 at gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Henry Garcia wrote:
>> On 8/31/07, Alexander Bokovikov <openworld at uralweb.ru> wrote:
>>> Hi,
>>>
>>> JonY wrote:
>>>
>>>> Anyway, the new tools are available here, get the .tar.gz packages
>>>> http://sourceforge.net/project/showfiles.php?group_id=2435
>>> Thanks, have done it.
>>>
>>>> The configure eval problem is possibly
>>>> caused by a bug in bash, use the snapshot bash 3.1, also
>>>> from the above site.
>>> I've downloaded it, but have no idea of how to install it. I've untar-ed
>>> it,
>>> but where to copy the files to? I've copied them into the MSYS\bin, etc.
>>> direstories. Is it correct? Anyway the same error is appeared. Then I've
>>> opened "configure" file, have found that line (2315) and have changed
>>> the
>>> tilda signs to quotes. Now I see another behaviour:
>>>
>>> ===============><8================
>>> checking whether make sets $(MAKE)...
>>> ac_maketemp=\c:/MinGW/bin/make.exe"
>>> no
>>> ===============><8================
>>>
>>> Some strange string appears, but at least there are no errors. Have you
>>> any
>>> idea why tilda signs here produce an error, though they work correctly
>>> at
>>> other places?
>>>
>>> Then I'm calling "make", it goes and some new errors appear at the end
>>> of
>>> listing:
>>
>>
>> Maybe you need to compile nasm from source and install it. Follow the
>> instructions from the MingwHowTO.txt file on the mplayerhq.hu site. You
>> should find a link to it inside the html documention.
>>
>> Also, you should probably use the old make-3.79.1.exe instead of the new
>> make-3.81.exe. Check the version of make that you are using:
>> make --version.
>> The make-3.81.exe fails when including live555 in the build. That's
>> probably
>> the source of the "invalid device 'ascii'" error.
>>
>> ===============><8================
>>> gcc -o ndisasm.exe ndisasm.o disasm.o sync.o nasmlib.o insnsd.o
>>> nroff -man nasm.1 > nasm.man
>>> /cygdrive/c/cygwin/bin/groff: can't find `DESC' file
>>> /cygdrive/c/cygwin/bin/groff:fatal error: invalid device `ascii'
>>> c:\MinGW\bin\make.exe: *** [nasm.man] Error 3
>>> ===============><8================
>>>
>>> I see some references to cygwin here... Is it correct? Yes, I installed
>>> cygwin earlier, but then I installed MinGW. Maybe I need to remove
>>> cygwin
>>> from the system?
>>
>
> Hi,
>
> You should not mix Cygwin and MinGW executables. You can have both
> Cygwin and MinGW installed at the same time by removing their respective
> bin directories from your Windows PATH environmental variable.
>
> Also, the MinGW installer warns about placing make.exe under
> C:\MinGW\bin, you should move it to C:\msys\1.0\bin.
>
> As far as groff in concerned, you can use the Gnuwin32 version and place
> the .exe programs in C:\msys\1.0\local\bin, don't forget the dep
> package, it contains the needed dlls. If you don't need the nasm docs,
> you can skip groff entirely, just don't let nasm configure find it (make
> sure "which groff" command doesn't point to it).
>
> Building nasm should be straight forward ./configure && make.
>
>>
>> Cygwin is not the problem. You need to compile and install nasm: check
>> out
>> ftp.gnu.org for the nasm source code. Again, read the MingwHOWTO.txt file
>> linked to in the html documentation. When all else fails, please read the
>> instruction manual.
>>
>> If so, then how to do it correctly? AFAIK, cygwin has no
>>> uninstaller.
>>>
>>>> I wasn't aware that Mplayer uses nasm!? Does it?
>>
>>
>> Yes, read the HOWTO file.
>
> Yes, agreed, nasm is needed but mplayer doesn't need it directly, lame
> and xvid needed it.
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 1 Sep 2007 13:09:19 -0400
> From: "Jack Smith" <jack.delbert at gmail.com>
> Subject: Re: [MPlayer-users] Is dvdnav separate from mplayer?
> To: "MPlayer usage questions, feature requests, bug reports"
> <mplayer-users at mplayerhq.hu>
> Message-ID:
> <ed5bd5f20709011009p6ee2702ei93c9cccadf804ba4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9/1/07, Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
>> Jack Smith wrote:
>>
>> >
>> > [root at natsumi mplayer]# mplayer dvd://1 -dvd-device /dev/scd0
>> > mplayer: error while loading shared libraries: libdvdnavmini.so:
>> > cannot open shared object file: No such file or directory
>> >
>> >
>> > Thanks,
>> > Jack
>> >
>>
>> add /usr/local/lib either to LD_LIBRARY_PATH or to /etc/ld.so.conf
>> and re-run ldconfig. What broken distribution doesn't include
>> /usr/local/lib to the default library path??
>
> I'm running bash in Fedora Core 7 :-)
>
> I don't even have a library path. If I add it and run ldconfig then
> mplayer runs, but I just get a black screen until I give up and kill
> it.
>
> [root at natsumi ~]# LD_LIBRARY_PATH=/usr/local/lib
> [root at natsumi ~]# export LD_LIBRARY_PATH
> [root at natsumi ~]# ldconfig
> [root at natsumi ~]# mplayer dvd:// -dvd-device
> /dev/scd0 -mouse-movements
> MPlayer dev-SVN-r24316-4.1.2 (C) 2000-2007 MPlayer Team
> CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping:
> 2)
> CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>
> Playing dvd://.
> There are 29 titles on this DVD.
> There are 24 chapters in this DVD title.
> There are 2 angles in this DVD title.
> audio stream: 0 format: ac3 (stereo) language: en aid: 128.
> audio stream: 1 format: ac3 (stereo) language: ja aid: 129.
> number of audio channels on disk: 2.
> subtitle ( sid ): 0 language: en
> subtitle ( sid ): 1 language: en
> number of subtitles on disk: 2
> MPEG-PS file format detected.
> VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0
> kbyte/s)
> ==========================================================================
> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
> VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
> Could not find matching colorspace - retrying with -vf scale...
> Opening video filter: [scale]
> The selected video_out device is incompatible with this codec.
> Try appending the scale filter to your filter list,
> e.g. -vf spp,scale instead of -vf spp.
> VDecoder init failed :(
> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
> ==========================================================================
> ==========================================================================
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==========================================================================
> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [xv] 720x480 => 854x480 Planar YV12
> New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 1 0
> Please supply the text font file (~/.mplayer/subfont.ttf).
> subtitle font: load_sub_face failed.
> A: 0.7 V: 0.6 A-V: 0.024 ct: 0.032 13/ 11 ??% ??% ??,?% 1 0
> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
> framerate.
> A: 5.8 V: 5.8 A-V: 0.017 ct: 0.109 139/136 6% 0% 0.9% 1 0
>
> Sigh. Any help cheerfully accepted.
> Jack
>
> --
> English doesn't borrow from other languages -- English follows other
> languages down dark alleys and takes what it wants.
>
>
> ------------------------------
>
> Message: 4
> Date: Sat, 1 Sep 2007 12:15:39 -0500
> From: "Contact Liaison" <vesstbullftnow at gmail.com>
> Subject: [MPlayer-users] dvdnav
> To: mplayer-users at mplayerhq.hu
> Message-ID:
> <254590a10709011015n7b117fccp95a942d81f0aedf4 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> how do you get this feature to work, I just ran a compiled version of
> Windows RC1 and dvdnav does not work, is there a setting to make the menus
> appear? Thank you in advance for any support.
>
>
> ------------------------------
>
> Message: 5
> Date: Sat, 01 Sep 2007 19:27:42 +0200
> From: Krzysztof Duchnowski <amidk75 at gmail.com>
> Subject: Re: [MPlayer-users] Is dvdnav separate from mplayer?
> To: "MPlayer usage questions, feature requests, bug reports"
> <mplayer-users at mplayerhq.hu>
> Message-ID: <46D9A10E.7040903 at gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Nico Sabbi pisze:
>
>>>> [root at natsumi mplayer]# mplayer dvd://1 -dvd-device /dev/scd0
>>>> mplayer: error while loading shared libraries: libdvdnavmini.so:
>>>> cannot open shared object file: No such file or directory
>
>>> I have no any issues thought that I'm running full libdvdnav2 not a mini
>>> version and I'm useing "mplayer dvdnav://1 -dvd-device /dev/hda"
>
>
>> you didn't RTFML very well. You need libdvdnav, not libdvdnav2
>
> mkey, I haven't any problem with dvdnav when I used libdvdnav2 from
> mplayer svn but when I downed libdvdnav, compiled it and installed it
> then mplayer config find it that it is version 4.1.1 but have no support
> for it:
> ============ Checking for DVD support (libdvdnav) ============
> 4.1.1
> Usage: dvdnav-config [OPTIONS] [LIBRARIES]
> Options:
> [--prefix[=DIR]]
> [--version]
> [--libs]
> [--cflags]
>
> Result is: no
>
>
> But with libdvdnav2 I havent any problem - so?
>
> --
> Krzysztof 'DK75' Duchnowski
> GetFirefox - http://www.mozilla.com/firefox/
> Konfiguracja UTF-8 dla czytnik?w - http://evil.pl/pip/utf/
>
>
> ------------------------------
>
> Message: 6
> Date: Sat, 1 Sep 2007 14:22:57 -0400
> From: "Jack Smith" <jack.delbert at gmail.com>
> Subject: Re: [MPlayer-users] Is dvdnav separate from mplayer?
> To: "MPlayer usage questions, feature requests, bug reports"
> <mplayer-users at mplayerhq.hu>
> Message-ID:
> <ed5bd5f20709011122s1330b1a8ud300c472c77bbdea at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 9/1/07, Jack Smith <jack.delbert at gmail.com> wrote:
>> On 9/1/07, Nico Sabbi <nicola_sabbi at fastwebnet.it> wrote:
>> > Jack Smith wrote:
>> >
>> > >
>> > > [root at natsumi mplayer]# mplayer dvd://1 -dvd-device /dev/scd0
>> > > mplayer: error while loading shared libraries: libdvdnavmini.so:
>> > > cannot open shared object file: No such file or directory
>> > >
>> > >
>> > > Thanks,
>> > > Jack
>> > >
>> >
>> > add /usr/local/lib either to LD_LIBRARY_PATH or to /etc/ld.so.conf
>> > and re-run ldconfig. What broken distribution doesn't include
>> > /usr/local/lib to the default library path??
>>
>> I'm running bash in Fedora Core 7 :-)
>>
>> I don't even have a library path. If I add it and run ldconfig then
>> mplayer runs, but I just get a black screen until I give up and kill
>> it.
>>
>> [root at natsumi ~]# LD_LIBRARY_PATH=/usr/local/lib
>> [root at natsumi ~]# export LD_LIBRARY_PATH
>> [root at natsumi ~]# ldconfig
>> [root at natsumi ~]# mplayer dvd:// -dvd-device
>> /dev/scd0 -mouse-movements
>> MPlayer dev-SVN-r24316-4.1.2 (C) 2000-2007 MPlayer Team
>> CPU: AMD Athlon(tm) 64 Processor 3500+ (Family: 15, Model: 47, Stepping:
>> 2)
>> CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
>> Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
>>
>> Playing dvd://.
>> There are 29 titles on this DVD.
>> There are 24 chapters in this DVD title.
>> There are 2 angles in this DVD title.
>> audio stream: 0 format: ac3 (stereo) language: en aid: 128.
>> audio stream: 1 format: ac3 (stereo) language: ja aid: 129.
>> number of audio channels on disk: 2.
>> subtitle ( sid ): 0 language: en
>> subtitle ( sid ): 1 language: en
>> number of subtitles on disk: 2
>> MPEG-PS file format detected.
>> VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 9800.0 kbps (1225.0
>> kbyte/s)
>> ==========================================================================
>> Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
>> VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
>> Could not find matching colorspace - retrying with -vf scale...
>> Opening video filter: [scale]
>> The selected video_out device is incompatible with this codec.
>> Try appending the scale filter to your filter list,
>> e.g. -vf spp,scale instead of -vf spp.
>> VDecoder init failed :(
>> Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
>> Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
>> ==========================================================================
>> ==========================================================================
>> Opening audio decoder: [liba52] AC3 decoding with liba52
>> Using SSE optimized IMDCT transform
>> Using MMX optimized resampler
>> AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
>> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
>> ==========================================================================
>> AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
>> Starting playback...
>> VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
>> VDec: using Planar YV12 as output csp (no 0)
>> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
>> VO: [xv] 720x480 => 854x480 Planar YV12
>> New_Face failed. Maybe the font path is wrong. 2 ??% ??% ??,?% 1 0
>> Please supply the text font file (~/.mplayer/subfont.ttf).
>> subtitle font: load_sub_face failed.
>> A: 0.7 V: 0.6 A-V: 0.024 ct: 0.032 13/ 11 ??% ??% ??,?% 1 0
>> demux_mpg: 24000/1001fps progressive NTSC content detected, switching
>> framerate.
>> A: 5.8 V: 5.8 A-V: 0.017 ct: 0.109 139/136 6% 0% 0.9% 1 0
>>
>> Sigh. Any help cheerfully accepted.
>> Jack
>
> Sorry, mplayer dvd:// works just fine when I changed out my DVD and it
> works on my AVIs too. mplayer dvdnav:// works as well as it ever has
> (it shows the menu, but I can't do anything with it) But at least I
> can use mplayer again.
>
> Jack
>
> --
> English doesn't borrow from other languages -- English follows other
> languages down dark alleys and takes what it wants.
>
>
> ------------------------------
>
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
> End of MPlayer-users Digest, Vol 45, Issue 5
> ********************************************
More information about the MPlayer-users
mailing list