media-gfx/sane-frontends don't find sane libraries or headers from media-gfx/sane-backends at configure step and print the following error: checking for sane-config... /usr/bin/sane-config checking for SANE - version >= 1.0.0... no *** Could not run SANE test program, checking why... *** The test program compiled, but did not run. This usually means *** that the run-time linker is not finding SANE or finding the wrong *** version of SANE. If it is not finding SANE, you'll need to set your *** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point *** to the installed location. Also, make sure you have run ldconfig if that *** is required on your system. *** *** If you have an old version installed, it is best to remove it, although *** you may also be able to get things to work by modifying LD_LIBRARY_PATH *** ********************************************************************** ERROR: Couldn't find SANE libraries (sane-backends). Possible reasons: - sane-backends isn't installed (install sane-backends before sane-frontends) - the SANE header files aren't installed (if you installed SANE as RPM make sure you also included the sane-devel RPM) - the SANE libraries can't be found because /usr/local/lib/ isn't searched by the dynamic linker (see INSTALL for details) ********************************************************************** Reproducible: Always
Please attach the build log, config.log, and provide emerge --info.
Created attachment 895235 [details] emerge --info
Created attachment 895236 [details] build log
Created attachment 900103 [details] emerge --info same problem
The configure fails because the test uses is missing a #include <stdlib.h> I'll upload a patch and ebuild that fixes it
Created attachment 903172 [details, diff] Patch to fix the configure testing for the sane-backend libraries Signed-off-by: Stephane Bakhos <nuitari@nuitari.net>
Created attachment 903173 [details] ebuild that contains what's needed to fix the socket.h issue in sanei_debug Signed-off-by: Stephane Bakhos <nuitari@nuitari.net>
I saw this but then realized that I don't use the frontends. From the looks of it, there's a newer debian release with patches for this issue.