On 28-04-2012 13:58, Fernando de Oliveira wrote:
> On 28-04-2012 12:59, Bruce Dubbs wrote:
>> Fernando de Oliveira wrote:
>>> On 28-04-2012 12:32, Bruce Dubbs wrote:
>>>> Fernando de Oliveira wrote:
>>>>> On 27-04-2012 21:46, Bruce Dubbs wrote:
>>>>>> Does anyone have a scanner to validate the commands for sane and xsane?
>>>>>> I'd like to update sane to version 1.0.22 and xsane to 0.998, but I don't
>>>>>> have a scanner to check it out.
>>>>>>
>>>>>> If someone can give me the commands, I'll update the book.
>>>>>>
>>>>>> -- Bruce
>>>>> I do have a scanner, but have never had success in using it form a VM. 
>>>>> This
>>>>> is one of the rare occasions when I need to use my host, which is normally
>>>>> used to maintain VMs, including the one for daily use: LFS7.1.
>>>>>
>>>>> So, I wouldn't mind installing and testing, if I knew how to overcome that
>>>>> problem.
>>>>>
>>>>> I said "wouldn't mind", but I should say "I would like very much to be 
>>>>> able
>>>>> to do it".
>>>>>
>>>>> So, if anyone can help me...
>>>> I'm not sure what help you are asking for.  Is your host an LFS system?
>>>>
>>>>    -- Bruce
>>> No, it is *buntu, Bruce.
>>>
>>> I never understood why I can access and use the printer, but not its scanner
>> (it is a multi-function printer and scanner, usb, Epson CX7300).
>>
>> Hmm. What does lsusb say?  It sounds like a driver issue where the driver 
>> for 
>> the printer part is different from the scanner part.  I'm just guessing of 
>> course because I don't have any experience with this.
>>
>>    -- Bruce
>>
> There are two possible connections: through VMware Tools or directly via usb.

[...]

> Now, while I wait any idea from you, I am going to try and install xsane, and 
> report the result.

Just finished installation. Had to have lunch, so the delay.

Not important, in sane page you have:

install -m 644 -v (backends)
install -v -m644  (frontends)

I'm not sure if this will make any difference: the "space" between m and 644, 
above, removed in my script.

I had to disable png support for xsane:

> xsane-save.c:4772:9: warning: pointer targets in passing argument 5 of 
> ‘png_set_
> iCCP’ differ in signedness [-Wpointer-sign]
> /usr/include/libpng15/png.h:2276:1: note: expected ‘png_const_bytep’ but 
> argument is of type ‘gchar *’
> xsane-save.c: In function ‘xsane_save_png’:
> xsane-save.c:4836:7: error: dereferencing pointer to incomplete type
> xsane-save.c: In function ‘xsane_save_png_16’:
> xsane-save.c:5029:7: error: dereferencing pointer to incomplete type
> make[1]: ** [xsane-save.o] Erro 1
> make[1]: Saindo do diretório 
> `/media/dados/home/fernando/tmp/paco-build-2012.04.28/xsane-0.994/src'
> make: ** [all-recursive] Erro 1

I am using libpng-1.5.10 with apng patch. Build completed after I used 
--disable-png in configure.

Worst of all, I cannot help you: xsane could not find a "dispositivo" (device?).

-- 
[]s,
Fernando
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to