1. you did not tell me the link error, so I cannot tell you how to fix! 2. Different linux distributions put libraries in different places. You want something like ./configure --prefix=/usr --sysconfdir=/etc but you might have to add something like --libdir=/usr/lib64, if that is where your distribution put the existing copy of libsane.so
allan On Wed, Nov 20, 2013 at 5:43 AM, <YiHao at rst.ricoh.com> wrote: > > Dear allan: > Thanks a lot for your help, > I have some other question about sane to trouble you: > > ?It must be "--disable-shared" When I recompiled the backend, otherwise, > there will be link-errors. > I was wondering if it must be "--disable-shared" or should I use other > methods to avoid the link-error. > > ? Could you give me some advise about how to modify the /configure.in, > If I want to using the proper arguments to overwrite the installed copy > of sane. > eg. > ====================================================== > default: > /use/local/etc/sane.d/ > ? > /etc/saned.d/ > ====================================================== > > Best Regard > Yours Sincerely, > -- "The truth is an offense, but not a sin"
