sane-project-website/old-archive/2000-12/0195.html

192 wiersze
6.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: Building frozen pre-1.0.4</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (hmg-ml@gmx.de)">
<META NAME="Subject" CONTENT="Re: Building frozen pre-1.0.4">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Building frozen pre-1.0.4</H1>
<!-- received="Sun Dec 17 07:33:26 2000" -->
<!-- isoreceived="20001217153326" -->
<!-- sent="Sun, 17 Dec 2000 16:00:19 +0100" -->
<!-- isosent="20001217150019" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="hmg-ml@gmx.de" -->
<!-- subject="Re: Building frozen pre-1.0.4" -->
<!-- id="20001217160019.F8863@vortex.swb.de" -->
<!-- inreplyto="3A3C9F45.4084DADB@free.fr" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:hmg-ml@gmx.de?Subject=Re:%20Building%20frozen%20pre-1.0.4&In-Reply-To=&lt;20001217160019.F8863@vortex.swb.de&gt;"><EM>hmg-ml@gmx.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Sun Dec 17 2000 - 07:00:19 PST
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0194.html">Le Loarer Loic: "Re: Pb with listing devices when no root"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0193.html">Paul Floyd: "Building frozen pre-1.0.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0207.html">abel deuring: "Re: Building frozen pre-1.0.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#195">[ date ]</A>
<A HREF="index.html#195">[ thread ]</A>
<A HREF="subject.html#195">[ subject ]</A>
<A HREF="author.html#195">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sun, Dec 17, 2000 at 12:11:01PM +0100, Paul Floyd wrote:
<BR>
<EM>&gt; I've just been building the latest code in pre-1.0.4 under OS/2
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; To put it into context, it took me about 4 hours just to get it to
</EM><BR>
<EM>&gt; compile. It'll probably take even longer to get it to work.
</EM><BR>
<P>I'm not surprised. We haven't gotten any patches for OS/2 for a long
<BR>
time.
<BR>
<P><EM>&gt; Here's my list of things that are broken.
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; PATH_MAX gets used when it isn't defined. Perhaps it should be in
</EM><BR>
<EM>&gt; config.h.in?
</EM><BR>
<P>Most backends use this:
<BR>
<P>#ifndef PATH_MAX
<BR>
# define PATH_MAX 1024
<BR>
#endif
<BR>
<P>Where does it break? Does it help to add these lines to the files?
<BR>
&nbsp;
<BR>
<EM>&gt; sharp.c and nec.c use shm.c, which is only available on System V (and
</EM><BR>
<EM>&gt; clone) platforms.
</EM><BR>
<P>We can detect the availibility of shm.h in configure and check in
<BR>
nec.c/sharp.c. If both backends depend on shm (no alternative), they
<BR>
can be excluded from compilation. Is OS/2 using the normal configure
<BR>
script?
<BR>
<P><EM>&gt; nec.c still includes constants defined in sharp.h
</EM><BR>
<EM>&gt; (though they are #defined out by default).
</EM><BR>
<P>Could you go into more detail here?
<BR>
<P><EM>&gt; Tell me, is SANE supposed to
</EM><BR>
<EM>&gt; be cross platform or is it supposed to be Linux proprietary-style code?
</EM><BR>
<P>SANE is supposed to run on any Unix platform. It's tested on Linux,
<BR>
FreeBSD, Solaris, AIX and Irix. We will be happy to make it run on all
<BR>
platforms but someone must test them and send patches. I can only test
<BR>
the mentioned platforms.
<BR>
<P>Concerning OS/2: We can include patches for OS/2 (after 1.0.4 is
<BR>
released) if they don't disrupt compilation for Unix. But the patches
<BR>
must be done by OS/2 users. I have asked for OS/2 comments more than
<BR>
once and nobody wanted to do the work. We (the Unix developers) can't
<BR>
do it--it must be done by persons using OS/2.
<BR>
<P><EM>&gt; I can't tell whether the brute force altering of the #defines to allow
</EM><BR>
<EM>&gt; me to compile has any impact as I don't have an NEC or Sharp scanner.
</EM><BR>
<P>What defines exactly? If some backends don't compile, just disable
<BR>
them in the Makefile for now.
<BR>
<P><EM>&gt; By default, the warning options have changed, and this wouldn't compile
</EM><BR>
<EM>&gt; sanei_scsi.c (the structure param around line 2900).
</EM><BR>
<P>Are you talking about the warning parameters given to gcc? These have
<BR>
been set to --disable-warnings by default for the realease. This
<BR>
shouldn't break anything. If disabling warnings break compilation
<BR>
something else must be broken. Please send the output of make / of the
<BR>
compiler.
<BR>
<P>What do you mean by &quot;structure parameter&quot;?
<BR>
<P><EM>&gt; The date of the snapscan code is old. The date of the files on
</EM><BR>
<EM>&gt; sourceforge is November 2000, the included snapscan files are from
</EM><BR>
<EM>&gt; August 2000.
</EM><BR>
<P>Yes, that's correct. The new Snapscan backend can be included into
<BR>
SANE after the release of 1.0.4 as discussed on this mailing list.
<BR>
<P>Thanks for your tests.
<BR>
<P>Bye,
<BR>
&nbsp;&nbsp;Henning
<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:%20Building%20frozen%20pre-1.0.4&In-Reply-To=&lt;20001217160019.F8863@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0194.html">Le Loarer Loic: "Re: Pb with listing devices when no root"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0193.html">Paul Floyd: "Building frozen pre-1.0.4"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0196.html">Paul Floyd: "Re: Building frozen pre-1.0.4"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0207.html">abel deuring: "Re: Building frozen pre-1.0.4"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#195">[ date ]</A>
<A HREF="index.html#195">[ thread ]</A>
<A HREF="subject.html#195">[ subject ]</A>
<A HREF="author.html#195">[ 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>Sun Dec 17 2000 - 09:00:42 PST</EM>
</EM>
</SMALL>
</BODY>
</HTML>