I have a canon pixma mg3051 printer scanner
While I’m able to print I’m not able to see my scanner in Skanlite
Tried to install scangearmp2 but the build fails
checking for ranlib... (cached) ranlib
./configure: line 13997: syntax error near unexpected token `PACKAGE,'
./configure: line 13997: `PKG_CHECK_MODULES(PACKAGE, $pkg_modules)'
==> ERROR: A failure occurred in build().
Aborting...
I don’t know where you got the source code for building that driver, but there is a complete package in the AUR for all models in that printer/scanner family.