On Fri, 19 May 2006, Martin Collins wrote: > On Thu, 18 May 2006 23:03:11 -0700 (PDT) > Tamkang <power_station_2...@yahoo.com> wrote: > >> the questions is why the >> source not default to /usr/lib/sane directory? Is there any >> different between /usr/local/lib/sane and /usr/lib/sane directory ? > > Packages provided by the distro get installed in /usr as they are > considered a part of the system. Programs you build yourself default > to /usr/local as they are not part of the system and if they were > installed in /usr it might mess up the package system. > With SANE you should remove your distro's package before installing > from source as the versions can interfere with each other. > Alternatively, if you are confident it won't break anything, you can > specify --prefix=/usr to configure and SANE will be installed in /usr. >
or, in the case of redhat or fc, you might do: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --mandir=/usr/share/man or, for 64 bit os: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --mandir=/usr/share/man --libdir=/usr/lib64 allan -- "so don't tell us it can't be done, putting down what you don't know. money isn't our god, integrity will free our souls" - Max Cavalera