[MPlayer-users] error
Marko Milosevic
markomarina at ptt.yu
Sun Mar 30 14:47:34 CEST 2003
I have SuSe 8.1 and when i try to compile mplayer with enable gui i get this:
(p.s. i have GTK 1.2.x and GTK 2.1 newest with all libraries already installed)
COMPILER CANT FIND GTK ( --- GUI cant find GTK --error)
============ Checking for GUI ============
============ Checking for XShape extension ============
#include <X11/Xlib.h>
#include <X11/Xproto.h>
#include <X11/Xutil.h>
#include <X11/extensions/shape.h>
#include <stdlib.h>
int main(void) {
char *name = ":0.0";
Display *wsDisplay;
int exitvar = 0;
int eventbase, errorbase;
if (getenv("DISPLAY"))
name=getenv("DISPLAY");
wsDisplay=XOpenDisplay(name);
if (!XShapeQueryExtension(wsDisplay,&eventbase,&errorbase))
exitvar=1;
XCloseDisplay(wsDisplay);
return exitvar;
}
gcc /tmp/mplayer-conf-6580-2441.c -o /tmp/mplayer-conf-27342-2441.o -I/usr/X11/include -L/usr/X11R6/lib -lXext -lX11 -lnsl
ldd /tmp/mplayer-conf-27342-2441.o
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40022000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40030000)
libnsl.so.1 => /lib/libnsl.so.1 (0x40128000)
libc.so.6 => /lib/libc.so.6 (0x4013d000)
libdl.so.2 => /lib/libdl.so.2 (0x4025b000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Result is: yes
##########################################
============ Checking for gtk version ============
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20030330/cee4e4e3/attachment.htm>
More information about the MPlayer-users
mailing list