sane-project-website/old-archive/2001-04/0211.html

284 wiersze
11 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>
<TITLE>sane-devel: Re: ./configure xsane is failing?</TITLE>
<META NAME="Author" CONTENT="scc (fsanta@arrakis.es)">
<META NAME="Subject" CONTENT="Re: ./configure xsane is failing?">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: ./configure xsane is failing?</H1>
<!-- received="Sat Apr 21 11:25:29 2001" -->
<!-- isoreceived="20010421182529" -->
<!-- sent="Sat, 21 Apr 2001 02:55:50 +0200" -->
<!-- isosent="20010421005550" -->
<!-- name="scc" -->
<!-- email="fsanta@arrakis.es" -->
<!-- subject="Re: ./configure xsane is failing?" -->
<!-- id="01042102555000.00623@horche" -->
<!-- inreplyto="20010420224717.A13994@vortex.swb.de" -->
<STRONG>From:</STRONG> scc (<A HREF="mailto:fsanta@arrakis.es?Subject=Re:%20./configure%20xsane%20is%20failing?&In-Reply-To=&lt;01042102555000.00623@horche&gt;"><EM>fsanta@arrakis.es</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Apr 20 2001 - 17:55:50 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0212.html">Marcel Pol: "Microtek scanner not working anymore"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0210.html">Onno Garms: "Snapscan 310 at Adaptec 1505 does not work"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0196.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0195.html">Massimo Maiurana: "Re: ./configure xsane is failing?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#211">[ date ]</A>
<A HREF="index.html#211">[ thread ]</A>
<A HREF="subject.html#211">[ subject ]</A>
<A HREF="author.html#211">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi Henning Hi everyone.
<BR>
<P>Thanks for your time. I'll correct the errors right away.
<BR>
<P>The only reason that we used source is that we can keep up to date easier.
<BR>
With xsane and previously the gimp 1.1 series there were many updates and it
<BR>
was important for us in our changeover from crashintosh's that we had the
<BR>
very best that was available. All we can say is that the method we use works
<BR>
for us and our friends and that we have never had any niggles with it that
<BR>
many other users seem to have.
<BR>
<P>The only bit we don't understand is the bit about the /etc/ld.so.conf. We
<BR>
have never touched this file before. Where does it fit in?
<BR>
<P>Best wishes from all at FeF, Spain.
<BR>
<P><P>On Friday 20 April 2001 22:47, you wrote:
<BR>
<EM>&gt; Hi,
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; On Fri, Apr 20, 2001 at 07:05:44AM +0200, scc wrote:
</EM><BR>
<EM>&gt; &gt; We put together a step by step guide for sane specifically for stuff like
</EM><BR>
<EM>&gt; &gt; this at:
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; www.arrakis.es/~fsanta/sane/howto.html
</EM><BR>
<EM>&gt; &gt;
</EM><BR>
<EM>&gt; &gt; it has been tested with Mandrake too and it works but it would mean you
</EM><BR>
<EM>&gt; &gt; having to start over again with the installation.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; You are asking for suggestions on your page so here they are: :-)
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; * Maybe add a paragraph about why going through all the hassle of
</EM><BR>
<EM>&gt; installing everything from source. Some distributions (e.g. SuSE
</EM><BR>
<EM>&gt; 7.1) come with current packages of SANE so I would only recommend to
</EM><BR>
<EM>&gt; compile SANE if something doesn't work. Same goes for gtk and gimp,
</EM><BR>
<EM>&gt; I would only download and compile them if the installed binaries are
</EM><BR>
<EM>&gt; too old to compile xsane.
</EM><BR>
<EM>&gt; You write that glib and gtk that comes with the distribution
</EM><BR>
<EM>&gt; should be removed. This will cause trouble with programs that came
</EM><BR>
<EM>&gt; with the distribution and that are linked against gtk. I wouldn't
</EM><BR>
<EM>&gt; recommend to do it if you aren't really shure what you are doing.
</EM><BR>
<EM>&gt; In my experience the most problems of beginners when compiling
</EM><BR>
<EM>&gt; SANE and a frontend are: Headers of X, gtk, gimp not installed.
</EM><BR>
<EM>&gt; /usr/local/lib not in /etc/ld.so.conf. /usr/local/lib/sane in
</EM><BR>
<EM>&gt; /etc/ld.so.conf by mistake. /usr/local/bin not in $PATH.
</EM><BR>
<EM>&gt; Maybe I missed something but you don't mention the /etc/ld.so.conf
</EM><BR>
<EM>&gt; thing. However, I'm pretty sure that at least for Debian potato this
</EM><BR>
<EM>&gt; entry is absolutely necessary. Compiling xsane won't work without it.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; * I would be very careful with copying kernel headers to glibc
</EM><BR>
<EM>&gt; directories. This may work for SANE but may break compilation of
</EM><BR>
<EM>&gt; other programs using SCSI. And you probably won't remember that you
</EM><BR>
<EM>&gt; changed /usr/include/scsi if these problems occur.
</EM><BR>
<EM>&gt; Because this is for beginners, I would add that you
</EM><BR>
<EM>&gt; need to have installed the kernel source or at least the kernel
</EM><BR>
<EM>&gt; headers.
</EM><BR>
<EM>&gt; What I did when having problems with different sg.h files in
</EM><BR>
<EM>&gt; /usr/include and /usr/src/linux was to just rename sg.h to something
</EM><BR>
<EM>&gt; else. Then the file in /usr/src/linux was used automatically.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; * Better write down that the permissions of /dev/sg0 must be rw for
</EM><BR>
<EM>&gt; &quot;other&quot;. At least I can't read the text in your file manager. If
</EM><BR>
<EM>&gt; more than one person uses the system, I wouldn't do that however.
</EM><BR>
<EM>&gt; Better set /dev/sg0 to rw for a group (e.g. &quot;scanner&quot;) and add all
</EM><BR>
<EM>&gt; the users that are allowed to scan to that group.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; * Why do you make the link to xsane (in the users ~/.gimp directory) as
</EM><BR>
<EM>&gt; root? And be sure to mention that gimp shouldn't be run as root.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; * The &quot;Special note: USB scanners&quot; contains some unclear points and
</EM><BR>
<EM>&gt; some mistakes in my opinion: The second sentence says to include the
</EM><BR>
<EM>&gt; following line into modules.conf. The following line is &quot;Model :
</EM><BR>
<EM>&gt; Vendor ID : Product ID&quot; :-).
</EM><BR>
<EM>&gt; You are asking for vendor/product ids of other scanners. Maybe you
</EM><BR>
<EM>&gt; want to link to <A HREF="http://www.linux-usb.org">http://www.linux-usb.org</A>, they have a list of such
</EM><BR>
<EM>&gt; ids.
</EM><BR>
<EM>&gt; You write that it's necessary to add &quot;modprobe scanner vendor=&lt;your
</EM><BR>
<EM>&gt; vendor ID&gt; product=&lt;your product ID&gt;&quot; to modules.conf. However,
</EM><BR>
<EM>&gt; modules.conf contains the options of the modules, not the modprobe
</EM><BR>
<EM>&gt; itsself. So something like &quot;options scanner vendor=&lt;your vendor ID&gt;
</EM><BR>
<EM>&gt; product=&lt;your product ID&gt;&quot; should work. By the way: In principle
</EM><BR>
<EM>&gt; scanners should work without manually adding the ids, if they don't
</EM><BR>
<EM>&gt; please send the necessary ids and the name of the scanner to the
</EM><BR>
<EM>&gt; author of the scanner module for inclusion.
</EM><BR>
<EM>&gt; Better add a warning that at least for Debian &quot;modules.conf&quot; shouldn't
</EM><BR>
<EM>&gt; be changed manually. As the comment in this file says:
</EM><BR>
<EM>&gt; # Please do not edit this file directly. If you want to change or add
</EM><BR>
<EM>&gt; # anything please take a look at the files in /etc/modutils and read
</EM><BR>
<EM>&gt; # the manpage for update-modules.
</EM><BR>
<EM>&gt; Concerning *.conf when you don't use the epson backend: I'm not sure
</EM><BR>
<EM>&gt; if every backend uses the &quot;usb /dev/something&quot; entry for *.conf. So
</EM><BR>
<EM>&gt; better point to the documentation.
</EM><BR>
<EM>&gt; After the paragraph about epson.conf you write &quot;Mine looks like
</EM><BR>
<EM>&gt; this: modprobe scanner vendor=0x04b8 product=ox010c&quot;. This should be
</EM><BR>
<EM>&gt; moved to the paragraph about modules.conf (and exchange &quot;modprobe&quot; by
</EM><BR>
<EM>&gt; &quot;options&quot;). The hex codes must start with 0x not ox.
</EM><BR>
<EM>&gt; I would *not* add the link from /dev/usbscanner to /dev/scanner.
</EM><BR>
<EM>&gt; /dev/scanner is used by all the SCSI backends and looking at USB
</EM><BR>
<EM>&gt; device files as a SCSI generic file may cause havoc.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Generally: For all things you need to do as root I would recommend to
</EM><BR>
<EM>&gt; use something like 'su -c &quot;make install&quot;'. This way there is no risk to
</EM><BR>
<EM>&gt; forget to &quot;exit&quot; the su shell.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; Bye,
</EM><BR>
<EM>&gt; Henning
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; --
</EM><BR>
<EM>&gt; Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
</EM><BR>
<EM>&gt; To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20./configure%20xsane%20is%20failing?&In-Reply-To=&lt;01042102555000.00623@horche&gt;">majordomo@mostang.com</A>
</EM><BR>
<P><PRE>
--
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20./configure%20xsane%20is%20failing?&In-Reply-To=&lt;01042102555000.00623@horche&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0212.html">Marcel Pol: "Microtek scanner not working anymore"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0210.html">Onno Garms: "Snapscan 310 at Adaptec 1505 does not work"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0196.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<LI><STRONG>Next in thread:</STRONG> <A HREF="0195.html">Massimo Maiurana: "Re: ./configure xsane is failing?"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0213.html">Henning Meier-Geinitz: "Re: ./configure xsane is failing?"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#211">[ date ]</A>
<A HREF="index.html#211">[ thread ]</A>
<A HREF="subject.html#211">[ subject ]</A>
<A HREF="author.html#211">[ author ]</A>
</UL>
<!-- trailer="footer" -->
<HR NOSHADE>
<P>
<SMALL>
<EM>
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
: <EM>Sat Apr 21 2001 - 11:26:16 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>