hi guys im new to linux finding it ok at the mo

anyway:

i have succesfully installled compiz on suse 10.1 kde and cube etc is working. i am trying to get the 3d plugin working .

i am logged in as superuser installed gcc it downloads etc ok its just when it comes to the make command i have tried other plugins but the same happens

any ideas

error message in full


Code:
linux-qyuh:/home/teeach/animation/3d # make
compiling : 3d.c -> build/lib3d.loPackage x11 was not found in the pkg-config search path.
Perhaps you should add the directory containing `x11.pc'
to the PKG_CONFIG_PATH environment variable
No package 'x11' found
Package compiz was not found in the pkg-config search path.
Perhaps you should add the directory containing `compiz.pc'
to the PKG_CONFIG_PATH environment variable
No package 'compiz' found
3d.c:14:20: error: compiz.h: No such file or directory
3d.c:27: error: expected specifier-qualifier-list before 'Bool'
3d.c:77: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'windowIs3D'
3d.c:168: error: expected ')' before '*' token
3d.c:225: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintWindow'
3d.c:259: error: expected ')' before '*' token
3d.c:274: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdPaintScreen'
3d.c:291: error: expected ')' before '*' token
3d.c:477: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitDisplay'
3d.c:501: error: expected ')' before '*' token
3d.c:514: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitScreen'
3d.c:546: error: expected ')' before '*' token
3d.c:563: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInitWindow'
3d.c:643: error: expected ')' before '*' token
3d.c:665: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'tdInit'
3d.c:675: error: expected ')' before '*' token
3d.c:682: error: expected ')' before '*' token
3d.c:689: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'opacityVTable'
3d.c:712: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
make: *** [build/lib3d.lo] Error 1