kopia lustrzana https://gitlab.com/sane-project/website
197 wiersze
7.1 KiB
HTML
197 wiersze
7.1 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: Xsane - winsane? was Re: saned won't run under ine</TITLE>
|
|
<META NAME="Author" CONTENT="Morten Sickel (Morten.Sickel@nrpa.no)">
|
|
<META NAME="Subject" CONTENT="Xsane - winsane? was Re: saned won't run under inetd">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Xsane - winsane? was Re: saned won't run under inetd</H1>
|
|
<!-- received="Thu May 10 23:00:13 2001" -->
|
|
<!-- isoreceived="20010511060013" -->
|
|
<!-- sent="Fri, 11 May 2001 08:14:34 +0200" -->
|
|
<!-- isosent="20010511061434" -->
|
|
<!-- name="Morten Sickel" -->
|
|
<!-- email="Morten.Sickel@nrpa.no" -->
|
|
<!-- subject="Xsane - winsane? was Re: saned won't run under inetd" -->
|
|
<!-- id="EBE6A40C53DCD311B18900508B92C8E15094E4@postix.nrpa.no" -->
|
|
<STRONG>From:</STRONG> Morten Sickel (<A HREF="mailto:Morten.Sickel@nrpa.no?Subject=Re:%20Xsane%20-%20winsane?%20%20was%20Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=<EBE6A40C53DCD311B18900508B92C8E15094E4@postix.nrpa.no>"><EM>Morten.Sickel@nrpa.no</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Thu May 10 2001 - 23:14:34 PDT
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0126.html">Rupert Heesom: "Hope you don't mind a HELP-ME! post?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0129.html">Oliver Rauch: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0129.html">Oliver Rauch: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#127">[ date ]</A>
|
|
<A HREF="index.html#127">[ thread ]</A>
|
|
<A HREF="subject.html#127">[ subject ]</A>
|
|
<A HREF="author.html#127">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
Henning Meier-Geinitz wrote:
|
|
<BR>
|
|
<EM>>Hi,
|
|
</EM><BR>
|
|
<P><EM>>On Thu, May 10, 2001 at 01:39:32PM +0200, Morten Sickel wrote:
|
|
</EM><BR>
|
|
<EM>>> I have just installed sane 1.0.4 on a HP 712 running HP-UX 10.20. If
|
|
</EM><BR>
|
|
works
|
|
<BR>
|
|
<EM>>> just fine
|
|
</EM><BR>
|
|
<P><EM>>Does dynamic loading of the SANE libraries work? I'm asking because we
|
|
</EM><BR>
|
|
<EM>>have an entry on <A HREF="http://panda.mostang.com/sane/sane-support.html">http://panda.mostang.com/sane/sane-support.html</A>
|
|
</EM><BR>
|
|
<EM>>indicating dynamic loading isn't working.
|
|
</EM><BR>
|
|
No problems as far as I can see, I just used the standard ./configure
|
|
<BR>
|
|
without any modification, but HP-UX in not the easies OS to handle shared
|
|
<BR>
|
|
libraries with.
|
|
<BR>
|
|
<P><EM>>Any problems with compilation?
|
|
</EM><BR>
|
|
HPs make had problems with some of the Makefiles, when I swithced to gmake,
|
|
<BR>
|
|
all went well, this should be mentioned in the readme.HP-UX, along the lines
|
|
<BR>
|
|
of:
|
|
<BR>
|
|
HPs make utility may have problems with some of the Makefiles, if it
|
|
<BR>
|
|
complains about missing sparators, please try gmake.
|
|
<BR>
|
|
<P>(It could be that under no circumstances HS make will work, but I have only
|
|
<BR>
|
|
tried it on one machine)
|
|
<BR>
|
|
<P><EM>>Which compiler was used?
|
|
</EM><BR>
|
|
gcc v 2.95.2
|
|
<BR>
|
|
<P><EM>>I don't know why this [saned craches under inetd] happens. Petter and me
|
|
</EM><BR>
|
|
<EM>>fixed some possible bugs concerning networking in the last week but I don't
|
|
</EM><BR>
|
|
<EM>>know if this is related. There is a current CVS snapshot at
|
|
</EM><BR>
|
|
<EM>><A HREF="http://www.meier-geinitz.de/sane/sane-cvs-2001-05-10.tar.gz">http://www.meier-geinitz.de/sane/sane-cvs-2001-05-10.tar.gz</A> if you
|
|
</EM><BR>
|
|
<EM>>like to test.
|
|
</EM><BR>
|
|
<P>Would like to, but according to gcc:
|
|
<BR>
|
|
<P>In file included from isfdtype.c:1:
|
|
<BR>
|
|
../include/sane/config.h:391: warning: function declaration isn't a
|
|
<BR>
|
|
prototype
|
|
<BR>
|
|
../include/sane/config.h:396: warning: function declaration isn't a
|
|
<BR>
|
|
prototype
|
|
<BR>
|
|
isfdtype.c:9: warning: no previous prototype for `isfdtype'
|
|
<BR>
|
|
isfdtype.c: In function `isfdtype':
|
|
<BR>
|
|
isfdtype.c:10: storage size of `st' isn't known
|
|
<BR>
|
|
isfdtype.c:12: warning: implicit declaration of function `fstat'
|
|
<BR>
|
|
isfdtype.c:10: warning: unused variable `st'
|
|
<BR>
|
|
isfdtype.c:8: warning: unused parameter `fdtype'
|
|
<BR>
|
|
gmake[1]: *** [isfdtype.o] Error 1
|
|
<BR>
|
|
<P><EM>>Yes. I use a shell script for that. Use the path to the shell script
|
|
</EM><BR>
|
|
<EM>>in /etc/inetd.conf instead of saned. E.g.:
|
|
</EM><BR>
|
|
<P><EM>>#!/bin/sh
|
|
</EM><BR>
|
|
<EM>>SANE_DEBUG_MUSTEK=2
|
|
</EM><BR>
|
|
<EM>>export SANE_DEBUG_MUSTEK
|
|
</EM><BR>
|
|
<EM>>/usr/local/sbin/saned
|
|
</EM><BR>
|
|
<P>I used Petters script called from inetd.conf, et voila, it started like a
|
|
<BR>
|
|
charm.. I was thinking about some kind of time-out error, but as it works
|
|
<BR>
|
|
when run from a shellscript under inetd, that is obiously not the problem.
|
|
<BR>
|
|
<P>But: now xsane stopped working from my windows box. Even though scanimage
|
|
<BR>
|
|
works fine, xsane claims it cannot find the device, it doesn't seem to
|
|
<BR>
|
|
contact the server at all, no output is produced with SANE_DEBUG_SANEI,
|
|
<BR>
|
|
SANE_DEBUG_DLL and SANE_DEBUG_HP all set to 255
|
|
<BR>
|
|
<P>ie:
|
|
<BR>
|
|
scanimage.exe -dserver.nrpa.no:hp:/dev/scanner
|
|
<BR>
|
|
works whereas
|
|
<BR>
|
|
xscan.exe -dserver.nrpa.no:hp:/dev/scanner
|
|
<BR>
|
|
doesn't find the scanner
|
|
<BR>
|
|
<P>(Before anyone points out that I have forgotten the net: part, these are the
|
|
<BR>
|
|
windows application with net: 'hardwired' into them)
|
|
<BR>
|
|
<P>Morten Sickel
|
|
<BR>
|
|
Norwegian Radiation Protection Authority
|
|
<BR>
|
|
<P><P><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:%20Xsane%20-%20winsane?%20%20was%20Re:%20saned%20won't%20run%20under%20inetd&In-Reply-To=<EBE6A40C53DCD311B18900508B92C8E15094E4@postix.nrpa.no>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0128.html">Oliver Rauch: "Re: ( XSane parameters or buffer bug"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0126.html">Rupert Heesom: "Hope you don't mind a HELP-ME! post?"</A>
|
|
<!-- nextthread="start" -->
|
|
<LI><STRONG>Next in thread:</STRONG> <A HREF="0129.html">Oliver Rauch: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0129.html">Oliver Rauch: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<LI><STRONG>Reply:</STRONG> <A HREF="0137.html">Henning Meier-Geinitz: "Re: Xsane - winsane? was Re: saned won't run under inetd"</A>
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#127">[ date ]</A>
|
|
<A HREF="index.html#127">[ thread ]</A>
|
|
<A HREF="subject.html#127">[ subject ]</A>
|
|
<A HREF="author.html#127">[ 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>Thu May 10 2001 - 23:01:03 PDT</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|