[MPlayer-users] another FreeBSD problem..

Bohdan Horst nexus at hoth.amu.edu.pl
Mon Dec 11 02:53:44 CET 2006


after latest (imho revision 21574) changes in configure now
mplayer/mencoder compiled without any problems, but also without X11.. 

i checked this a few times (rm configure    and resvn)..




./configure :

Checking for X11 headers presence ... yes (using /usr/X11/include)
Checking for X11 ... no (check if the dev(el) packages are installed)
Checking for DPMS ... no
Checking for Xv ... no
Checking for XvMC ... no
Checking for Xinerama ... no
Checking for Xxf86vm ... no
Checking for XF86keysym ... no
Checking for DGA ... no
Checking for OpenGL ... no
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for SDL ... yes (using sdl-config)

Enabled optional drivers:
Video output: cvidix md5sum sdl gif89a pnm jpeg png mpegpes(file) svga caca aa tga



(and same on different FreeBSD box)
Video output: cvidix md5sum sdl gif89a pnm jpeg png mpegpes(file) svga aa tga








configure.log:
[...]
============ Checking for X11 headers presence ============
Result is: yes (using /usr/X11/include)
##########################################
============ Checking for X11 ============

#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -lXext -lX11 -lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/X11R6/lib -lXext -lX1
1 -lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/lib/X11R6 -lXext -lX1
1 -lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory

#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/X11/lib -lXext -lX11
-lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/lib32 -lXext -lX11 -l
pthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/openwin/lib -lXext -l
X11 -lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory

#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/X11R6/lib64 -lXext -l
X11 -lpthread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory


#include <X11/Xlib.h>
#include <X11/Xutil.h>
int main(void) { (void) XCreateWindow(0,0,0,0,0,0,0,0,0,0,0,0); return
0; }

cc -O4 -march=prescott -mtune=prescott -pipe -ffast-math
-fomit-frame-pointer  -I/usr/local/include   -L/usr/local/li
b -liconv -lncurses -lsmbclient   -o /tmp/mplayer-conf--5580.o
/tmp/mplayer-conf--5580.c -L/usr/lib -lXext -lX11 -lpt
hread
/tmp/mplayer-conf--5580.c:1:22: X11/Xlib.h: No such file or directory
/tmp/mplayer-conf--5580.c:2:23: X11/Xutil.h: No such file or directory

ldd /tmp/mplayer-conf--5580.o
ldd: /tmp/mplayer-conf--5580.o: No such file or directory

Result is: no (check if the dev(el) packages are installed)
##########################################












with tiny patch (or use older configure):

--- configure   Sun Dec 10 23:12:48 2006
+++ configure___        Mon Dec 11 02:27:36 2006
@@ -651,8 +651,8 @@
 # resonable to have only /usr/include or only /usr/local/include.

 if freebsd ; then
-  _ld_extra="$_ld_extra -L/usr/local/lib"
-  _inc_extra="$_inc_extra -I/usr/local/include"
+  _ld_extra="$_ld_extra -L/usr/local/lib -L/usr/X11R6/lib"
+  _inc_extra="$_inc_extra -I/usr/local/include -I/usr/X11R6/include"
 fi

 _ldd=ldd


./configure___




Checking for X11 headers presence ... yes (using /usr/X11R6/include)
Checking for X11 ... yes
Checking for DPMS ... yes (using Xdpms 4)
Checking for Xv ... yes
Checking for XvMC ... no
Checking for Xinerama ... yes
Checking for Xxf86vm ... yes
Checking for XF86keysym ... yes
Checking for DGA ... 2 (using DGA 2.0)
Checking for OpenGL ... yes
Checking for GGI ... no
Checking for GGI extension: libggiwmh ... no
Checking for AA ... yes
Checking for CACA ... yes
Checking for SVGAlib ... yes
Checking for SDL ... yes (using sdl-config)

Video output: xvidix cvidix md5sum sdl gif89a pnm jpeg png mpegpes(file) svga caca aa opengl dga xv x11 xover tga

(and same on different FreeBSD box)
Video output: xvidix cvidix md5sum sdl gif89a pnm jpeg png mpegpes(file) svga aa opengl dga xv x11 xover tga




regards





-- 
Bohdan 'Nexus' Horst



More information about the MPlayer-users mailing list