opentoonz / GTS

GTS does Trace after Scan
https://opentoonz.github.io/download/gts.html
BSD 3-Clause "New" or "Revised" License
65 stars 15 forks source link

configure: error: sane-config is required #139

Open superseed77 opened 5 years ago

superseed77 commented 5 years ago

Hello Installing on ubuntu 18.04LTS I have this when compiling

checking for pthread_create in -lpthread... yes checking for fltk-config... /usr/bin/fltk-config checking sane/sane.h usability... yes checking sane/sane.h presence... yes checking for sane/sane.h... yes checking for sane-config... no configure: error: sane-config is required

Althought I've installe sane via sudo apt-get install sane sane-utils libsane-extras xsane

Any help ?

masafumi-inoue commented 5 years ago

Did you install libsane-dev?

mrwm commented 5 years ago

I'm also able to recreate the issue above with Debian 11 (currently sid). Apparently sane-config was removed from the Debian packages some time ago. Here's some details about the removal here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=820964

mrwm commented 5 years ago

Current workaround for this issue is by unpacking the old libsane-dev from jessie and copying sane-config to /usr/bin. I have also uploaded sane-config here: https://gist.github.com/mrwm/6269117b42d71df9dd1b91fafbc9d4ed

callybug commented 1 year ago

Hello. I extracted mrwm's sane-config into /usr/bin/. $ sane-config returned bash: /usr/bin/sane-config: Permission denied. $ sudo sane-config returned sudo: sane-config: command not found. For anybody else with this trouble, $ sudo chmod +x /usr/bin/sane-config fixed it and then the sudo ./configurestep of building GTS worked. make not so much, but user, echometerain, covers that error.