kopia lustrzana https://gitlab.com/sane-project/website
162 wiersze
5.7 KiB
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=<20010604180017.A8688@vortex.swb.de>"><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>> To compile sane-backends/frontend/test
|
|
</EM><BR>
|
|
<EM>> I had to change the order of some #include commands in test.c:
|
|
</EM><BR>
|
|
<EM>> If I use the following order it builds:
|
|
</EM><BR>
|
|
<EM>> ...
|
|
</EM><BR>
|
|
<EM>> #include <ctype.h>
|
|
</EM><BR>
|
|
<EM>> #include <limits.h>
|
|
</EM><BR>
|
|
<EM>> #include <netdb.h>
|
|
</EM><BR>
|
|
<EM>> #include <stdio.h>
|
|
</EM><BR>
|
|
<EM>> #include <stdlib.h>
|
|
</EM><BR>
|
|
<EM>> #include <string.h>
|
|
</EM><BR>
|
|
<EM>> #include <unistd.h>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #include <sys/socket.h>
|
|
</EM><BR>
|
|
<EM>> #include <sys/types.h>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #include <netinet/in.h>
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> #include <sane/sane.h>
|
|
</EM><BR>
|
|
<EM>> ...
|
|
</EM><BR>
|
|
<P>??? This *is* the order in current CVS.
|
|
<BR>
|
|
<P><EM>> 'make install' partly works, but has some minor problems because
|
|
</EM><BR>
|
|
<EM>> 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>> I also succeeded to build a statical linked working Xscanimage :-)
|
|
</EM><BR>
|
|
<P>Fine.
|
|
<BR>
|
|
<P><EM>> 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>> and used:
|
|
</EM><BR>
|
|
<EM>> sh configure --with-sane-prefix=g:/usr --disable-sanetest
|
|
</EM><BR>
|
|
<EM>> --with-gtk-prefix=g:/XFree86 --disable-gtktest
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> I had to delete the 'struct timespec' definition from pthread.h
|
|
</EM><BR>
|
|
<EM>> 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>> I have documented all this at
|
|
</EM><BR>
|
|
<EM>> <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>
|
|
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=<20010604180017.A8688@vortex.swb.de>">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>
|