HiHo!

I've downloade xine-lib 0.9.9 and xine-ui 0.9.9
With xine-lib everything went fine .... but the problems start at xine-ui:

./configure goes fine as far as I can tell. make seems to be ok too at first, but after some time I get lots of:

Imlib_types.h:1: X11/Xlib.h: No such file or directory
Imlib_types.h:2: X11/Xutil.h: No such file or directory
Imlib_types.h:3: X11/Xatom.h: No such file or directory
Imlib_types.h:4: X11/Xos.h: No such file or directory
Imlib_types.h:8: X11/extensions/shape.h: No such file or directory
In file included from cache.c:4:
Imlib_private.h:21: X11/Xlib.h: No such file or directory

and so on ....

then I get lots of parse errors:

Imlib_types.h:73: parse error before `Pixmap'
Imlib_types.h:73: warning: no semicolon at end of struct or union
Imlib_types.h:74: warning: type defaults to `int' in declaration of `shape_mask'
Imlib_types.h:74: warning: data definition has no type or storage class
Imlib_types.h:78: parse error before `}'
Imlib_types.h:82: parse error before `Display'
Imlib_types.h:82: warning: no semicolon at end of struct or union
Imlib_types.h:84: parse error before `root'
Imlib_types.h:84: warning: type defaults to `int' in declaration of `root'
Imlib_types.h:84: warning: data definition has no type or storage class

and last but not least lots of:

cache.c:19: dereferencing pointer to incomplete type
cache.c:19: dereferencing pointer to incomplete type
cache.c:19: dereferencing pointer to incomplete type
cache.c:20: dereferencing pointer to incomplete type
cache.c:21: dereferencing pointer to incomplete type
cache.c: In function `dirty_images':
cache.c:33: dereferencing pointer to incomplete type
cache.c:33: dereferencing pointer to incomplete type
cache.c:33: dereferencing pointer to incomplete type
cache.c:33: dereferencing pointer to incomplete type


At the end I get Error 1 and as you can imagine xine doesn't work.

What's the problem here?
As suggestet at the installation instruction I have /usr/local/bin/ in my $PATH and /usr/local/lib/ in my $LIBRARY_PATH

Thnx in advance.