[MPlayer-users] Can't biuild the latest svn

Masaru Nomiya nomiya at galaxy.dti.ne.jp
Sun Jan 28 11:49:10 CET 2007


Hello,

In the Message; 

  Subject    : Re: [MPlayer-users] Can't biuild the latest svn
  Message-ID : <8764ark98z.wl%nomiya at galaxy.dti.ne.jp>
  Date & Time: Sun, 28 Jan 2007 14:31:24 +0900

[Me] == Masaru Nomiya <nomiya at galaxy.dti.ne.jp> has written:

Me> The configure.log shows as follows;

Me> [...]
Me> ============ Checking for ftello() ============

Me> #include <stdio.h>
Me> #include <sys/types.h>
Me> int main (void) { ftello(stdin); return 0; }

Me> cc -W -Wall -Wno-unused-parameter -O2 -march=k8 -mtune=k8  -p -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/lib64/live/liveMedia/include -I/usr/lib64/live/BasicUsageEnvironment/include -I/usr/lib64/live/UsageEnvironment/include -I/usr/lib64/live/groupsock/include -I/usr/include/directfb -I/usr/X11/include  -I/usr/include/SDL -D_REENTRANT -I/opt/kde3/include/artsc -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include  -I/usr/include -I/usr/include/dvdnav  -I/usr/include/freetype2 -I/usr/include -I/liveMedia/include              -I/UsageEnvironment/include              -I/BasicUsageEnvironment/include              -I/groupsock/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/include/libpng12 -I/opt/gnome/include/gtk-2.0 -I/opt/gnome/lib64/gtk-2.0/include -I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include   -!
 lncu!
Me>  rses -lsmbclient -lpng -lz -ljpeg -lungif -lasound -ldl -lpthread -L/usr/lib64 -ldvdnav -lpthread -lcdda_interface -lcdda_paranoia -lfreetype -lz -lfontconfig  -L/usr/lib64 -lfribidi -lz -lmad  -ltheora -logg   -ldts -lmpcdec /liveMedia/libliveMedia.a            /groupsock/libgroupsock.a            /UsageEnvironment/libUsageEnvironment.a            /BasicUsageEnvironment/libBasicUsageEnvironment.a            -lstdc++   -ldirectfb -L/usr/X11R6/lib64 -lXext -lX11  -lpthread -lXv -lXinerama -lXxf86vm -lXxf86dga -lGL -ldl -laa -L/usr/lib64 -lSDL -lpthread -L/opt/kde3/lib64 -ldl -lartsc -lpthread -L/opt/gnome/lib64 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -L/usr/lib64 -lesd -laudiofile -lm -lasound -ljack -lfaac -L/usr/X11R6/lib64 -L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lfreetype -lfontconfig -lXrender -lX11 -lXext -lpng12 -lz -lglitz -lm   -L/opt/gnome/lib6!
 4 -l!
Me>  glib-2.0    -ltwolame -lfaac -o /tmp/mplayer-conf-8916-31575.o /tmp/mp
Me> layer-conf-27445-31575.c
Me> cc: /liveMedia/libliveMedia.a: No such file or directory
Me> cc: /groupsock/libgroupsock.a: No such file or directory
Me> cc: /UsageEnvironment/libUsageEnvironment.a: No such file or directory
Me> cc: /BasicUsageEnvironment/libBasicUsageEnvironment.a: No such file or directory

Me> ldd /tmp/mplayer-conf-8916-31575.o
Me> ldd: /tmp/mplayer-conf-8916-31575.o: No such file or directory

Me> Result is: no 
Me> ##################################################################

Me> Why?

Me> cc: /liveMedia/libliveMedia.a: No such file or directory
Me> cc: /groupsock/libgroupsock.a: No such file or directory
Me> cc: /UsageEnvironment/libUsageEnvironment.a: No such file or directory
Me> cc: /BasicUsageEnvironment/libBasicUsageEnvironment.a: No such file or directory

Me> I tried to execute ./configure with 

Me>   --with-extralibdir=/usr/lib64/live/liveMedia:/usr/lib64/live/groundsock:/usr/lib64/live/UsageEnvironment:/usr/lib64/live/BasicUsageEnvironment

Me> But, no change in configure.log, and make abnded at same point as above.

Me> FYI. by ./configure without live related option, I can compile.

Me> What's worng with me?

By applying the below patch, I could build svn.

--- configure.orig      2007-01-28 19:41:01.000000000 +0900
+++ configure   2007-01-28 19:00:01.000000000 +0900
@@ -6099,8 +6099,8 @@
 
   _live=no
   for I in $_inc_extra "-I$_libdir/live" "-I/usr/lib/live" "-I/usr/local/live" "-I/usr/local/lib/live" ; do
-    cxx_check $I/liveMedia/include $I/UsageEnvironment/include \
-      $I/groupsock/include && _livelibdir=`echo $I| sed s/-I//` && \
+    cxx_check $I/usr/lib64/live/liveMedia/include $I/usr/lib64/live/UsageEnvironment/include \
+      $I/usr/lib64/live/groupsock/include && _livelibdir=`echo $I| sed s/-I//` && \
       _live=yes && break
   done
   if test "$_live" != yes ; then
@@ -6112,15 +6112,15 @@
 if test "$_live" = yes && test "$_network" = yes ; then
   _res_comment="using $_livelibdir"
   _def_live='#define STREAMING_LIVE555 1'
-  _ld_extra="$_ld_extra $_livelibdir/liveMedia/libliveMedia.a \
-           $_livelibdir/groupsock/libgroupsock.a \
-           $_livelibdir/UsageEnvironment/libUsageEnvironment.a \
-           $_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a \
+  _ld_extra="$_ld_extra $_livelibdir/usr/lib64/live/liveMedia/libliveMedia.a \
+           $_livelibdir/usr/lib64/live/groupsock/libgroupsock.a \
+           $_livelibdir/usr/lib64/live/UsageEnvironment/libUsageEnvironment.a \
+           $_livelibdir/usr/lib64/live/BasicUsageEnvironment/libBasicUsageEnvironment.a \
            -lstdc++"
-  _inc_extra="$_inc_extra -I$_livelibdir/liveMedia/include \
-             -I$_livelibdir/UsageEnvironment/include \
-             -I$_livelibdir/BasicUsageEnvironment/include \
-             -I$_livelibdir/groupsock/include"
+  _inc_extra="$_inc_extra -I$_livelibdir/usr/lib64/live/liveMedia/include \
+             -I$_livelibdir/usr/lib64/live/UsageEnvironment/include \
+             -I$_livelibdir/usr/lib64/live/BasicUsageEnvironment/include \
+             -I$_livelibdir/usr/lib64/live/groupsock/include"
  _inputmodules="live555 $_inputmodules"
 elif test "$_live_dist" = yes && test "$_network" = yes ; then
   _res_comment="using distribution version"

Regards,

---
  Masaru Nomiya       mail-to: nomiya @ galaxy.dti.ne.jp

          "Bill! You married with Computers.
           Not with Me!"
          "No..., with money."



More information about the MPlayer-users mailing list