I am compiling fvwm3 from source on Debian 12 bookworm. I "cd" to the source directory and run "./configure --enable-golang"
All is well until xrandr cannot be found, even though it is installed.
config.log
configure:8877: checking for xrandr >= 1.5
configure:8884: $PKG_CONFIG --exists --print-errors "xrandr >= 1.5"
Package xrandr was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrandr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrandr', required by 'virtual:world', not found
configure:8887: $? = 1
configure:8901: $PKG_CONFIG --exists --print-errors "xrandr >= 1.5"
Package xrandr was not found in the pkg-config search path.
Perhaps you should add the directory containing `xrandr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xrandr', required by 'virtual:world', not found
configure:8904: $? = 1
configure:8918: result: no
Package 'xrandr', required by 'virtual:world', not found
configure:8935: error: *** XRandR not found. Install its header files. ***
$ /usr/bin/xrandr --version
xrandr program version 1.5.1
Server reports RandR version 1.6
Thank you for your guidance!