kopia lustrzana https://gitlab.com/sane-project/website
214 wiersze
8.3 KiB
HTML
214 wiersze
8.3 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: Xsane - winsane? was Re: saned won't run under</TITLE>
|
|
<META NAME="Author" CONTENT="Paul Nixon (pnixon18@home.com)">
|
|
<META NAME="Subject" CONTENT="Re: Xsane - winsane? was Re: saned won't run under inetd">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: Xsane - winsane? was Re: saned won't run under inetd</H1>
|
|
<!-- received="Sat May 12 11:58:19 2001" -->
|
|
<!-- isoreceived="20010512185819" -->
|
|
<!-- sent="Sat, 12 May 2001 12:13:04 +0000" -->
|
|
<!-- isosent="20010512121304" -->
|
|
<!-- name="Paul Nixon" -->
|
|
<!-- email="pnixon18@home.com" -->
|
|
<!-- subject="Re: Xsane - winsane? was Re: saned won't run under inetd" -->
|
|
<!-- id="3AFD28D0.66F5396@home.com" -->
|
|
<!-- inreplyto="20010512191554.B31864@vortex.swb.de" -->
|
|
<STRONG>From:</STRONG> Paul Nixon (<A HREF="mailto:pnixon18@home.com?Subject=Re:%20Xsane%20-%20winsane?%20%20was%20Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=<3AFD28D0.66F5396@home.com>"><EM>pnixon18@home.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat May 12 2001 - 05:13:04 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0165.html">regis rampnoux: "Re: Snapscan ... again"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0164.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0156.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#166">[ date ]</A>
|
|
<A HREF="index.html#166">[ thread ]</A>
|
|
<A HREF="subject.html#166">[ subject ]</A>
|
|
<A HREF="author.html#166">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Sadly I killed my /usr/local/lib directory when I was trying to get rid
|
|
<BR>
|
|
of sane. So I had to recompile gimp and sane and now am back in limbo.
|
|
<BR>
|
|
Neither xsane nor xscanimage will properly scan an image (never
|
|
<BR>
|
|
completes). Preview still causes core dump with xscanimage and the
|
|
<BR>
|
|
shredded image in xsane.
|
|
<BR>
|
|
<P>To answer your question about libsane and how it's setup on my system:
|
|
<BR>
|
|
<P>ls -al /usr/local/lib/libsane*
|
|
<BR>
|
|
libsane.a
|
|
<BR>
|
|
libsane.la
|
|
<BR>
|
|
libsane.so -> libsane.so.1.0.4
|
|
<BR>
|
|
libsane.so.1 -> libsane.so.1.0.4
|
|
<BR>
|
|
<P>There is NO libsane.so.1.0.4 in /usr/local/lib/sane. I had to cp
|
|
<BR>
|
|
../libsane.so.1.0.4 . and then link libsane.so.1 to it. Otherwise
|
|
<BR>
|
|
xscanimage and xsane complained about libsane.so.1: no such file or
|
|
<BR>
|
|
directory.
|
|
<BR>
|
|
<P>Keep in mind that I essentially started from scratch and the above is
|
|
<BR>
|
|
purely the result of ./configure/make/make install for both
|
|
<BR>
|
|
sane-backends and sane-frontends. I then did ldconfig.
|
|
<BR>
|
|
<P><EM>> The second one should also point to ibsane-snapscan.so.1.0.4. Where is
|
|
</EM><BR>
|
|
<EM>> libsane-snapscan.so.1.0.4?
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> rm -r /usr/local/lib/libsane* /usr/local/lib/sane /usr/lib/libsane* /usr/lib/sane
|
|
</EM><BR>
|
|
<P>I don't have any sane files in /usr/lib (no libsane and no sane subdir).
|
|
<BR>
|
|
I removed the /usr/local/lib the hard way and recompiled.
|
|
<BR>
|
|
<P><EM>>
|
|
</EM><BR>
|
|
<EM>> Oops. May I ask again? Where is the link exactly (/usr/local/lib or
|
|
</EM><BR>
|
|
<EM>> /usr/local/lib/sane)? Could you please do a ls -l?
|
|
</EM><BR>
|
|
<EM>> I don't understand why ldconfig would do such things. If the link is
|
|
</EM><BR>
|
|
<EM>> in /usr/local/lib/sane/ then /etc/ld.so.conf contains
|
|
</EM><BR>
|
|
<EM>> "/usr/local/lib/sane".
|
|
</EM><BR>
|
|
<P>I think the v4l linking is something from a past installation. Yes, I do
|
|
<BR>
|
|
have /usr/local/lib/sane in /etc/ld.so.conf. I think I shouldn't,
|
|
<BR>
|
|
correct?
|
|
<BR>
|
|
<P><EM>>
|
|
</EM><BR>
|
|
<EM>> > libsane.so.1 -> libsane-dll.so.1.0.4 is how it is linked at present.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> On my system this isn't a link:
|
|
</EM><BR>
|
|
<P>I created this link for testing purposes.
|
|
<BR>
|
|
<P><EM>> ls -l /usr/local/lib/libsane*
|
|
</EM><BR>
|
|
<EM>> -rw-r--r-- 1 root staff 162912 Mai 12 12:49 /usr/local/lib/libsane.a
|
|
</EM><BR>
|
|
<EM>> -rwxr-xr-x 1 root staff 664 Mai 12 12:49 /usr/local/lib/libsane.la
|
|
</EM><BR>
|
|
<EM>> lrwxrwxrwx 1 root staff 16 Mai 12 12:49 /usr/local/lib/libsane.so -> libsane.so.1.0.4
|
|
</EM><BR>
|
|
<EM>> lrwxrwxrwx 1 root staff 16 Mai 12 12:49 /usr/local/lib/libsane.so.1 -> libsane.so.1.0.4
|
|
</EM><BR>
|
|
<EM>> -rwxr-xr-x 1 root staff 81965 Mai 12 12:49 /usr/local/lib/libsane.so.1.0.4
|
|
</EM><BR>
|
|
<P>This is what my /usr/local/lib/libsane* looks like as well. :-)
|
|
<BR>
|
|
<P><EM>> /usr/local/lib/sane doesn't contain any libsane.* (and shouldn't).
|
|
</EM><BR>
|
|
<P>Okay, I think I know what happened on my system. /etc/ld.so.conf
|
|
<BR>
|
|
contained /usr/local/lib/sane and so I had to create the libsane.so.1 ->
|
|
<BR>
|
|
libsane.so.1.0.4 link and cp ../libsane.so.1.0.4 here. I have since
|
|
<BR>
|
|
changed /etc/ld.so.conf to point to /usr/local/lib (I thought I read
|
|
<BR>
|
|
this shouldn't be in the file in the first place?) and then erased the
|
|
<BR>
|
|
link and file from /usr/local/lib/sane. It seems to be okay and my file
|
|
<BR>
|
|
structure looks like it is now correct.
|
|
<BR>
|
|
<P>xscanimage still coredumps on preview and fails to complete a scan.
|
|
<BR>
|
|
Normally with my scanner set to 100dpi it can do a photo in a single
|
|
<BR>
|
|
pass in a very short time. Now however it sounds like it scans a bit
|
|
<BR>
|
|
then backtracks, scans a bit more, etc. Xscanimage and xsane now don't
|
|
<BR>
|
|
seem to get a signal from the scanner that it's finished.
|
|
<BR>
|
|
<P>Hope this helps.
|
|
<BR>
|
|
Paul
|
|
<BR>
|
|
P.S. Thanks again for the input.
|
|
<BR>
|
|
<P><EM>>
|
|
</EM><BR>
|
|
<EM>> Happy scanning!
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Henning
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> --
|
|
</EM><BR>
|
|
<EM>> Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
</EM><BR>
|
|
<EM>> To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20Xsane%20-%20winsane?%20%20was%20Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=<3AFD28D0.66F5396@home.com>">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:%20Xsane%20-%20winsane?%20%20was%20Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=<3AFD28D0.66F5396@home.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0165.html">regis rampnoux: "Re: Snapscan ... again"</A>
|
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0164.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0156.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0167.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#166">[ date ]</A>
|
|
<A HREF="index.html#166">[ thread ]</A>
|
|
<A HREF="subject.html#166">[ subject ]</A>
|
|
<A HREF="author.html#166">[ 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 May 12 2001 - 12:02:29 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|