plustek@linuxhacker.org
plustek@linuxhacker.org
On Son, 23 Jul 2000, you wrote:
[snip]
> After setting LD_LIBRARY_PATH a scanimage -L shows the correct scanner.
> I also have a problem then. As long as I'm root it's all OK. When I exit
> to work as user scanimage -L reports:
> device '1' is a Noname PNM file reader virtual device
> device '2' is a Noname PNM file reader virtual device
> anybody an idea? I tried to set the group of pt_drv to users (it was
> root) in the Makefile in backend/plustek_driver.
>
Usually, there's no need to set the group of the device to
users.
The device should be created like this:
mknod -m 664 /dev/pt_drv c 40 0
That's all for the device-node.
Next problem maybe is a previous sane installation. They usually
create a configuration directory in /etc/sane.d (SuSE) or
/usr/etc/sane.d (RedHat etc.) Have a look at these directories,
there you'll find a file called dll.conf. Open this one and look
for the plustek device. If you can't find the string "plustek" inside
the file, add it (see example dll.conf in the backend directory !)
Another thing that might cause some trouble is the LD_LIBRARY_PATH.
If you have configured sane correctly you usually do not need
to setup the LD_LIBRARY_PATH.
So I recommend: Before building and installing sane look for
a previous installation, look for the lib-directory lib/sane.
The default will be /usr/local/lib/sane, but SuSE always seems to use
/usr/lib/sane.
So now we have all info we need to configure sane before compiling:
the previous installation prefix and the system configuration path.
To configure sane on a SuSE, dive into your sane source directory and call
./configure --prefix=/usr --sysconfdir=/etc
on a RedHat or similar distribution, you simply call
./configure (assuming --prefix=/usr/local --sysconfdir=/usr/etc)
then make the whole stuff (as user)
after that call make install (as root)
That's it.
Hope this helps, if you have further questions, let me know
Gerhard
plustek@linuxhacker.org