I fixed it with commit https://git.savannah.gnu.org/cgit/pspp.git/commit/?id=e50dabd2879fa0134bd726412c4229bdaf441c1a
I indeed installed spread-sheet-widget in some install directory. Now the build honours the information from pkgconfig. > I'm guessing that you have libspread-sheet-widget installed somewhere unusual. > > Can you try adding $(SPREAD_SHEET_WIDGET_CFLAGS) to > > src_ui_gui_libwidgets_essential_la_CFLAGS in the file > > src/ui/gui/automake.mk