I haven't used Mandriva, but based on how things work in Fedora, I would 
suspect you do.  If it's like Fedora, libusb provides only the compiled .so 
needed by running programs.  libusb-devel provides the extra bits that 
developers need to actually compile things that require libusb.  Since most end 
users don't compile stuff and the devel files take up extra space, they're 
packaged separately so those who do development work can install just what they 
need.

- David

> ----- Original Message -----
> From: "Sihan Goi" <[EMAIL PROTECTED]>
> To: MUSCLE <muscle@lists.musclecard.com>
> Subject: Re: [Muscle] problem building pcsc-lite 1.4.102
> Date: Wed, 2 Jul 2008 15:55:35 +0800
> 
> 
> Hi,
> 
> After some reading it seems like libhal is used to detect events, such
> as perhaps card reader plugged in, card inserted, etc. It is used by
> default in newer pcsc-lite versions, replacing libusb, which is
> probably why when I --disable-libhal, the usb.h error message came up?
> 
> Supposing I wish to use libusb polling instead of being event driven,
> I'm guessing I can safely --disable-libhal? However, I'm still
> confused as to why I get the usb error message, since I already have
> libusb installed. Do I need libusb-devel as well for it to work?
> 
> Thanks again.
> 
> On Tue, Jul 1, 2008 at 10:12 PM, Sihan Goi <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Thanks for the advice. Right after posting the message I wondered if I
> > had installed make. Turned out I haven't. I installed it and it built
> > w/o errors.
> >
> > With that being said, you're right in that I don't know what libhal or
> > libusb are, though I do know libusb is a USB related library
> > obviously. I do also have libusb installed, so I'm not sure why it
> > would complain. I did a locate usb.h but could not find the file
> > though, so maybe I need something other than libusb? libusb-devel
> > perhaps?
> >
> > I tried searching the Mandriva CDs for these packages but could not
> > find them. Could you advise me on the significance of these missing
> > packages, and where and how to install them if they are absolutely
> > necessary?
> >
> > Also, this Mandriva box is simply a development PC. Ultimately I will
> > be attempting to install pcsclite as well as ccid on a bare kernel
> > that I've compiled(version 2.6.22.19 if that matters), which is partly
> > why I'm messing around with the generic version...so that I will be
> > familiar enough to do the installation later on the bare kernel.
> >
> > Any help would be appreciated. Thanks again.
> >
> > On Tue, Jul 1, 2008 at 2:36 PM, Ludovic Rousseau
> > <[EMAIL PROTECTED]> wrote:
> >> On Tue, Jul 1, 2008 at 6:32 AM, Sihan Goi <[EMAIL PROTECTED]> wrote:
> >>> Hi,
> >>
> >> Hello,
> >>
> >>> I'm trying to build the latest version of pcsc-lite on my Mandrive
> >>> 2008.1 box. I've untar'ed it and when I do a ./configure I get an
> >>> error asking me to either install libhal or include --disable-libhal,
> >>> so I chose the latter. Then I got an error saying that usb.h cannot be
> >>> found, even though I have libusb installed, so I included
> >>> --disable-libusb as well. Now ./configure completes, but when I try to
> >>> make, it says make not found. What's wrong?
> >>
> >> Install the "make" package to have the "make" command.
> >>
> >> Maybe you should start with a version of pcsc-lite already packaged
> >> for your distribution. I will be an older version but much easier to
> >> use if you are not used to recompile softwares from source code.
> >>
> >> It is NOT a good idea to disable features unless you know what you are
> >> doing. And I suspect you don't know what libhal and libusb are used
> >> for.
> >>
> >> Bye
> >>
> >> --
> >>  Dr. Ludovic Rousseau
> >> _______________________________________________
> >> Muscle mailing list
> >> Muscle@lists.musclecard.com
> >> http://lists.drizzle.com/mailman/listinfo/muscle
> >>
> >
> >
> >
> > --
> > - Goi Sihan
> > [EMAIL PROTECTED]
> >
> 
> 
> 
> --
> - Goi Sihan
> [EMAIL PROTECTED]
> _______________________________________________
> Muscle mailing list
> Muscle@lists.musclecard.com
> http://lists.drizzle.com/mailman/listinfo/muscle

>


-- 
Be Yourself @ mail.com!
Choose From 200+ Email Addresses
Get a Free Account at www.mail.com


_______________________________________________
Muscle mailing list
Muscle@lists.musclecard.com
http://lists.drizzle.com/mailman/listinfo/muscle

Reply via email to