Subject:
Re: Epson releases scanner driver for 1250 and others.
From:
Gene Heskett ####@####.####
Date:
13 Jun 2002 12:41:21 -0000
Message-Id: <200206130827.25797.gene_heskett@iolinc.net>
On Thursday 13 June 2002 01:57, Tom Hull wrote:
>Gene Heskett wrote:
>> On Tuesday 11 June 2002 05:49, Reinhard Max wrote:
>> >Hi,
>> >
>> >in the latest version of Epson's "ImageScan! for Linux"
>> > software, support for the Epson 1250 (Photo) has been added.
>> > ImageScan! comes as a SANE backend and frontend.
>> >
>> >They offer RPMs and a "source" tarball, but the latter contains
>> > two binary only libraries.
>> >
>> >I haven't tested it yet, but hopefully will have time to do so
>> > this evening...
>> >
>> >More information can be found here:
>> >
>> >http://www.epkowa.co.jp/english/linux_e/lsd_e.html
>> >http://www.epkowa.on.arena.ne.jp/iscan/iscan_v130e.html
>>
>> I just went after it from the top link, getting both the rpm and
>> the src, and since sane is installed from src here, I tried to
>> follow their proceedure, but bombed at this point while doing
>> the make:
>
>I tried this too, but didn't have any evident problems here:
> configure, make, make install. make generates 7 warning messages,
> none of which look to be obviously debilitating. After install, I
> got a message saying "Could not send command to scanner." I
> finally fixed this by:
>
> editing /usr/local/etc/sane.d/plustek.conf to comment out
> everything editing /usr/local/etc/sane.d/epson.conf to define:
> usb /dev/usb/scanner0
> /sbin/rmmod scanner
> /sbin/modprobe scanner vendor=0x4b8 product=0x10f
>
>(Not that it was actually this obvious or easy.)
>
>To date, I've only done a preview scan and one 300dpi scan, but
> this definitely looks better than I've been getting with xsane
> and the plustek driver.
>
>BTW, the latter started working when I installed sane 1.0.8, per
>Gerhard Jaeger's suggestion. Thanks.
[...]
>> I have a png.h, or links to it, in all the possible locations
>> for an "include/png/png.h". FWIW, I don't think these typedefs
>> are in that file either.
It turned out that I didn't have the libpng-devel package installed.
Putting that in from disk 2 got me past that, but now the linker is
outputting about 20 pages (or more) of things that look like this
for starters:
In file included from /usr/include/g++-v3/backward/new.h:33,
from ../esmodule/Base.h:7,
from ../esmodule/Resize.h:5,
from pisa_scan_manager.h:26,
from pisa_view_manager.h:30,
from pisa_view_manager.cc:34:
/usr/include/g++-v3/backward/backward_warning.h:32:2: warning:
#warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in
section 17.4.1.2 of the C++ standard. Examples include substituting
the <X> header for the <X.h> header for C++ includes, or <sstream>
instead of the deprecated header <strstream.h>. To disable this
warning use -Wno-deprecated.
gcc -x c++ -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale
-I. -I. -I../include -I../include -I../esmodule -I../intl -I../intl
-I/usr/local/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -D_GNU_SOURCE
-DPATH_SANE_CONFIG_DIR=/usr/local/etc/sane.d
-DPATH_SANE_DATA_DIR=/usr/local/share -DV_MAJOR=1
-DV_MINOR=0 -g -O2 -W -Wall xpm_data.cc
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning: as it has already been specified as a non-system
directory
mkdir .libs
gcc -L/usr/lib -L/usr/X11R6/lib -rdynamic -o .libs/iscan
pisa_aleart_dialog.o pisa_change_unit.o pisa_configuration.o
pisa_error.o pisa_esmod_tool.o pisa_file_select.o
pisa_gamma_correction.o pisa_gimp.o pisa_image_controls.o
pisa_img_converter.o pisa_main.o pisa_marquee.o pisa_main_window.o
pisa_preference.o pisa_preview_window.o pisa_print_window.o
pisa_progress_window.o pisa_sane.o pisa_sane_scan.o
pisa_scan_manager.o pisa_save_file.o pisa_scan_tool.o
pisa_settings.o pisa_tool.o pisa_view_manager.o xpm_data.o
../sanei/libsanei.a ../backend/.libs/libsane.so -ldl -lnsl -lm
-ljpeg -ldl ../lib/liblib.a -lgtk -lgdk -lgmodule -lglib -ldl -lXi
-lXext -lX11 -lm -ldl -lnsl -lm -ljpeg -lgdk_imlib
../esmodule/libesmod.so -Wl,--rpath -Wl,/usr/local/lib
pisa_aleart_dialog.o: In function `delete_event':
/usr/src/iscan-1.3.0/frontend/pisa_aleart_dialog.cc:41: undefined
reference to `__gxx_personality_v0'
pisa_configuration.o: In function `delete_event':
/usr/src/iscan-1.3.0/frontend/pisa_configuration.cc:41: undefined
reference to `__gxx_personality_v0'
pisa_esmod_tool.o: In function
`preview_unsharp_mask(tagIMAGE_SETTING*, tagFILTER_SETTING*,
tagUSM_INFO*, tagIMAGE_INFO*, tagIMAGE_INFO*)':
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:37: undefined
reference to `Focus::operator new(unsigned)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:37: undefined
reference to `Focus::Focus[in-charge](tagIMAGE_SETTING*,
tagFILTER_SETTING*, unsigned char)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:42: undefined
reference to `Focus::ReviseUSM(tagUSM_INFO*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:66: undefined
reference to `Focus::~Focus [in-charge]()'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:66: undefined
reference to `Focus::operator delete(void*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:51: undefined
reference to `Focus::FocusFilter(tagIMAGE_INFO*, tagIMAGE_INFO*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:65: undefined
reference to `Focus::~Focus [in-charge]()'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:65: undefined
reference to `Focus::operator delete(void*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:59: undefined
reference to `Focus::~Focus [in-charge]()'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:59: undefined
reference to `Focus::operator delete(void*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:59: undefined
reference to `Focus::operator delete(void*)'
/usr/src/iscan-1.3.0/frontend/pisa_esmod_tool.cc:37: undefined
reference to `__gxx_personality_v0'
pisa_file_select.o: In function `file_select::check_filename(char
const*, char*)':
/usr/src/iscan-1.3.0/frontend/pisa_file_select.cc:369: undefined
reference to `__cxa_allocate_exception'
/usr/src/iscan-1.3.0/frontend/pisa_file_select.cc:369: undefined
reference to `__cxa_throw'
/usr/src/iscan-1.3.0/frontend/pisa_file_select.cc:377: undefined
reference to `__cxa_begin_catch'
/usr/src/iscan-1.3.0/frontend/pisa_file_select.cc:385: undefined
reference to `__cxa_end_catch'
/usr/src/iscan-1.3.0/frontend/pisa_file_select.cc:385: undefined
reference to `__cxa_end_catch'
which would seem to indicate I'm missing some other defines too.
Humm, I haven't cleaned out the config stuff and reconfiged it, let
me try that now that the png-devel stuff is installed. Didn't
help. In looking over the config.log, there are some interesting
"no" answers, and the exit scream (its way too big to just be a
simple message :-) contains huge numbers of references to missing
__cxa_this_and_that calls and __gxx_personality_something_or_other
pieces.
Maybe I should cd to disk2, and do an "rpm -ivh *-devel*"? I
thought all that stuff was already installed!
--
Cheers, Gene
AMD K6-III@500mhz 320M
Athlon1600XP@1400mhz 512M
98.98+% setiathome rank, not too shabby for a hillbilly