On Fri, Feb 6, 2009 at 3:40 PM, Mihai Emanuel Dolha <mihaid8 at gmail.com>wrote:
> Hello! > > First of all I want to mention that I'm a new user of Sane and I don't > know actually if I'm posting on the correct list. If I'm not I apologize > in advance. > > Now for the actual problem: I need th Sane CVS for using a scanner (it's > a Pixma), I downloaded sane-backends from CVS and I did: > > /mihai at mikedell:~/sane-backends$ ./configure --prefix=/usr > --sysconfdir=/etc --localstatedir=/var/ > > This is went smooth with no problems, but when I did make I got: > > /mihai at mikedell:~/sane-backends$ make > Making all in include > make[1]: Entering directory `/home/mihai/sane-backends/include' > make[1]: Nothing to be done for `all'. > make[1]: Leaving directory `/home/mihai/sane-backends/include' > > ..................................................................................................... > /bin/bash ../libtool --silent --tag=CC --mode=compile gcc > -DHAVE_CONFIG_H -I. -I../include/sane -I/usr/local/include -I. -I. > -I../include -I../include -DLIBDIR="/usr/lib/sane" -D_REENTRANT > -DPATH_SANE_CONFIG_DIR=/etc/sane.d -DPATH_SANE_DATA_DIR=/usr/share > -DPATH_SANE_LOCK_DIR=/var/lock/sane -DV_MAJOR=1 -DV_MINOR=1 > -g -O2 -W -Wall -Wcast-align -Wcast-qual -Wmissing-declarations > -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes > -pedantic -ansi -MT ../sanei/sanei_jpeg.lo -MD -MP -MF > .deps/../sanei/sanei_jpeg.Tpo -c -o ../sanei/sanei_jpeg.lo > ../sanei/sanei_jpeg.c > ../sanei/sanei_jpeg.c:235: warning: ISO C forbids an empty source file > *../sanei/sanei_jpeg.c:7: fatal error: opening dependency file > .deps/../sanei/sanei_jpeg.Tpo: No such file or directory > compilation terminated. > make[1]: *** [../sanei/sanei_jpeg.lo] Error 1* > make[1]: Leaving directory `/home/mihai/sane-backends/backend' > make: *** [all-recursive] Error 1 > > /If it's relevant, I'm using Ubuntu 8.10. > <sane-devel-request at lists.alioth.debian.org> I think I see the problem... You can either install libjpeg development package or try the following patch out. I didn't think I had libjpeg on cygwin... not sure why I'm not seeing this issue myself. RCS file: /cvsroot/sane/sane-backends/sanei/Makefile.in,v retrieving revision 1.27 diff -u -r1.27 Makefile.in --- sanei/Makefile.in 16 Jan 2009 23:39:48 -0000 1.27 +++ sanei/Makefile.in 6 Feb 2009 23:00:14 -0000 @@ -53,13 +53,13 @@ sanei_net.o sanei_wire.o sanei_codec_ascii.o sanei_codec_bin.o \ sanei_scsi.o sanei_config.o sanei_config2.o sanei_pio.o sanei_pa4s2.o \ sanei_auth.o sanei_usb.o sanei_thread.o sanei_pv8630.o sanei_pp.o \ - sanei_lm983x.o sanei_access.o @SANEI_JPEG@ sanei_tcp.o sanei_udp.o + sanei_lm983x.o sanei_access.o sanei_jpeg.o sanei_tcp.o sanei_udp.o LIBSANEI_LTOBJS = sanei_ab306.lo sanei_constrain_value.lo sanei_init_debug.lo \ sanei_net.lo sanei_wire.lo sanei_codec_ascii.lo sanei_codec_bin.lo \ sanei_scsi.lo sanei_config.lo sanei_config2.lo sanei_pio.lo \ sanei_pa4s2.lo sanei_auth.lo sanei_usb.lo sanei_thread.lo \ - sanei_pv8630.lo sanei_lm983x.lo sanei_pp.lo sanei_access.lo @SANEI_JPEG_LO@ \ + sanei_pv8630.lo sanei_lm983x.lo sanei_pp.lo sanei_access.lo sanei_jpeg.lo \ sanei_tcp.lo sanei_udp.lo TARGETS = libsanei.a $(LIBSANEI_LTOBJS) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090206/6a734331/attachment.htm