Hi,
i was installing stage and ran into a problem, i'm pretty new to linux, so if you have time to take a look at the problem, thanks in advance.

i was following these instructions from a site:
$ cd player-[VERSION]
$ ./configure --prefix=/opt/player-[VERSION]
$ make
# make install

Now compile Stage. Tell pkgconfig how to find player stuff.

$ export PKG_CONFIG_PATH=/opt/player-[VERSION]/lib/pkgconfig/:$PKG_CONFIG_PATH
$ cd stage-[VERSION]
$ ./configure --prefix=/opt/stage-[VERSION]
$ make
# make install

i got to make and get a huge load of errors, (see yellow highlight), hopefuly someone has an idea what's going on, please help, thanks.


..../tar-files/stage-2.0.2# make
make  all-recursive
make[1]: Entering directory `/home/cdawg/tar-files/stage-2.0.2'
Making all in replace
make[2]: Entering directory `/home/cdawg/tar-files/stage-2.0.2/replace'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/cdawg/tar-files/stage- 2.0.2/replace'
Making all in src
make[2]: Entering directory `/home/cdawg/tar-files/stage-2.0.2/src'
Making all in referees
make[3]: Entering directory `/home/cdawg/tar-files/stage-2.0.2/src/referees'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/cdawg/tar-files/stage-2.0.2/src/referees'
make[3]: Entering directory `/home/cdawg/tar-files/stage-2.0.2/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..  -Wall -I. -I../replace    -Wall -I. -I../replace   -std=c99  -g -O2 -MT gui.lo -MD -MP -MF ".deps/gui.Tpo" -c -o gui.lo gui.c; \
        then mv -f ".deps/gui.Tpo" ".deps/gui.Plo"; else rm -f ".deps/gui.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -I. -I../replace -Wall -I. -I../replace -std=c99 -g -O2 -MT gui.lo -MD -MP -MF .deps/gui.Tpo -c gui.c  -fPIC -DPIC -o .libs/gui.o
In file included from stage_internal.h:18,
                 from gui.c:14:
stage.h:47:63: error: glib.h: No such file or directory
In file included from stage_internal.h:18,
                 from gui.c:14:
stage.h:291: error: syntax error before 'GArray'
stage.h:291: warning: no semicolon at end of struct or union
stage.h:303: error: syntax error before '}' token
stage.h:303: warning: type defaults to 'int' in declaration of 'stg_polygon_t'
stage.h:303: warning: data definition has no type or storage class
.
.
.

In file included from stage_internal.h:21,
                 from gui.c:14:
rtk.h:35:21: error: gtk/gtk.h: No such file or directory
In file included from stage_internal.h:21,
                 from gui.c:14:
rtk.h:150: error: syntax error before 'GtkWidget'
rtk.h:150: warning: no semicolon at end of struct or union
rtk.h:152: warning: type defaults to 'int' in declaration of 'bg_pixmap'
.
.
.

In file included from gui.c:14:
stage_internal.h:47: error: syntax error before 'stg_rtk_canvas_t'
stage_internal.h:47: warning: no semicolon at end of struct or union
stage_internal.h:50: warning: type defaults to 'int' in declaration of 'frame'
stage_internal.h:50: warning: data definition has no type or storage class
stage_internal.h:51: error: syntax error before '*' token
.
.
.
stage_internal.h:609: error: syntax error before 'mod'
gui.c:32: error: syntax error before '*' token
gui.c:32: warning: type defaults to 'int' in declaration of 'fig_debug_rays'
gui.c:32: warning: data definition has no type or storage class
gui.c:33: error: syntax error before '*' token
.
.
.
gui.c :1173: error: 'grid' undeclared (first use in this function)
gui.c:1176: error: dereferencing pointer to incomplete type
make[3]: *** [gui.lo] Error 1
make[3]: Leaving directory `/home/cdawg/tar-files/stage-2.0.2/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cdawg/tar-files/stage- 2.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cdawg/tar-files/stage-2.0.2'
make: *** [all] Error 2
 




charlie