problem with xrandr when try using MakePanda

hi, i try to install Panda3d in my linux(Zenwalk)
i install Xrandr from the repository and the library too(not compiling from the source just install the binary package)
and then, when i use MakePanda i recive this error:

[ 46%] Building C++ object built/tmp/x11display_composite.o
In file included from panda/src/x11display/x11GraphicsPipe.cxx:24,
                 from panda/src/x11display/x11display_composite1.cxx:2,
                 from panda/src/x11display/x11display_composite.cxx:1:
/usr/include/X11/extensions/Xrandr.h:32:34: error: X11/extensions/randr.h: No such file or directory
In file included from panda/src/x11display/x11GraphicsPipe.cxx:24,
                 from panda/src/x11display/x11display_composite1.cxx:2,
                 from panda/src/x11display/x11display_composite.cxx:1:
/usr/include/X11/extensions/Xrandr.h:62: error: 'SubpixelOrder' does not name a type
/usr/include/X11/extensions/Xrandr.h:90: error: 'XConnection' does not name a type
/usr/include/X11/extensions/Xrandr.h:91: error: 'SubpixelOrder' does not name a type
/usr/include/X11/extensions/Xrandr.h:253: error: 'XConnection' does not name a type
/usr/include/X11/extensions/Xrandr.h:254: error: 'SubpixelOrder' does not name a type

so, what should i do? i can’t find xrandr source package to compile and install it.
please help :unamused:

p.s: sorry for my bad english

You need to install the development package of Xrandr. If you already have it, it must be a bug in your distribution of Linux - you should try and compile with --no-xrandr in that case.

where can i download the source package of xrandr to install development package?
thanks for your help