Hi all,

I was able to run configure as per Louis' instructions. However, I'm getting 
error while running make. This is my console.

Making all in include
make[1]: Entering directory '/home/ismetb/backends/include'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ismetb/backends/include'
Making all in lib
make[1]: Entering directory '/home/ismetb/backends/lib'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ismetb/backends/lib'
Making all in sanei
make[1]: Entering directory '/home/ismetb/backends/sanei'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ismetb/backends/sanei'
Making all in backend
make[1]: Entering directory '/home/ismetb/backends/backend'
make  all-am
make[2]: Entering directory '/home/ismetb/backends/backend'
/bin/bash ../libtool --silent  --tag=CC   --mode=link gcc -Wall -Wextra 
-pedantic -g -O2 -Wl,-z,defs -rpath '/usr/local/lib' -version-number 1:0:29  -o 
libsane.la -rpath /usr/local/lib libsane_la-dll-s.lo ../lib/liblib.la   
libdll_preload.la sane_strstatus.lo ../sanei/sanei_init_debug.lo 
../sanei/sanei_constrain_value.lo ../sanei/sanei_config.lo  -ldl
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x10): undefined 
reference to `sane_canon_dr_init'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x14): undefined 
reference to `sane_canon_dr_exit'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x18): undefined 
reference to `sane_canon_dr_get_devices'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x1c): undefined 
reference to `sane_canon_dr_open'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x20): undefined 
reference to `sane_canon_dr_close'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x24): undefined 
reference to `sane_canon_dr_get_option_descriptor'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x28): undefined 
reference to `sane_canon_dr_control_option'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x2c): undefined 
reference to `sane_canon_dr_get_parameters'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x30): undefined 
reference to `sane_canon_dr_start'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x34): undefined 
reference to `sane_canon_dr_read'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x38): undefined 
reference to `sane_canon_dr_cancel'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x3c): undefined 
reference to `sane_canon_dr_set_io_mode'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x40): undefined 
reference to `sane_canon_dr_get_select_fd'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x54): undefined 
reference to `sane_canon_init'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x58): undefined 
reference to `sane_canon_exit'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x5c): undefined 
reference to `sane_canon_get_devices'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x60): undefined 
reference to `sane_canon_open'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x64): undefined 
reference to `sane_canon_close'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x68): undefined 
reference to `sane_canon_get_option_descriptor'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x6c): undefined 
reference to `sane_canon_control_option'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x70): undefined 
reference to `sane_canon_get_parameters'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x74): undefined 
reference to `sane_canon_start'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x78): undefined 
reference to `sane_canon_read'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x7c): undefined 
reference to `sane_canon_cancel'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x80): undefined 
reference to `sane_canon_set_io_mode'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x84): undefined 
reference to `sane_canon_get_select_fd'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x98): undefined 
reference to `sane_canon630u_init'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0x9c): undefined 
reference to `sane_canon630u_exit'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xa0): undefined 
reference to `sane_canon630u_get_devices'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xa4): undefined 
reference to `sane_canon630u_open'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xa8): undefined 
reference to `sane_canon630u_close'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xac): undefined 
reference to `sane_canon630u_get_option_descriptor'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xb0): undefined 
reference to `sane_canon630u_control_option'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xb4): undefined 
reference to `sane_canon630u_get_parameters'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xb8): undefined 
reference to `sane_canon630u_start'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xbc): undefined 
reference to `sane_canon630u_read'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xc0): undefined 
reference to `sane_canon630u_cancel'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xc4): undefined 
reference to `sane_canon630u_set_io_mode'
./.libs/libdll_preload.a(libdll_preload_la-dll.o):(.data.rel+0xc8): undefined 
reference to `sane_canon630u_get_select_fd'
collect2: error: ld returned 1 exit status
Makefile:3729: recipe for target 'libsane.la' failed
make[2]: *** [libsane.la] Error 1
make[2]: Leaving directory '/home/ismetb/backends/backend'
Makefile:3000: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/ismetb/backends/backend'
Makefile:589: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1

Googled but could not find any solution. What is wrong with this?

Best Regards

Kimden: Ismet Bahadir
Tarih: Tuesday, March 10, 2020 12:30 PM
Kime: '[email protected]' <[email protected]>
Konu: Compile Sane from source

Hi All,

I'm trying to compile Sane from source but I'm getting errors. These are the 
references I follow:


  1.  http://www.sane-project.org/INSTALL.linux

I download the source code but autogen and configure gives error:

ubuntu@ubuntu:~/backends$ ./autogen.sh
autoreconf: Entering directory `.'
autoreconf: running: autopoint --force
Can't exec "autopoint": No such file or directory at 
/usr/share/autoconf/Autom4te/FileUtils.pm line 345.
autoreconf: failed to run autopoint: No such file or directory
autoreconf: autopoint is needed because this package uses Gettext
patching file ./ltmain.sh
Hunk #1 FAILED at 9708.
Hunk #2 FAILED at 10166.
2 out of 2 hunks FAILED -- saving rejects to file ./ltmain.sh.rej
patch: **** Can't reopen file ./ltmain.sh : No such file or directory
patching file ./po/Rules-quot
Hunk #1 FAILED at 22.
patch: **** Can't reopen file ./po/Rules-quot : No such file or directory
configure.ac:60: error: required file './ar-lib' not found
configure.ac:60:   'automake --add-missing' can install 'ar-lib'
configure.ac:42: error: required file './compile' not found
configure.ac:42:   'automake --add-missing' can install 'compile'
configure.ac:61: error: required file './config.guess' not found
configure.ac:61:   'automake --add-missing' can install 'config.guess'
configure.ac:67: error: required file './config.rpath' not found
configure.ac:61: error: required file './config.sub' not found
configure.ac:61:   'automake --add-missing' can install 'config.sub'
configure.ac:14: error: required file './install-sh' not found
configure.ac:14:   'automake --add-missing' can install 'install-sh'
configure.ac:61: error: required file './ltmain.sh' not found
configure.ac:14: error: required file './missing' not found
configure.ac:14:   'automake --add-missing' can install 'missing'
Makefile.am: error: required file './INSTALL' not found
Makefile.am:   'automake --add-missing' can install 'INSTALL'
configure.ac:67: error: required file './ABOUT-NLS' not found
backend/Makefile.am:33: warning: '%'-style pattern rules are a GNU make 
extension
backend/Makefile.am:37: warning: '%'-style pattern rules are a GNU make 
extension
backend/Makefile.am: error: required file './depcomp' not found
backend/Makefile.am:   'automake --add-missing' can install 'depcomp'
parallel-tests: error: required file './test-driver' not found
parallel-tests:   'automake --add-missing' can install 'test-driver'
autoreconf: automake failed with exit status: 1


ubuntu@ubuntu:~/backends$ ./configure
configure: error: cannot find install-sh, install.sh, or shtool in "." "./.." 
"./../.."


  1.  https://help.ubuntu.com/community/CompileSaneFromSource

This reference directs to a wrong source code download page. If I use the 
previous source, I get the same error.

How can I compile the Sane source on 32 bit Ubuntu?

Thanks

Reply via email to