Today I refreshed wine from CVS. The previous version was from the last week CVS. I tried to build and got a linking problem:
gcc -shared -Wl,-Bsymbolic twain_32.spec.o capability.o ds_audio.o ds_ctrl.o ds_image.o dsm_ctrl.o twain32_main.o -o twain_32.dll.so -L../../dlls -L../../library -lwine -lsane -ldl -lnsl -ljpeg -lm -lm /usr/bin/ld: cannot find -lsane collect2: ld returned 1 exit status make[2]: *** [twain_32.dll.so] Error 1 make[2]: Leaving directory `/mnt/buf/prj/wine/dlls/twain' make[1]: *** [twain/twain_32.dll.so] Error 2 make[1]: Leaving directory `/mnt/buf/prj/wine/dlls' make: *** [dlls] Error 2
I actually have the library installed: $ locate sane.so /usr/lib/libsane.so.1 /usr/lib/libsane.so.1.0.3
My environment - RedHat 7.1 with applied bugfixes and updates.
Installed sane packages: $ rpm -q -a | grep sane sane-1.0.3-10.1 xsane-0.82-3.1
Note, config can't find sane.h. It does not exist on my system. Relevant except from config.log:
configure:6535: checking for sane-config configure:6550: found /usr/bin/sane-config configure:6559: result: sane-config configure:6577: checking for sane/sane.h configure:6587: gcc -E -I/usr/include conftest.c configure:6584:23: sane/sane.h: No such file or directory configure:6593: $? = 1 configure: failed program was: #line 6583 "configure" #include "confdefs.h" #include <sane/sane.h> configure:6612: result: no ... ac_cv_header_sane_sane_h=no ... ac_cv_prog_sane_devel=sane-config ...
Andriy Palamarchuk
__________________________________________________ Do You Yahoo!? Yahoo! Movies - coverage of the 74th Academy Awards� http://movies.yahoo.com/