ah looks like I need the -l flag On Thu, Jan 11, 2018 at 11:21 AM, Jeff Sadowski <jeff.sadow...@gmail.com> wrote: > Progress. I am now able to scan jpeg files :-) > And test out more of my phpsaneng program. > My preview worked awesome. I was able to watch the image as it was > being scanned. > > I redid git as recommended in INSTALL.linux > > apt remove sane sane-utils > git clone git://git.debian.org/sane/sane-backends.git > ./configure --prefix=/usr --libdir=/usr/lib --sysconfdir=/etc > --localstatedir=/var --enable-avahi > make > make install > > it is odd that -V reports as so > > root@raspberrypi:~/sane/sane-backends:x86$ scanimage -V > scanimage (sane-backends) 1.0.27git; backend version 1.0.24 > > Is this something I should be worried about? > Where would it be getting 1.0.24 > I tried removing all sane files I could find and then > make install from my git repo and I still get the same output. > > > Now to try and get saned working > saned use to at least connect to the port but now I get nothing > > root@raspberrypi:~/sane/sane-backends:x86$ saned -d128 > root@raspberrypi:~/sane/sane-backends:x86$ > > root@raspberrypi:~/sane/sane-backends:x86$ saned -d128 -b 192.168.1.27 > root@raspberrypi:~/sane/sane-backends:x86$ > > any suggestions on how to get it to report more? > maybe a compile flag to get something from it? > > On Thu, Jan 11, 2018 at 8:19 AM, Jeff Sadowski <jeff.sadow...@gmail.com> > wrote: >> root@raspberrypi:~:arm$ dpkg -c brscan2-0.2.5-1.i386.deb |grep lib|grep so >> -rwxr-xr-x root/root 11444 2009-12-01 18:38 ./usr/lib/libbrcolm2.so.1.0.0 >> -rwxr-xr-x root/root 27912 2009-12-01 18:38 >> ./usr/lib/libbrscandec2.so.1.0.0 >> -rwxr-xr-x root/root 94516 2009-12-01 18:38 >> ./usr/lib/sane/libsane-brother2.so.1.0.7 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/libbrcolm2.so -> /usr/lib/libbrcolm2.so.1 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/libbrscandec2.so.1 -> /usr/lib/libbrscandec2.so.1.0.0 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/libbrscandec2.so -> /usr/lib/libbrscandec2.so.1 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/libbrcolm2.so.1 -> /usr/lib/libbrcolm2.so.1.0.0 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/sane/libsane-brother2.so.1 -> >> /usr/lib/sane/libsane-brother2.so.1.0.7 >> lrwxrwxrwx root/root 0 2009-12-01 18:38 >> ./usr/lib/sane/libsane-brother2.so -> >> /usr/lib/sane/libsane-brother2.so.1 >> >> so I will recompile to with libdir=/usr/lib and see if that works. >> >> On Thu, Jan 11, 2018 at 5:28 AM, Olaf Meeuwissen >> <paddy-h...@member.fsf.org> wrote: >>> Hi, >>> >>> Jeff Sadowski writes: >>> >>>> It seems to be wanting .la files when I have .so files so is there a >>>> flag to support shared object files over .la? >>> >>> The dynamic loading should look for .la files first and failing to find >>> those, look for .so files. You don't need any flag for that (and AFAIK >>> there isn't one). >>> >>>> On Wed, Jan 10, 2018 at 1:36 PM, Jeff Sadowski <jeff.sadow...@gmail.com> >>>> wrote: >>>>> I pulled the current git of sane-backend from >>>>> https://anonscm.debian.org/git/sane/sane-backends.git >>>>> >>>>> I did >>>>> ./configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu >>>>> --sysconfdir=/etc --localstatedir=/var -- >>>>> make >>>>> make install >>>>> >>>>> now when I run "scanimage -L" it can't see my scanner. Is there a flag >>>>> I need to use other drivers than the ones it compiles as the brother >>>>> printer driver is a binary package? >>> >>> The backends you built are installed below /usr/lib/i386-linux-gnu/sane/ >>> as libsane-$backendname.$extension, right? Where is the backend of that >>> brother binary package installed? >>> >>> If it's not in the same directory, you need to tell the loader to look >>> in the directory where the brother binary package installed its >>> backend. Let's say that is /opt/brother/sane, then you'd have to run >>> >>> LD_LIBRARY_PATH=/opt/brother/sane scanimage -L >>> >>> Alternatively, you can make a symbolic link to the brother backend from >>> /usr/lib/i386-linux-gnu/sane/. Using the same example location >>> >>> cd /usr/lib/i386-linux-gnu/sane >>> ln -s /opt/brother/sane/libsane-$backendname.$extension >>> >>> Hope this helps, >>> -- >>> Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27 >>> GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9 >>> Support Free Software https://my.fsf.org/donate >>> Join the Free Software Foundation https://my.fsf.org/join
-- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org