The configure script does not check for the presence of the scrsaver dev package, so if it is not installed build fails after successful configure.
Lack of details to solve this bug > 2 years old.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.