[sane-devel] Can't install iscan-1.10.0

Adam Bogacki afb@paradise.net.nz
Wed, 11 Aug 2004 12:56:24 +1200


Hi,

    what seems to be happening here ?

I have an Epson Perfection 640U, and have apt-instlled sane, scanimage, 
xsane and  all other
debian modules with 'sane' in them (except the 'devel' ones),  I 
downloaded the appropriate version
of 'iscan*' from the sane website, untarred, cd'd into the directory, 
and './configure went well.

    But the 'make' command is not working (below).

    What am I missing here ? A scanner module in the kernel (which one 
?), or a Perl or Python module ?

Adam Bogacki,
afb@paradise.net.nz

aka "Frustrated Scanner" ...

> Tux:/home/iscan-1.10.0# make
> making all in libltdl
> make[1]: Entering directory `/home/iscan-1.10.0/libltdl'
> make  all-am
> make[2]: Entering directory `/home/iscan-1.10.0/libltdl'
> /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.     
> -g -O2 -c -o ltdl.lo ltdl.c
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c  -fPIC -DPIC -o 
> .libs/ltdl.o
>  gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ltdl.c -o ltdl.o >/dev/null 
> 2>&1
> /bin/sh ./libtool --mode=link gcc  -g -O2   -o libltdlc.la   ltdl.lo -ldl
> rm -fr  .libs/libltdlc.a .libs/libltdlc.la
> ar cru .libs/libltdlc.a .libs/ltdl.o
> ranlib .libs/libltdlc.a
> creating libltdlc.la
> (cd .libs && rm -f libltdlc.la && ln -s ../libltdlc.la libltdlc.la)
> make[2]: Leaving directory `/home/iscan-1.10.0/libltdl'
> make[1]: Leaving directory `/home/iscan-1.10.0/libltdl'
> making all in include
> make[1]: Entering directory `/home/iscan-1.10.0/include'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/home/iscan-1.10.0/include'
> making all in lib
> make[1]: Entering directory `/home/iscan-1.10.0/lib'
> g++ -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include 
> -DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d          
> -DPATH_SANE_DATA_DIR=/usr/local/share           -DV_MAJOR=1 
> -DV_MINOR=0 -g -O2 imgstream.cc
> In file included from imgstream.cc:33:
> imgstream.hh:42:18: ltdl.h: No such file or directory
> In file included from imgstream.cc:33:
> imgstream.hh:111: error: ISO C++ forbids declaration of `lt_dlhandle' 
> with no
>    type
> imgstream.hh:111: error: parse error before `;' token
> imgstream.hh:112: error: ISO C++ forbids declaration of `lt_ptr' with 
> no type
> imgstream.hh:112: error: parse error before `;' token
> imgstream.hh:114: error: ISO C++ forbids declaration of `dl_handle' 
> with no
>    type
> imgstream.hh:114: error: parse error before `(' token
> imgstream.hh:116: error: ISO C++ forbids declaration of `dl_ptr' with 
> no type
> imgstream.hh:116: error: parse error before `(' token
> imgstream.hh:117: error: `dl_handle' was not declared in this scope
> imgstream.hh:117: error: parse error before `)' token
> imgstream.hh:120: error: ISO C++ forbids declaration of `dl_handle' 
> with no
>    type
> imgstream.hh:120: error: declaration of `int iscan::imgstream::dl_handle'
> imgstream.hh:114: error: conflicts with previous declaration `int
>    iscan::imgstream::dl_handle'
> imgstream.hh:120: error: parse error before `(' token
> imgstream.cc:155: error: syntax error before `::' token
> imgstream.cc:161: error: parse error before `=' token
> imgstream.cc:164: error: ISO C++ forbids declaration of `lib' with no type
> imgstream.cc:164: error: `int iscan::imgstream::lib' is not a static 
> member of
>    `class iscan::imgstream'
> imgstream.cc:164: error: `libname' was not declared in this scope
> imgstream.cc:164: error: `find_dlopen' was not declared in this scope
> imgstream.cc:165: error: parse error before `if'
> imgstream.cc:174: error: syntax error before `::' token
> imgstream.cc:180: error: `dl_handle' was not declared in this scope
> imgstream.cc:180: error: parse error before `)' token
> imgstream.cc: In static member function `static int
>    iscan::imgstream::dlclose(...)':
> imgstream.cc:182: error: `lib' undeclared (first use this function)
> imgstream.cc:182: error: (Each undeclared identifier is reported only 
> once for
>    each function it appears in.)
> imgstream.cc:182: error: `lt_dlclose' undeclared (first use this function)
> imgstream.cc: At global scope:
> imgstream.cc:210: error: syntax error before `::' token
> imgstream.cc:214: error: parse error before `=' token
> imgstream.cc:218: error: ISO C++ forbids declaration of `name' with no 
> type
> imgstream.cc:218: error: `int iscan::imgstream::name' is not a static 
> member of
>    `class iscan::imgstream'
> imgstream.cc:218: error: `name' was not declared in this scope
> imgstream.cc:218: error: `libname' was not declared in this scope
> imgstream.cc:219: error: ISO C++ forbids declaration of `name' with no 
> type
> imgstream.cc:219: error: `int iscan::imgstream::name' is not a static 
> member of
>    `class iscan::imgstream'
> imgstream.cc:219: error: `name' was not declared in this scope
> imgstream.cc:221: error: ISO C++ forbids declaration of `_libname' 
> with no type
> imgstream.cc:221: error: conflicting types for `int 
> iscan::imgstream::_libname'
> imgstream.hh:121: error: previous declaration as `const
>    char*iscan::imgstream::_libname'
> imgstream.cc:221: error: `name' was not declared in this scope
> imgstream.cc:223: error: parse error before `}' token
> imgstream.cc:228: error: `char*iscan::imgstream::pathz' is not a 
> static member
>    of `class iscan::imgstream'
> imgstream.cc:229: error: `size_t iscan::imgstream::length' is not a static
>    member of `class iscan::imgstream'
> imgstream.cc:230: error: `bool iscan::imgstream::is_pathz_ok' is not a 
> static
>    member of `class iscan::imgstream'
> imgstream.cc:231: error: parse error before `{' token
> imgstream.cc:235: error: `const char*iscan::imgstream::path' is not a 
> static
>    member of `class iscan::imgstream'
> imgstream.cc:237: error: parse error before `if'
> imgstream.cc:260: error: `int iscan::imgstream::count' is not a static 
> member
>    of `class iscan::imgstream'
> imgstream.cc:260: error: `dir_name' was not declared in this scope
> imgstream.cc:260: error: `match' was not declared in this scope
> imgstream.cc:262: error: parse error before `for'
> imgstream.cc:269: error: `abs_file_name' was not declared in this scope
> imgstream.cc:269: error: `dir_name' was not declared in this scope
> imgstream.cc:269: error: ISO C++ forbids declaration of `strcpy' with 
> no type
> imgstream.cc:269: error: `int iscan::imgstream::strcpy' is not a 
> static member
>    of `class iscan::imgstream'
> imgstream.cc:269: error: initializer list being treated as compound 
> expression
> imgstream.cc:270: error: `abs_file_name' was not declared in this scope
> imgstream.cc:270: error: ISO C++ forbids declaration of `strcat' with 
> no type
> imgstream.cc:270: error: `int iscan::imgstream::strcat' is not a 
> static member
>    of `class iscan::imgstream'
> imgstream.cc:270: error: initializer list being treated as compound 
> expression
> imgstream.cc:271: error: `abs_file_name' was not declared in this scope
> imgstream.cc:271: error: `file_name' was not declared in this scope
> imgstream.cc:271: error: ISO C++ forbids declaration of `strcat' with 
> no type
> imgstream.cc:271: error: `int iscan::imgstream::strcat' is not a 
> static member
>    of `class iscan::imgstream'
> imgstream.cc:271: error: initializer list being treated as compound 
> expression
> imgstream.cc:273: error: ISO C++ forbids declaration of `result' with 
> no type
> imgstream.cc:273: error: `int iscan::imgstream::result' is not a 
> static member
>    of `class iscan::imgstream'
> imgstream.cc:273: error: `abs_file_name' was not declared in this scope
> imgstream.cc:273: error: `lt_dlopen' was not declared in this scope
> imgstream.cc:274: error: parse error before `delete'
> imgstream.cc:280: error: `match' was not declared in this scope
> imgstream.cc:280: error: ISO C++ forbids declaration of `free' with no 
> type
> imgstream.cc:280: error: `int iscan::imgstream::free' is not a static 
> member of
>    `class iscan::imgstream'
> imgstream.cc:281: error: parse error before `}' token
> imgstream.cc:285: error: `pathz' was not declared in this scope
> imgstream.cc:285: error: ISO C++ forbids declaration of `free' with no 
> type
> imgstream.cc:285: error: `int iscan::imgstream::free' is not a static 
> member of
>    `class iscan::imgstream'
> imgstream.cc:287: error: parse error before `return'
> imgstream.cc:296: error: duplicate initialization of 
> iscan::imgstream::_libname
> imgstream.cc:296: error: conflicting types for `const
>    char*iscan::imgstream::_libname'
> imgstream.cc:221: error: previous declaration as `int
>    iscan::imgstream::_libname'
> imgstream.cc:304: confused by earlier errors, bailing out
> make[1]: *** [imgstream.o] Error 1
> make[1]: Leaving directory `/home/iscan-1.10.0/lib'
> make: *** [all-recursive] Error 1
> Tux:/home/iscan-1.10.0#
>