[sane-devel] sane frontend questions

Olaf Meeuwissen olaf@epkowa.co.jp
Tue, 27 Jan 2004 14:35:10 +0900

Andy Mitofsky <amitofsk@obiwan.csl.uiuc.edu> writes:

> I just wanted to say thanks for the help from about a week ago,
> especially to Olaf Meeuwissen. I was able to get iscan to work on my computer. 
> For the record, to get it to work, I installed an older version of gtk, 
> gtk+-1.2.10, and used the suggested version of iscan,  iscan-1.5.2-1.redhat.8.0.tar.gz. I 
> At that point, I got compile errors relating to libgdk_imlib. I had the
> file /usr/lib/libgdk_imlib.so.1 on my machine but not gdk_imlib.h.  To
> get around this, I deleted the lines including gdk_imlib.hfrom
> pisa_structs.h. and pisa_view_manager.cc. I also changed some lines of 
> pisa_view_manager.cc from
>   ::gdk_imlib_init ( );
>   ::gtk_widget_push_visual ( ::gdk_imlib_get_visual ( ) );
>   ::gtk_widget_push_colormap ( ::gdk_imlib_get_colormap ( ) );
> to
>   ::gtk_widget_push_visual ( ::gdk_rgb_get_visual ( ) );
>   ::gtk_widget_push_colormap ( ::gdk_rgb_get_cmap ( ) );
> I'm not sure what this did, but it seemed to work. Again, thanks
> for your help. Bye, Andy

Just so you know, you will not be able to use iscan as a GIMP plugin.
You could have installed the gimp-devel package and leave the sources
as they were instead.
# FYI, Debian users need gdk-imlib1-dev.

Hope this helps,
Olaf Meeuwissen                            EPSON KOWA Corporation, ECS
GnuPG key: 6BE37D90/AB6B 0D1F 99E7 1BF5 EB97  976A 16C7 F27D 6BE3 7D90
Penguin's lib!       -- I hack, therefore I am --               LPIC-2