sane-project-website/old-archive/2001-06/0061.html

162 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: Compiling on OS/2</TITLE>
<META NAME="Author" CONTENT="Henning Meier-Geinitz (henning@meier-geinitz.de)">
<META NAME="Subject" CONTENT="Re: Compiling on OS/2">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Re: Compiling on OS/2</H1>
<!-- received="Mon Jun 4 09:07:36 2001" -->
<!-- isoreceived="20010604160736" -->
<!-- sent="Mon, 4 Jun 2001 18:00:17 +0200" -->
<!-- isosent="20010604160017" -->
<!-- name="Henning Meier-Geinitz" -->
<!-- email="henning@meier-geinitz.de" -->
<!-- subject="Re: Compiling on OS/2" -->
<!-- id="20010604180017.A8688@vortex.swb.de" -->
<!-- inreplyto="200106031915.f53JFPP13847@panda.mostang.com" -->
<STRONG>From:</STRONG> Henning Meier-Geinitz (<A HREF="mailto:henning@meier-geinitz.de?Subject=Re:%20Compiling%20on%20OS/2&In-Reply-To=&lt;20010604180017.A8688@vortex.swb.de&gt;"><EM>henning@meier-geinitz.de</EM></A>)<BR>
<STRONG>Date:</STRONG> Mon Jun 04 2001 - 09:00:17 PDT
<P>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Jonathan Buzzard: "Re: Fwd: Re: Hi -- USB UMAX Astra 2200 question"</A>
<UL>
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Oliver Rauch: "Re: xsane requests username and password after saned has exited"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0042.html">Franz Bakan: "Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0067.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0067.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0080.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#61">[ date ]</A>
<A HREF="index.html#61">[ thread ]</A>
<A HREF="subject.html#61">[ subject ]</A>
<A HREF="author.html#61">[ author ]</A>
</UL>
<HR NOSHADE><P>
<!-- body="start" -->
<P>
Hi,
<BR>
<P>On Sun, Jun 03, 2001 at 09:14:30PM +0200, Franz Bakan wrote:
<BR>
<EM>&gt; To compile sane-backends/frontend/test
</EM><BR>
<EM>&gt; I had to change the order of some #include commands in test.c:
</EM><BR>
<EM>&gt; If I use the following order it builds:
</EM><BR>
<EM>&gt; ...
</EM><BR>
<EM>&gt; #include &lt;ctype.h&gt;
</EM><BR>
<EM>&gt; #include &lt;limits.h&gt;
</EM><BR>
<EM>&gt; #include &lt;netdb.h&gt;
</EM><BR>
<EM>&gt; #include &lt;stdio.h&gt;
</EM><BR>
<EM>&gt; #include &lt;stdlib.h&gt;
</EM><BR>
<EM>&gt; #include &lt;string.h&gt;
</EM><BR>
<EM>&gt; #include &lt;unistd.h&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &lt;sys/socket.h&gt;
</EM><BR>
<EM>&gt; #include &lt;sys/types.h&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &lt;netinet/in.h&gt;
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; #include &lt;sane/sane.h&gt;
</EM><BR>
<EM>&gt; ...
</EM><BR>
<P>??? This *is* the order in current CVS.
<BR>
<P><EM>&gt; 'make install' partly works, but has some minor problems because
</EM><BR>
<EM>&gt; it does not find the dlls because there are no dlls ...
</EM><BR>
<P>This may be because of --disable-dynamic instead of --disable-shared.
<BR>
<P><EM>&gt; I also succeeded to build a statical linked working Xscanimage :-)
</EM><BR>
<P>Fine.
<BR>
<P><EM>&gt; I had to copy 'g:/XFree86/bin/gtk12-config' to 'g:/XFree86/bin/gtk-config'
</EM><BR>
<P>You can also set the environment variable GTK_CONFIG to
<BR>
g:/XFree86/bin/gtk12-config, at least that works on FreeBSD.
<BR>
<P><EM>&gt; and used:
</EM><BR>
<EM>&gt; sh configure --with-sane-prefix=g:/usr --disable-sanetest
</EM><BR>
<EM>&gt; --with-gtk-prefix=g:/XFree86 --disable-gtktest
</EM><BR>
<EM>&gt;
</EM><BR>
<EM>&gt; I had to delete the 'struct timespec' definition from pthread.h
</EM><BR>
<EM>&gt; because this def is allready in sys/time.h
</EM><BR>
<P>Am I right that this is not a SANE problem?
<BR>
<P><EM>&gt; I have documented all this at
</EM><BR>
<EM>&gt; <A HREF="http://home.tiscalinet.de/fbakan/sane105.htm">http://home.tiscalinet.de/fbakan/sane105.htm</A>
</EM><BR>
<P>Thanks. I think the best thing is to put a link into the platforms
<BR>
list for 1.0.5 and maybe on the related page.
<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:%20Compiling%20on%20OS/2&In-Reply-To=&lt;20010604180017.A8688@vortex.swb.de&gt;">majordomo@mostang.com</A>
</PRE>
<P><!-- body="end" -->
<HR NOSHADE>
<UL>
<!-- next="start" -->
<LI><STRONG>Next message:</STRONG> <A HREF="0062.html">Jonathan Buzzard: "Re: Fwd: Re: Hi -- USB UMAX Astra 2200 question"</A>
<LI><STRONG>Previous message:</STRONG> <A HREF="0060.html">Oliver Rauch: "Re: xsane requests username and password after saned has exited"</A>
<LI><STRONG>In reply to:</STRONG> <A HREF="0042.html">Franz Bakan: "Compiling on OS/2"</A>
<!-- nextthread="start" -->
<LI><STRONG>Next in thread:</STRONG> <A HREF="0067.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0067.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<LI><STRONG>Reply:</STRONG> <A HREF="0080.html">Franz Bakan: "Re: Compiling on OS/2"</A>
<!-- reply="end" -->
<LI><STRONG>Messages sorted by:</STRONG>
<A HREF="date.html#61">[ date ]</A>
<A HREF="index.html#61">[ thread ]</A>
<A HREF="subject.html#61">[ subject ]</A>
<A HREF="author.html#61">[ 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>Mon Jun 04 2001 - 09:10:02 PDT</EM>
</EM>
</SMALL>
</BODY>
</HTML>