This is a multi-part message in MIME format. --------------090209010909070505060107 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit
Oi, I have tried to compile ISCAN 1.10.0 (from iscan-1.10.0-3.tar.gz from the Epson-Kowa web site) on the current Cooker of Mandrakelinux. At first there is gcc 3.4.1 which needed some small changes in the code. One has to apply the attaced patch. In addition one has to install the headers for the needed libraries: urpmi libimlib1-devel libsane-devel libltdl-devel As SANE is version 1.0.14 I have also edited the line V_REV=12 to be V_REV=14 Then I have compiled and installed the package. Unfortunately, ISCAN did not work correctly: 1. "scanimage -L" shows the Epson Perfection Photo 2450 as working with the "epson" driver (which is the ISCAN version now). One can scan with XSane, but only in the usual flatbed mode. When trying to use the TPU, already switching to the TPU freezes XSane for a minute or so. When trying to scan (Preview), XSane freezes for some minutes and then there is an error message, telling that there is a communication problem with the scanner andthe console from which I started XSane appear the messages ------------------------------------------------------------------------ [epson] You may have to power on your TPU [epson] Also you may have to restart the Sane frontend. ------------------------------------------------------------------------ The TPU light does not turn on. When switching back to flatbed mode all works normally again. 2. If the Epson Perfection 1260 Photo is turned on, the "epson" backend (both the original SANE one and the ISCAN one) hangs for several minutes and then even the also connected Perfection 2450 is not detected. The ISCAN "epson" backend produces the message ------------------------------------------------------------------------ [epson] ident failed ------------------------------------------------------------------------ on the console where "scanimage -L" was called. 3. The "epkowa" backend does not recognize the Epson Perfection 1260 Photo. The scanner is OK, as it works without problems with the "plustek" backend. Commenting out the "plustek" backend in dll.conf does also not help for "epkowa" recognizing the scanner. Configuration: only "usb" in the epkowa.conf file. 4. "epkowa" recognizes the 2450, but the startup of XSane takes ages and are always "Failed to obtain value of option monitor-button: Error during device I/O" messages. A Preview scannes gives "Failed to start scanner: Error during device I/O" after around one minute frozen. 5. The GUI "iscan" does not work at all. It says "Could not send command to scanner" before opening its main window, even if "scanimage -L" finds scanners and one can scan with XSane. When using the 2450 with the "epkowa" backend, the main window opens after a longer time and one can switch the flatbed/TPU option (dreeses iscan also for a minute or so), but trying to scan gives "Could not send command to scanner". debug log file is attached. Note the comments in the "#####" lines which I have added. Software versions (all are Cooker packages): SANE 1.0.14 kernel: 2.6.6-0.rc3.1mdk Till --------------090209010909070505060107 Content-Type: text/x-patch; name="iscan-1.10.0-gcc-3.4.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="iscan-1.10.0-gcc-3.4.patch" --- lib/cfilebuf.cc.orig 2004-08-17 22:16:55.716130752 -0400 +++ lib/cfilebuf.cc 2004-08-17 22:17:09.925970528 -0400 @@ -249,7 +249,7 @@ // force a single location of code for compilation by explicit // template instantiation, avoiding all kinds of nasty linking // problems -template basic_cfilebuf< char >; -template basic_cfilebuf<wchar_t>; +template class basic_cfilebuf< char>; +template class basic_cfilebuf<wchar_t>; } // namespace iscan --- frontend/file-selector.cc.orig 2004-08-17 22:17:29.812947248 -0400 +++ frontend/file-selector.cc 2004-08-17 22:17:40.420334680 -0400 @@ -163,7 +163,8 @@ int size = 1; // terminating { 0 } element for (int i = 0; 0 != _format[i].name; ++i) ++size; - _fmt = new (const format *)[size]; + typedef const format *t1; + _fmt = new t1[size]; // okay, so we may waste a few int cnt = 0; --------------090209010909070505060107 Content-Type: application/x-bzip; name="iscan-log.txt.bz2" Content-Transfer-Encoding: base64 Content-Disposition: inline; filename="iscan-log.txt.bz2" QlpoOTFBWSZTWR2mzkkAW4f/iXAYYAha9//3f+/e2/////AAAoAA4BBvbx30szT13B0QvQ9C gdUOvQNaL3g8eai61prWq1r0aBRXWEihJ6IYg0ZExJiabVPUDTQyDJoeoA09Q9R6npASo0Ma pKfpqmQAA0AAAAAAAAADmjRoaYQDTAmmgDIaGIA0YjQwRkAGaSmSTTSYmmQNHqAAGm1AGgAA AAARREJ6hNU/Kn6mo/UPSbSjT0mj0anp6RB6aag8UGmm1BtQAqSCBAjRMhU8T9U0j9U2ox6k 9QAANMnqAANNN4diEseVAawbDPN9DIKpxRr/WMB5UMIQo0vTERlMfTRezLwUZLQK2CuyhUgE iBD1whQPXoZ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