sane-project-website/old-archive/2001-01/0131.html

111 wiersze
4.6 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: Compiling Sane Now Infuriating</TITLE>
<META NAME="Author" CONTENT="Jeffrey W. Baker (jwbaker@acm.org)">
<META NAME="Subject" CONTENT="Compiling Sane Now Infuriating">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Compiling Sane Now Infuriating</H1>
<!-- received="Fri Jan 12 08:32:54 2001" -->
<!-- isoreceived="20010112163254" -->
<!-- sent="Fri, 12 Jan 2001 08:44:22 -0800 (PST)" -->
<!-- isosent="20010112164422" -->
<!-- name="Jeffrey W. Baker" -->
<!-- email="jwbaker@acm.org" -->
<!-- subject="Compiling Sane Now Infuriating" -->
<!-- id="Pine.LNX.4.21.0101120834540.32437-100000@desktop" -->
<STRONG>From:</STRONG> Jeffrey W. Baker (<A HREF="mailto:jwbaker@acm.org?Subject=Re:%20Compiling%20Sane%20Now%20Infuriating&In-Reply-To=&lt;Pine.LNX.4.21.0101120834540.32437-100000@desktop&gt;"><EM>jwbaker@acm.org</EM></A>)<BR>
<STRONG>Date:</STRONG> Fri Jan 12 2001 - 08:44:22 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0130.html">Oliver Rauch: "Re: sane,saned und XSane/Windows"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0133.html">Douglas Gilbert: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0135.html">Henning Meier-Geinitz: "Re: Compiling Sane Now Infuriating"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#131">[ date ]</A>
<A HREF="index.html#131">[ thread ]</A>
<A HREF="subject.html#131">[ subject ]</A>
<A HREF="author.html#131">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>Is it actually possible to compile sane? I downloaded both parts of the
<BR>
1.0.4 package. I tried to build the backends, but sanei_scsi.c has some
<BR>
preprocessor horkage by which it includes /usr/include/scsi/sg.h and
<BR>
/usr/include/linux/../scsi/sg.h, which are clearly the same file and gcc
<BR>
gets pissed off by redefinition. After I fixed this problem (not the
<BR>
right way, I'm sure, but by hard-coding #include &lt;scsi/sg.h&gt;), the package
<BR>
compiled and installed.
<BR>
<P>Then I turned to the frontends. They won't even configure, because they
<BR>
can't detect the sane installation. The test program fails because it
<BR>
doesn't understand sane_major_version. No surprise there, because none of
<BR>
the sane header files define sane_major_version, only SANE_VERSION_MAJOR.
<BR>
<P>BTW my system is slackware-current, Linux 2.4.0, gcc 2.95.2, glibc 2.2.
<BR>
<P>So the bottom line is that I cannot compile sane release 1.0.4 on this
<BR>
system at all. Did I miss a magic step, or should I try the CVS version
<BR>
instead?
<BR>
<P>For now, I'm sticking with vuescan.
<BR>
<P>-jwb
<BR>
<P><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:%20Compiling%20Sane%20Now%20Infuriating&In-Reply-To=&lt;Pine.LNX.4.21.0101120834540.32437-100000@desktop&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0130.html">Oliver Rauch: "Re: sane,saned und XSane/Windows"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0132.html">Oliver Rauch: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0133.html">Douglas Gilbert: "Re: Compiling Sane Now Infuriating"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0135.html">Henning Meier-Geinitz: "Re: Compiling Sane Now Infuriating"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#131">[ date ]</A>
<A HREF="index.html#131">[ thread ]</A>
<A HREF="subject.html#131">[ subject ]</A>
<A HREF="author.html#131">[ 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>Fri Jan 12 2001 - 08:34:20 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>