Distros usually split a libraries header files into a separate package, because most folks are not compiling against the lib, only linking. You need to install the sane-backends-devel package. I think Simon told you that already.
allan On Tue, Feb 24, 2009 at 7:59 AM, rohit bal <rohitsharma36 at hotmail.com> wrote: > well said allan, > > I was successfully able to scan when I used to type in Terminal scanimage. > > But the main point was when I ported my code from Fedora 8 machine to 10 the > Sane files like Sane.h & Saneopts.h were not found hence I faced errors. > > When I searched the same files in /usr/include/sane/ I found nothing thats > why I posted the same on forum. > > Thanks > >> Date: Tue, 24 Feb 2009 07:52:17 -0500 >> Subject: Re: [sane-devel] Where to find Sane.h in Fedora 10.0 >> From: kitno455 at gmail.com >> To: rohitsharma36 at hotmail.com >> CC: simon.matter at invoca.ch; sane-devel at lists.alioth.debian.org >> >> sane.h will be in /usr/include/sane/ >> >> the whole point of upgrading you os to fedora10 was that you could use >> the system libraries, and stop compiling things yourself. you should >> have nothing in /usr/local >> >> allan >> >> On Tue, Feb 24, 2009 at 1:10 AM, rohit bal <rohitsharma36 at hotmail.com> >> wrote: >> > after finding I found that sane-backends-1.0.19 is installed in >> > /usr/share/doc, but still sane.h and saneopts.h is missing in the >> > machine, >> > can anyone guide me how can I get the sane.h in? usr/local/include >> > >> >> Date: Mon, 23 Feb 2009 08:23:13 -0500 >> >> Subject: Re: [sane-devel] Where to find Sane.h in Fedora 10.0 >> >> From: kitno455 at gmail.com >> >> To: rohitsharma36 at hotmail.com >> >> CC: simon.matter at invoca.ch; sane-devel at lists.alioth.debian.org >> >> >> >> do whatever it takes to get yum working, it will manage all these >> >> things for you. probably you have some sort of firewall between your >> >> machine and the internet? >> >> >> >> allan >> >> >> >> 2009/2/23 rohit bal <rohitsharma36 at hotmail.com>: >> >> > is there any gphoto2-devel for fc10 version >> >> > >> >> > I am unable to find gphoto2-devel for fedora 10.0 >> >> > >> >> > >> >> > gphoto2-deve >> >> >> Date: Mon, 23 Feb 2009 11:51:20 +0100 >> >> >> Subject: RE: [sane-devel] Where to find Sane.h in Fedora 10.0 >> >> >> From: simon.matter at invoca.ch >> >> >> To: rohitsharma36 at hotmail.com >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> > >> >> >> > >> >> >> > Before trying YUM I already tried >> >> >> > >> >> >> > rpm -ivh sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> > >> >> >> > it asked me to install >> >> >> > 1) libieee1284-devel-0.2.11-4.fc11.i386.rpm >> >> >> > 2) sane-backends-libs-gphoto2-1.0.19-12.fc10.i386.rpm >> >> >> > 3) gphoto2-2.4.3-1.fc10.i386.rpm >> >> >> > >> >> >> > I installed all the required rpm's again when I tried rpm -ivh >> >> >> > sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> > >> >> >> > it gives me same error >> >> >> > >> >> >> > [root at LINUX Desktop]# rpm -ivh >> >> >> > sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> > warning: sane-backends-devel-1.0.19-12.fc10.i386.rpm: Header V3 >> >> >> > DSA >> >> >> > signature: NOKEY, key ID 4ebfc273 >> >> >> > error: Failed dependencies: >> >> >> > gphoto2-devel is needed by sane-backends-devel-1.0.19-12.fc10.i386 >> >> >> > libusb-devel is needed by sane-backends-devel-1.0.19-12.fc10.i386 >> >> >> >> >> >> Then go ahead and also install gphoto2-devel and libusb-devel. It's >> >> >> all >> >> >> okay so far. >> >> >> >> >> >> > >> >> >> > >> >> >> > >> >> >> >> Date: Mon, 23 Feb 2009 11:19:48 +0100 >> >> >> >> Subject: RE: [sane-devel] Where to find Sane.h in Fedora 10.0 >> >> >> >> From: simon.matter at invoca.ch >> >> >> >> To: rohitsharma36 at hotmail.com >> >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> >> >> > >> >> >> >> > I tried >> >> >> >> > >> >> >> >> > yum install sane-backends-devel-1.0.19-12.fc10.i386.rpm the >> >> >> >> > error >> >> >> >> > is >> >> >> >> > >> >> >> >> > >> >> >> >> > yum install sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> >> > Loaded plugins: refresh-packagekit >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > http://ftp.iitm.ac.in/fedora/releases/10/Everything/i386/os/repodata/04da721e41b80b2a003de83f73387a6d7d30833f-primary.sqlite.bz2: >> >> >> >> > [Errno 12] Timeout: <urlopen error timed out> >> >> >> >> > Trying other mirror. >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > http://ftp.itu.edu.tr/Mirror/Fedora/linux/releases/10/Everything/i386/os/repodata/04da721e41b80b2a003de83f73387a6d7d30833f-primary.sqlite.bz2: >> >> >> >> > [Errno 12] Timeout: <urlopen error timed out> >> >> >> >> >> >> >> >> You can also download the package from another Fedora mirror and >> >> >> >> install >> >> >> >> it with >> >> >> >> rpm -ivh sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> >> >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> >> Date: Mon, 23 Feb 2009 11:05:48 +0100 >> >> >> >> >> Subject: RE: [sane-devel] Where to find Sane.h in Fedora 10.0 >> >> >> >> >> From: simon.matter at invoca.ch >> >> >> >> >> To: rohitsharma36 at hotmail.com >> >> >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> > Just now I verified I have not installed >> >> >> >> sane-backends-1.0.19.tar.gz , >> >> >> >> >> it >> >> >> >> >> > comes pre installed with fedora 10.0, >> >> >> >> >> > >> >> >> >> >> > now can I install the >> >> >> >> >> > sane-backends-devel-1.0.19-12.fc10.i386.rpm >> >> >> >> on >> >> >> >> >> this >> >> >> >> >> > machine. >> >> >> >> >> >> >> >> >> >> Try >> >> >> >> >> yum install sane-backends-devel >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> Date: Mon, 23 Feb 2009 10:37:07 +0100 >> >> >> >> >> >> Subject: RE: [sane-devel] Where to find Sane.h in Fedora >> >> >> >> >> >> 10.0 >> >> >> >> >> >> From: simon.matter at invoca.ch >> >> >> >> >> >> To: rohitsharma36 at hotmail.com >> >> >> >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> > I executed the command and found >> >> >> >> >> >> > >> >> >> >> >> >> > [root at LINUX include]# rpm -q sane-backends-devel >> >> >> >> >> >> > package sane-backends-devel is not installed >> >> >> >> >> >> > >> >> >> >> >> >> > So shall I install this, I have already compiled the SANE >> >> >> >> >> >> > TAR >> >> >> >> BALL >> >> >> >> >> >> code >> >> >> >> >> >> >> >> >> >> >> >> If you have installed from source you have to check where >> >> >> >> >> >> you >> >> >> >> >> >> have >> >> >> >> >> >> installed it (then it's no question where the file is on >> >> >> >> >> >> Fedora >> >> >> >> >> >> 10 >> >> >> >> >> but >> >> >> >> >> >> where it has been installed when you installed from >> >> >> >> >> >> source). >> >> >> >> >> >> Don't >> >> >> >> >> mix >> >> >> >> >> >> installation from source and from rpm packages. >> >> >> >> >> >> I don't know where the default location is when installing >> >> >> >> >> >> from >> >> >> >> >> source. >> >> >> >> >> >> >> >> >> >> >> >> Simon >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> >> Date: Mon, 23 Feb 2009 10:20:09 +0100 >> >> >> >> >> >> >> Subject: RE: [sane-devel] Where to find Sane.h in Fedora >> >> >> >> >> >> >> 10.0 >> >> >> >> >> >> >> From: simon.matter at invoca.ch >> >> >> >> >> >> >> To: rohitsharma36 at hotmail.com >> >> >> >> >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > Hi, >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > I think it is by default installed in Fedora 10.0 , >> >> >> >> >> >> >> > please >> >> >> >> let >> >> >> >> >> me >> >> >> >> >> >> know >> >> >> >> >> >> >> how >> >> >> >> >> >> >> > can I check its there or not ? >> >> >> >> >> >> >> >> >> >> >> >> >> >> rpm -q sane-backends-devel >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > Thanks >> >> >> >> >> >> >> > >> >> >> >> >> >> >> >> Date: Mon, 23 Feb 2009 08:46:44 +0100 >> >> >> >> >> >> >> >> Subject: Re: [sane-devel] Where to find Sane.h in >> >> >> >> >> >> >> >> Fedora >> >> >> >> 10.0 >> >> >> >> >> >> >> >> From: simon.matter at invoca.ch >> >> >> >> >> >> >> >> To: rohitsharma36 at hotmail.com >> >> >> >> >> >> >> >> CC: sane-devel at lists.alioth.debian.org >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> >> > Hi, >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> >> > Please let me know where to find Sane.h in Fedora >> >> >> >> >> >> >> >> > 10.0, >> >> >> >> >> >> >> >> > in >> >> >> >> >> >> fedora >> >> >> >> >> >> >> 8.0 >> >> >> >> >> >> >> >> it >> >> >> >> >> >> >> >> > was in usr/include/sane. but this folder is not >> >> >> >> >> >> >> >> > available >> >> >> >> in >> >> >> >> >> >> Fedora >> >> >> >> >> >> >> >> 10.0 >> >> >> >> >> >> >> >> > please let me know where to find the sane.h in >> >> >> >> >> >> >> >> > fedora >> >> >> >> >> >> >> >> > 10.0 >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I guess you forgot to install the sane-backends-devel >> >> >> >> package. >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Simon >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > >> >> >> >> >> >> >> > _________________________________________________________________ >> >> >> >> >> >> >> > Chose your Life Partner! Join MSN Matrimony FREE >> >> >> >> >> >> >> > http://www.in.msn.com/matrimony >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > >> >> >> >> >> >> > _________________________________________________________________ >> >> >> >> >> >> > Plug in to the MSN Tech channel for a full update on the >> >> >> >> >> >> > latest >> >> >> >> >> gizmos >> >> >> >> >> >> > that made an impact. >> >> >> >> >> >> > http://computing.in.msn.com/ >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > >> >> >> >> >> > _________________________________________________________________ >> >> >> >> >> > Chose your Life Partner! Join MSN Matrimony FREE >> >> >> >> >> > http://www.in.msn.com/matrimony >> >> >> >> >> >> >> >> >> >> >> >> >> >> > >> >> >> >> > >> >> >> >> > _________________________________________________________________ >> >> >> >> > Find a better job. We have plenty. Visit MSN Jobs >> >> >> >> > http://www.in.msn.com/jobs >> >> >> >> >> >> >> >> >> >> >> > >> >> >> > _________________________________________________________________ >> >> >> > For the freshest Indian Jobs Visit MSN Jobs >> >> >> > http://www.in.msn.com/jobs >> >> >> >> >> >> >> >> > >> >> > ________________________________ >> >> > Discover your phone style & WIN a Windows Mobile phone. Your style! >> >> > Try >> >> > it >> >> > now! >> >> > -- >> >> > sane-devel mailing list: sane-devel at lists.alioth.debian.org >> >> > http://lists.alioth.debian.org/mailman/listinfo/sane-devel >> >> > Unsubscribe: Send mail with subject "unsubscribe your_password" >> >> > to sane-devel-request at lists.alioth.debian.org >> >> > >> >> >> >> >> >> >> >> -- >> >> "The truth is an offense, but not a sin" >> > >> > ________________________________ >> > Akshay Kumar takes on the two reigning Bollywood Khans. Catch the action >> > on >> > MSN Entertainment! Check it out! >> >> >> >> -- >> "The truth is an offense, but not a sin" > > ________________________________ > Need more space to upload pictures? Get 25 GB online storage with Windows > Live SkyDrive! Try it! -- "The truth is an offense, but not a sin"
