On Sat, 26 Jan 2002 19:48:19 +0100
jipe <[EMAIL PROTECTED]> wrote:

> Le Samedi 26 Janvier 2002 16:43, vous avez écrit :
> > On Sat, 26 Jan 2002 09:49:06 +0100
> >
> > jipe <[EMAIL PROTECTED]> wrote:
> > > hi all!
> > >
> > > i'm using gimp-1.2.2 & xsane-0.79 with sane-1.0.5
> > >
> > > create a symlink in /usr/local/lib/gimp/1.x/plug-ins. then xsane was
> >
> > My symlinks are in /usr/lib/gimp/1.2/plugins... (not local)
> >
> > lrwxrwxrwx    1 root     root           19 Oct 22 07:14
> > /usr/lib/gimp/1.2/plug-ins/xsane -> /usr/bin/xsane-gimp* lrwxrwxrwx   
1> > root     root           19 Oct 22 07:13
> > /usr/lib/gimp/1.2/plug-ins/xscanimage -> /usr/bin/xscanimage*
> >
> > Pierre
> 
> merci pierre! but gimp is in /usr/local for me like xsane..... i can see
at > gimp startup that gimp try to load them but cannot and displays the
error > messages i told u. more, i can't install gimp from rpm because it
is built > without ptal support. and i need this support.... but some
friends of mine > who have installed it from rpm have the same problem.
> 
> can u use xsane with gimp? what's ur version of gimp? mine is 1.2.2
> 
> not a critical problem, i can scan an image with xsane and save it, then
open > it with gimp. but it's not the simplest way. and it's annoying....

My versions are the same (from LM8.1).

Since you can scan, here's what I'd try...

Permissions=755:  (.../local/... in your case)
# ll /usr/bin/xsane-gimp /usr/bin/xscanimage
-rwxr-xr-x    1 root     root       419932 Sep 12 16:25
/usr/bin/xsane-gimp*-rwxr-xr-x    1 root     root        73596 Aug 30
10:20 /usr/bin/xscanimage*

Do you have all the symlinks...?  I have my scaner on SCSI=0/id=5:
   /dev/scanner -> /dev/sg5
   /dev/sg5 -> scsi/host0/bus0/target5/lun0/generic
   crw-rw----    1 pfortin  cdwriter  21,   5 Oct 22 07:22
                 /dev/scsi/host0/bus0/target5/lun0/generic

My ~/.gimp-1.2/pluginrc contains:
(plug-in-def "/usr/lib/gimp/1.2/plug-ins/xsane" 1000326301
        (proc-def "xsane" 2
                "Front-end to the SANE interface"
                "This function provides access to scanners and other image
acquisition devices through the SANE (Scanner Access Now Easy) interface."
               "Oliver Rauch"                "Oliver Rauch"
                "1998-2001"
                "<Toolbox>/File/Acquire/XSane: Device dialog..."
                ""
                ""
                ""
                ""
                1 0
                (proc-arg 0 "run_mode""Interactive, non-interactive")))

I would imagine you should have the same (other than .../local/...)

You might also try "strace -ff -o/tmp/gimp_xsane"  This will generate a
file for each PID that gets spun off from gimp startup; you may have to
look in each one (/tmp/gimp_xsane.<PID>) to get a clue if the above stuff
didn't help...

HTH,
Pierre


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to