I have a problem compiling and installing sane-0.72 under solaris x86 2.6
I use gtk 1.0.0 & gimp 0.99.27 & gcc 2.7.2.2 & sane-0.72 (including
the patch from Michael Polo to sanei_pio.c)
I used the following commans to build sane:
setenv CPPFLAGS -I/opt/include -L/opt/lib
setenv MAKE /opt/bin/make
./configure --prefix=/opt
/opt/bin/make
/opt/bin/make install
The last steps breaks with the following messages:
make[1]: Entering directory `/home/install/sane-0.72/frontend'
../mkinstalldirs /opt/bin /opt/sbin /opt/share
.././install-sh -c scanimage /opt/bin/scanimage
.././install-sh -c xscanimage /opt/bin/xscanimage
../libtool: syntax error at line 105: `fi' unexpected
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/install/sane-0.72/frontend'
make: *** [install-recursive] Error 1
Exit 2
On further inspection, make scanimage & xscanimage die with an
Segmentation Fault:
gcc -L/usr/openwin/lib -o .libs/scanimage scanimage.o -R/opt/lib
../backend/.libs/libsane.so -L/usr/openwin/lib ../lib/liblib.a -ldl -lsocket
-lnsl -lintl -lm
creating scanimage
Segmentation Fault
gcc -L/usr/openwin/lib -o .libs/xscanimage xscanimage.o progress.o preview.o
preferences.o gtkglue.o ../sanei/libsanei.a -R/opt/lib
../backend/.libs/libsane.so -L/usr/openwin/lib ../lib/liblib.a -lgimp -lgtk
-lgdk -lXi -lglib -lXext -lX11 -ldl -lsocket -lnsl -lintl -lm
creating xscanimage
Segmentation Fault
Is this normal ?
Executing scanimage yields the following result:
/opt/bin/scanimage: X/../backend/.libs:/usr/openwin/lib:/opt/X11R6/lib/X11:/opt
/lib: not found
/opt/bin/scanimage: -e: not found
/opt/bin/scanimage: /opt/bin/scanimage: cannot exec : not found
Exit 1
Any Suggestions would be greatly appreciated.
Andreas Graevinghoff
FernUniversitaet Hagen
I forgot to mention that the scg driver is installed on this machine
(configure regocnizes the corresponding .h file) and findscanner is
able to find my scanner.
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com