kopia lustrzana https://gitlab.com/sane-project/website
153 wiersze
5.7 KiB
HTML
153 wiersze
5.7 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: sane-config</TITLE>
|
||
|
<META NAME="Author" CONTENT="Oliver Rauch (oliver.rauch@Wolfsburg.DE)">
|
||
|
<META NAME="Subject" CONTENT="Re: sane-config">
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
||
|
<H1>Re: sane-config</H1>
|
||
|
<!-- received="Tue Oct 31 10:53:02 2000" -->
|
||
|
<!-- isoreceived="20001031185302" -->
|
||
|
<!-- sent="Tue, 31 Oct 2000 18:44:59 +0100" -->
|
||
|
<!-- isosent="20001031174459" -->
|
||
|
<!-- name="Oliver Rauch" -->
|
||
|
<!-- email="oliver.rauch@Wolfsburg.DE" -->
|
||
|
<!-- subject="Re: sane-config" -->
|
||
|
<!-- id="39FF051B.92A387AC@wolfsburg.de" -->
|
||
|
<!-- inreplyto="200010310634.OAA05108@minerva.ee.uwa.edu.au" -->
|
||
|
<STRONG>From:</STRONG> Oliver Rauch (<A HREF="mailto:oliver.rauch@Wolfsburg.DE?Subject=Re:%20sane-config&In-Reply-To=<39FF051B.92A387AC@wolfsburg.de>"><EM>oliver.rauch@Wolfsburg.DE</EM></A>)<BR>
|
||
|
<STRONG>Date:</STRONG> Tue Oct 31 2000 - 09:44:59 PST
|
||
|
<P>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0329.html">Oliver Rauch: "Re: X-Frontends (xscanimage+xcam) and sane-1.0.4"</A>
|
||
|
<UL>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0327.html">John Craig: "Re: Agfa Snapscan 310 color problem"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0323.html">Petter Reinholdtsen: "Re: sane-config"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0340.html">Petter Reinholdtsen: "Re: sane-config"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#328">[ date ]</A>
|
||
|
<A HREF="index.html#328">[ thread ]</A>
|
||
|
<A HREF="subject.html#328">[ subject ]</A>
|
||
|
<A HREF="author.html#328">[ author ]</A>
|
||
|
</UL>
|
||
|
<HR NOSHADE><P>
|
||
|
<!-- body="start" -->
|
||
|
<P>
|
||
|
Petter Reinholdtsen wrote:
|
||
|
<BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> > does not only print the libs required for compiling sane.
|
||
|
</EM><BR>
|
||
|
<EM>> >
|
||
|
</EM><BR>
|
||
|
<EM>> > $sane-config --libs
|
||
|
</EM><BR>
|
||
|
<EM>> > -lsane -ldl -lnsl -ljpeg -lintl -lm
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> It lists all libraries used by SANE backends. Why is this wrong?
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> > Is someone "maintaining" sane-config?
|
||
|
</EM><BR>
|
||
|
<EM>>
|
||
|
</EM><BR>
|
||
|
<EM>> Well, I made it, but you can just do the changes you need.
|
||
|
</EM><BR>
|
||
|
<EM>> --
|
||
|
</EM><BR>
|
||
|
<EM>> ##> Petter Reinholdtsen <## | <A HREF="mailto:pere@td.org.uit.no?Subject=Re:%20sane-config&In-Reply-To=<39FF051B.92A387AC@wolfsburg.de>">pere@td.org.uit.no</A>
|
||
|
</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:%20sane-config&In-Reply-To=<39FF051B.92A387AC@wolfsburg.de>">majordomo@mostang.com</A>
|
||
|
</EM><BR>
|
||
|
<P>Hi Petter,
|
||
|
<BR>
|
||
|
<P>the help says:
|
||
|
<BR>
|
||
|
<P>$ sane-config -h
|
||
|
<BR>
|
||
|
Usage:
|
||
|
<BR>
|
||
|
sane-config --libs - libraries required to link with SANE
|
||
|
<BR>
|
||
|
<P>So it should print the libs that a required to link a program with sane
|
||
|
<BR>
|
||
|
and not the ones the sane libs are linked against.
|
||
|
<BR>
|
||
|
<P>$ ldd /usr/local/lib/sane/libsane-dll.so
|
||
|
<BR>
|
||
|
libc.so.6 => /lib/libc.so.6 (0x4000e000)
|
||
|
<BR>
|
||
|
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x80000000)
|
||
|
<BR>
|
||
|
<P>it looks like ld (=ld-linux?) is already linked to libsane-dll,
|
||
|
<BR>
|
||
|
the other ones are not needed (If I compile xscanimage without
|
||
|
<BR>
|
||
|
linking nsl, jpeg and intl everything works fine)!
|
||
|
<BR>
|
||
|
<P>I think that if the required libs are linked to the sane backends
|
||
|
<BR>
|
||
|
it should be enough if a frontend links against libsane.
|
||
|
<BR>
|
||
|
<P>So if a backend needs a jpeg library, the library has to be linked
|
||
|
<BR>
|
||
|
to the backend lib not to the frontend.
|
||
|
<BR>
|
||
|
<P>So the output of sane-config should be "-lsane" ?!
|
||
|
<BR>
|
||
|
<P>Bye
|
||
|
<BR>
|
||
|
Oliver
|
||
|
<BR>
|
||
|
<P><P><PRE>
|
||
|
--
|
||
|
Homepage: <A HREF="http://www.wolfsburg.de/~rauch">http://www.wolfsburg.de/~rauch</A>
|
||
|
sane-umax: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-umax.html">http://www.wolfsburg.de/~rauch/sane/sane-umax.html</A>
|
||
|
xsane: <A HREF="http://www.wolfsburg.de/~rauch/sane/sane-xsane.html">http://www.wolfsburg.de/~rauch/sane/sane-xsane.html</A>
|
||
|
E-Mail: mailto:<A HREF="mailto:Oliver.Rauch@Wolfsburg.DE?Subject=Re:%20sane-config&In-Reply-To=<39FF051B.92A387AC@wolfsburg.de>">Oliver.Rauch@Wolfsburg.DE</A>
|
||
|
<P>--
|
||
|
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:%20sane-config&In-Reply-To=<39FF051B.92A387AC@wolfsburg.de>">majordomo@mostang.com</A>
|
||
|
</PRE>
|
||
|
<P><!-- body="end" -->
|
||
|
<HR NOSHADE>
|
||
|
<UL>
|
||
|
<!-- next="start" -->
|
||
|
<LI><STRONG>Next message:</STRONG> <A HREF="0329.html">Oliver Rauch: "Re: X-Frontends (xscanimage+xcam) and sane-1.0.4"</A>
|
||
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0327.html">John Craig: "Re: Agfa Snapscan 310 color problem"</A>
|
||
|
<LI><STRONG>In reply to:</STRONG> <A HREF="0323.html">Petter Reinholdtsen: "Re: sane-config"</A>
|
||
|
<!-- nextthread="start" -->
|
||
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0340.html">Petter Reinholdtsen: "Re: sane-config"</A>
|
||
|
<!-- reply="end" -->
|
||
|
<LI><STRONG>Messages sorted by:</STRONG>
|
||
|
<A HREF="date.html#328">[ date ]</A>
|
||
|
<A HREF="index.html#328">[ thread ]</A>
|
||
|
<A HREF="subject.html#328">[ subject ]</A>
|
||
|
<A HREF="author.html#328">[ 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>Tue Oct 31 2000 - 10:53:41 PST</EM>
|
||
|
</EM>
|
||
|
</SMALL>
|
||
|
</BODY>
|
||
|
</HTML>
|