[MPlayer-users] configure's BUG? (Was: Re: Can't build the latestsvn)

John Brown johnbrown105 at hotmail.com
Sat Nov 25 13:53:39 CET 2006


Masaru Nomiya wrote:
>Hello,
>
>In the Message;
>
>   Subject    : Re: [MPlayer-users] Re: Can't build the latest svn
>   Message-ID : <BAY116-F98B0EA1BC39323FE005F99EE00 at phx.gbl>
>   Date & Time: Sat, 25 Nov 2006 05:11:57 -0500
>
>[John] == "John Brown" <johnbrown105 at hotmail.com> has written:
>
>John> --enable-live          enable LIVE555 Streaming Media [autodetect]
>
>It's not "autodetect, actually.
>Have you seen configure.log?"

I configure with:
./configure --prefix=/mingw --enable-static --enable-debug=3 --enable-menu 
--enable-gui --enable-dvdnav --codecsdir=codecs --extra-libs='-Llibdvdcss 
-ldvdcss'  > bugreport/configure.txt 2>&1
--enable-gui and --enable-menu are necessary. I use --enable-dvdnav
because configure did not autodetect the CVS version. It probably is no 
longer necessary.

In my configure.log, there are several unsuccessful attempts to find LIVE555 
until it tries /mingw/lib/live

============ Checking for LIVE555 Streaming Media libraries ============

#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
#error Please upgrade to version 2004.07.19 or later of the "LIVE555 
Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
int main(void) {}

gcc -W -Wall ... -o /tmp/mplayer-conf-25421-728.o 
/tmp/mplayer-conf-740-728.cpp -I/mingw/include//liveMedia/include 
-I/mingw/include//UsageEnvironment/include 
-I/mingw/include//groupsock/include -lstdc++
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/mplayer-conf-740-728.cpp:1:24: error: 
liveMedia.hh: No such file or directory
C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/mplayer-conf-740-728.cpp:3:2: error: 
#error Please upgrade to version 2004.07.19 or later of the "LIVE555 
Streaming Media" libraries - available from <www.live555.com/liveMedia/>

Actually, you will notice that the LIVE555 paths in the first test are badly 
formed.

/mingw/include//liveMedia/include

[more unsuccessful attempts follow]

#include <liveMedia.hh>
#if (LIVEMEDIA_LIBRARY_VERSION_INT < 1090195200)
#error Please upgrade to version 2004.07.19 or later of the "LIVE555 
Streaming Media" libraries - available from <www.live555.com/liveMedia/>
#endif
int main(void) {}

gcc -W -Wall ... -o /tmp/mplayer-conf-25421-728.o 
/tmp/mplayer-conf-740-728.cpp -I/mingw/lib/live/liveMedia/include 
-I/mingw/lib/live/UsageEnvironment/include 
-I/mingw/lib/live/groupsock/include -lstdc++

ldd /tmp/mplayer-conf-25421-728.o
./configure: ldd: command not found

Result is: yes (using /mingw/lib/live)
##########################################


>
>John> When you --enable an autodetect option, you disable
>John> auto-detection. Normally, that means that you also have to specify
>John> options such as --with-extraincdir, --with-extralibdir and so on.
>
>No, I could build with "--enable-live" option only until just 3 days ago.
>
The only changes that I have had to make in the past few days were:
1) remove --with-livelibdir
2) copy live to /mingw/lib/live

>BTW, I changes configure as follows;

<patch snipped>

>By this, I could path through libmpdemux directory.
>

Sorry, I don't know awk, sed, etc, and I don't know how to read a patch 
file, so I cannot understand what you are doing. If you changed configure, I 
would strongly encourage you to use the original configure.

Anyway, if you look at the first line:
for I in $_inc_extra "-I$_libdir/live" "-I/usr/lib/live" "-I/usr/local/live" 
"-I/usr/local/lib/live" ; do
you will see where it looks for live. Previously, you could put live 
anywhere and then specify the absolute path to it using --with-livelibdir, 
but now, the easiest thing to do is put it in one of those directories, and 
it will be autodetected. It works for me.

>BUt, I have got another error.
>
>[...]
>make[1]: Leaving directory `/tmp/mplayer/libass'
>make -C osdep
>make[1]: Entering directory `/tmp/mplayer/osdep'
>windres -o mplayer-rc.o mplayer.rc
>make[1]: windres: Command not found
>make[1]: *** [mplayer-rc.o] Error 127
>make[1]: Leaving directory `/tmp/mplayer/osdep'
>make: *** [osdep/libosdep.a] Error 2
>
>What's windres command? Isn't this a windows command?

Yes. Windres is the resource compiler. In the case of MPlayer, it is used to 
add the MPlayer icon and version information to MPlayer.exe. If you are not 
on Windows and you are not cross-compiling, it should not be doing that.

For now, if you comment out the call to windres, and remove mplayer-rc.o 
from the link command, the build should continue.

_________________________________________________________________
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail




More information about the MPlayer-users mailing list