kopia lustrzana https://gitlab.com/sane-project/website
157 wiersze
7.5 KiB
HTML
157 wiersze
7.5 KiB
HTML
<!-- received="Fri Feb 13 11:07:59 1998 PST" -->
|
||
<!-- sent="Fri, 13 Feb 1998 20:07:55 +0100" -->
|
||
<!-- name="Ondrej Popp" -->
|
||
<!-- email="ondrej@geocities.com" -->
|
||
<!-- subject="Re: sane and gimp" -->
|
||
<!-- id="" -->
|
||
<!-- inreplyto="sane and gimp" -->
|
||
<title>sane-devel: Re: sane and gimp</title>
|
||
<h1>Re: sane and gimp</h1>
|
||
<b>Ondrej Popp</b> (<a href="mailto:ondrej@geocities.com"><i>ondrej@geocities.com</i></a>)<br>
|
||
<i>Fri, 13 Feb 1998 20:07:55 +0100</i>
|
||
<p>
|
||
<ul>
|
||
<li> <b>Messages sorted by:</b> <a href="date.html#86">[ date ]</a><a href="index.html#86">[ thread ]</a><a href="subject.html#86">[ subject ]</a><a href="author.html#86">[ author ]</a>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0087.html">Stefano Garavaglia: "Mustek 1200SP Fix (I hope :)"</a>
|
||
<li> <b>Previous message:</b> <a href="0085.html">ccurtis@facm.fit.edu: "Re: [PARPORT] Scanner - Primax PagePartner"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0067.html">tim drummer: "sane and gimp"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|
||
<!-- body="start" -->
|
||
Yes... I have seen this problem too, and it took me a while to<br>
|
||
figure out what was going on. But I do not believe I reported<br>
|
||
this on this list... Well anyway the problem is caused by the fact<br>
|
||
that the sane distribution does not set a compiler directive,<br>
|
||
or.. this directive is not set properly by configure...<br>
|
||
So, compiling xscanimage in this way won't make it suitable as a gimp<br>
|
||
plugin. To fix this you must make sure xscanimage is compiled with the<br>
|
||
<br>
|
||
HAVE_LIBGIMP_GIMP_H directive turned on.<br>
|
||
<p>
|
||
That makes the problem go away.<br>
|
||
<p>
|
||
You can set this directive in <sane root>/include/sane/config.h<br>
|
||
<p>
|
||
I hope I have remembered this correctly, (just browsing through the<br>
|
||
sane distribution again) so if I have not, its something along<br>
|
||
these lines...<br>
|
||
<p>
|
||
regards<br>
|
||
<p>
|
||
Ondrej<br>
|
||
<p>
|
||
tim drummer wrote:<br>
|
||
<i>> </i><br>
|
||
<i>> i am having trouble getting the gimp to use the SANE xscaninmage</i><br>
|
||
<i>> software as a plug-in. however, before i explain the problem, please let</i><br>
|
||
<i>> me relate the success i have had!</i><br>
|
||
<i>> </i><br>
|
||
<i>> last night i purchased a umax astra 1200S scanner. i connected it to my</i><br>
|
||
<i>> zip zoom card via the zip zoom drive itself and then terminated at the</i><br>
|
||
<i>> scanner. this is a particualrly nice arrangement since the scanner is a 25</i><br>
|
||
<i>> pin connector and so is the zip zoom.</i><br>
|
||
<i>> </i><br>
|
||
<i>> one item of difficulty is that the scanner is preset to ID 5 as is the zip</i><br>
|
||
<i>> drive and it was easier to change the ID on the zip drive. however, when</i><br>
|
||
<i>> booted with this configuration, the scanner shows up as /dev/sga using</i><br>
|
||
<i>> find-scanner and upon trying to start a scan the whole system crashes ( i</i><br>
|
||
<i>> should mention that my primary hard drive is on separate AHA 2940UW</i><br>
|
||
<i>> controller) forcing a hard reset. upon swapping the SCSI ID's, the scanner</i><br>
|
||
<i>> is now sgc and it works fantastically! i had the setup working using</i><br>
|
||
<i>> xscanimage in under an hour.</i><br>
|
||
<i>> </i><br>
|
||
<i>> now to the problem: i compiled sane 0.70 without any problems, made the</i><br>
|
||
<i>> symlink in my ~/.gimp/plug-ins directory to xscanimage as per the man</i><br>
|
||
<i>> page, however upon starting the gimp (0.99.18) i get the following output:</i><br>
|
||
<i>> </i><br>
|
||
<i>> tim@nrb119c: /home/tim>gimp</i><br>
|
||
<i>> query plug-in: "/home/tim/.gimp/plug-ins/xscanimage"</i><br>
|
||
<i>> /home/tim/.gimp/plug-ins/xscanimage: illegal option -- g</i><br>
|
||
<i>> Usage: xscanimage [OPTION]... [DEVICE]</i><br>
|
||
<i>> </i><br>
|
||
<i>> Start up graphical user interface to access SANE (Scanner Access Now</i><br>
|
||
<i>> Easy) devices.</i><br>
|
||
<i>> </i><br>
|
||
<i>> -h, --help display this help message and exit</i><br>
|
||
<i>> -V, --version print version information</i><br>
|
||
<i>> wire_read: unexpected EOF</i><br>
|
||
<i>> writing "/home/tim/.gimp/pluginrc"</i><br>
|
||
<i>> Starting extensions:</i><br>
|
||
<i>> </i><br>
|
||
<i>> </i><br>
|
||
<i>> i found a previous article in the SANE discussion archive from someone</i><br>
|
||
<i>> having a similar problem and the recommendation was to make sure that the</i><br>
|
||
<i>> gimp header file is being seen when SANE is compiled. i ran</i><br>
|
||
<i>> make distclean</i><br>
|
||
<i>> </i><br>
|
||
<i>> and</i><br>
|
||
<i>> </i><br>
|
||
<i>> ./configure.</i><br>
|
||
<i>> </i><br>
|
||
<i>> i find: checking for libgimp/gimp.h... yes</i><br>
|
||
<i>> </i><br>
|
||
<i>> then</i><br>
|
||
<i>> </i><br>
|
||
<i>> make</i><br>
|
||
<i>> </i><br>
|
||
<i>> and make install</i><br>
|
||
<i>> </i><br>
|
||
<i>> everything appears to compile ok, yet the problem persits. sure would be</i><br>
|
||
<i>> nice to scan directly into the gimp.</i><br>
|
||
<i>> </i><br>
|
||
<i>> any suggestions??</i><br>
|
||
<i>> </i><br>
|
||
<i>> thanks!</i><br>
|
||
<i>> </i><br>
|
||
<i>> tim</i><br>
|
||
<i>> </i><br>
|
||
<i>> ===================================================================</i><br>
|
||
<i>> Any man can deal with adversity. A real test of character is to put</i><br>
|
||
<i>> someone in a position of power.</i><br>
|
||
<i>> -- Abraham Lincoln</i><br>
|
||
<i>> An optimist believes we live in the best of all possible worlds. A</i><br>
|
||
<i>> pessimist fears he is right.</i><br>
|
||
<i>> </i><br>
|
||
<i>> <a href="http://nrb119c.physics.fsu.edu/~tim">http://nrb119c.physics.fsu.edu/~tim</a></i><br>
|
||
<i>> </i><br>
|
||
<i>> Tim Drummer</i><br>
|
||
<i>> </i><br>
|
||
<i>> --</i><br>
|
||
<i>> Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a></i><br>
|
||
<i>> To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a></i><br>
|
||
<p>
|
||
<pre>
|
||
--
|
||
________________________________________________________
|
||
| |
|
||
| |
|
||
| <a href="http://www.geocities.com/SiliconValley/Lakes/6150">http://www.geocities.com/SiliconValley/Lakes/6150</a> |
|
||
| |
|
||
_ | | _
|
||
/ ) | | ( \
|
||
_( (_ | _ E-mail: <a href="mailto:ondrej@geocities.com">ondrej@geocities.com</a> _ | _) )_
|
||
(((\ \)|_/ )________________________________________________( \_|(/
|
||
/)))
|
||
\\\\ \_/ / \ \_/ ////
|
||
\ / \ /
|
||
\ _/ \_ /
|
||
/__/ \__\
|
||
<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">majordomo@mostang.com</a>
|
||
</pre>
|
||
<!-- body="end" -->
|
||
<p>
|
||
<ul>
|
||
<!-- next="start" -->
|
||
<li> <b>Next message:</b> <a href="0087.html">Stefano Garavaglia: "Mustek 1200SP Fix (I hope :)"</a>
|
||
<li> <b>Previous message:</b> <a href="0085.html">ccurtis@facm.fit.edu: "Re: [PARPORT] Scanner - Primax PagePartner"</a>
|
||
<li> <b>Maybe in reply to:</b> <a href="0067.html">tim drummer: "sane and gimp"</a>
|
||
<!-- nextthread="start" -->
|
||
<!-- reply="end" -->
|
||
</ul>
|