sane-project-website/old-archive/1998-10/0306.html

97 wiersze
4.6 KiB
HTML

<!-- received="Sat Oct 31 01:11:14 1998 PST" -->
<!-- sent="Fri, 30 Oct 1998 23:10:07 -1000" -->
<!-- name="Scott J. Kramer" -->
<!-- email="sjk@lux.com" -->
<!-- subject="Re: pre-release available for testing" -->
<!-- id="981030231007.ZM5366@lux.com" -->
<!-- inreplyto=";"&lt;Ge1j"@Oaz{`~Zt8&lt;w#eq_BY_Jp^{|y'*w?XO6-iCTe=H" -->
<title>sane-devel: Re: pre-release available for testing</title>
<h1>Re: pre-release available for testing</h1>
<b>Scott J. Kramer</b> (<a href="mailto:sjk@lux.com"><i>sjk@lux.com</i></a>)<br>
<i>Fri, 30 Oct 1998 23:10:07 -1000</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#306">[ date ]</a><a href="index.html#306">[ thread ]</a><a href="subject.html#306">[ subject ]</a><a href="author.html#306">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0307.html">Oliver Rauch: "Re: pre-release available for testing"</a>
<li> <b>Previous message:</b> <a href="0305.html">David Mosberger-Tang: "pre-release available for testing"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
On Fri, 30-Oct-1998 @ 23:42, David Mosberger-Tang wrote:<br>
<i>&gt; Subject: pre-release available for testing</i><br>
<p>
[...]<br>
<p>
Hi David,<br>
<p>
Just grabbed sane-pre0.75.tar.gz and diff'd it with sane-0.74, and...<br>
<p>
I'd like to suggest upgrading to at least version 1.2 of libtool --<br>
that was what was necessary for me to build sane-0.74 for Solaris<br>
2.5.1 (gcc-2.8.1). Otherwise, the `make' produces core dumps when<br>
attempting to create executables under frontend/.libs:<br>
<p>
...<br>
making all in frontend<br>
make[1]: Entering directory `/opt/src/local/sane-0.74/frontend'<br>
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/opt/local/etc/sane.d -DPATH_SANE_DATA_DIR=/opt/local/share -DV_MAJOR=0 -DV_MINOR=74 -O2 -Wall -I/opt/X11/lib/glib/include -I/opt/X11/include -I/opt/X11R6.3/include scanimage.c<br>
mkdir .libs<br>
gcc -s -o .libs/scanimage scanimage.o -R/opt/local/lib ../backend/.libs/libsane.so ../lib/liblib.a -ldl -lsocket -lnsl -lintl -lm<br>
creating scanimage<br>
Segmentation Fault - core dumped<br>
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/include -D_GNU_SOURCE -DPATH_SANE_CONFIG_DIR=/opt/local/etc/sane.d -DPATH_SANE_DATA_DIR=/opt/local/share -DV_MAJOR=0 -DV_MINOR=74 -O2 -Wall -I/opt/X11/lib/glib/include -I/opt/X11/include -I/opt/X11R6.3/include xscanimage.c<br>
...<br>
<p>
That doesn't show the call to the libtool script, but the "creating<br>
scanimage" message is from it. I tracked the trouble to some sort<br>
of printf command argument overflow bug; I didn't save the details,<br>
sorry, and I'm too lazy/busy to go thru the drill that I did last<br>
month to isolate it. :-) To my knowledge, no patch exists.<br>
<p>
I grabbed ltconfig and ltmain.sh files from the gtk+1.0.5 distribution<br>
and those generated a working libtools script. The difference that<br>
matters is the gtk+ ltconfig does tests for a working echo command<br>
before the test for printf.<br>
<p>
I haven't tried compiled sane-pre0.75 yet, but I'm certain it will<br>
fail unless I do the libtool upgrade as I did for sane-0.74. I'll<br>
let you know if there are any other Solaris-type troubles with 0.75,<br>
too.<br>
<p>
Thanx much to all SANE authors for writing/providing this cool<br>
software package. I've converted an old Sun IPX into a "scanner<br>
server" using saned and it works just dandy thru gimp+xscanimage<br>
running on an SS5. Sometimes the xscanimage plugin crashes, but<br>
that's only a minor nuisance 'cuz I'm not doing anything serious<br>
enough to care... I'd rather that than be forced to use a PC to<br>
run the scanner. :-)<br>
<p>
Aloha,<br>
<p>
-sjk<br>
<p>
<pre>
--
Scott J. Kramer LUX Consulting Services
UNIX/Network Systems Consultant P.O. Box 1487
&lt;<a href="mailto:sjk@lux.com">sjk@lux.com</a>&gt; Kailua, HI 96734
<p>
PGP Key fingerprint = BB 84 51 87 41 9C E0 46 B4 54 EA 11 A5 18 34 71
<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="0307.html">Oliver Rauch: "Re: pre-release available for testing"</a>
<li> <b>Previous message:</b> <a href="0305.html">David Mosberger-Tang: "pre-release available for testing"</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>