[Muscle] problem building pcsc-lite 1.4.102
Sihan Goi
goister at gmail.com
Wed Jul 2 00:55:35 PDT 2008
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 <goister at gmail.com> 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
> <ludovic.rousseau at gmail.com> wrote:
>> On Tue, Jul 1, 2008 at 6:32 AM, Sihan Goi <goister at gmail.com> 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 at lists.musclecard.com
>> http://lists.drizzle.com/mailman/listinfo/muscle
>>
>
>
>
> --
> - Goi Sihan
> goister at gmail.com
>
--
- Goi Sihan
goister at gmail.com
More information about the Muscle
mailing list