Hi,<br><br>I downloaded source from git repositories (sane-backends and sane-frontends) and tired to compile them.<br><br>I have Ubuntu 9.10, needed dev library packages were there.<br><br>sane-backends configure, make, make install was fine.<br>
sane-frontends configure failed.<br><br>I traced problem down to /user/local/bin/sane-config having line:<br>LIBS=" -ldl -lv4l1 -lm -ltiff -ljpeg -lgphoto2 -lgphoto2_port -lexif -lm -lusb -lusb @REGMGR_LIBS@"<br>
<br>When I deleted @REGMGR_LIBS@ from that line, then sane-frontends configure run successfully. I didn't care about graphical frontends, so configure disabled GUI. Previously gcc tried to find that file and failed to compile some tests.<br>
<br>So, my first question - Is it normal to have something like @REGMGR_LIBS@ unreplaced with some text after sane-backends make install?<br><br>Then I got to second problem while making sane-frontends - compiling scanadf.c failed, make reported error:<br>
scanadf.c:995: error: ‘SANE_STATUS_WARMING_UP’ undeclared (first use in this function)<br><br>Source for SANE_STATUS_WARNING_UP undeclared problem was in /usr/local/include/sane/sane.h (installed by make install in sane-backends) on line 74. Missing define is deactivated with #if 0 line above. When I changed "#if 0" to "#if 1" and enabled following two #define declarations, sane-frontends make was successful finally.<br>
<br>Is it supposed to be so, that user needs to manually change something in installed files to make sane successfully? Or I found a feature or bug?<br><br>Best regards,<br>Ilmars Poikans<br>