On 9/16/10 4:16 PM, Alexander Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 9/16/10 3:47 PM, Jonas Groß wrote:
>> But actually i wanted to run my touchatag reader with libnfc. But
>> installing it failed with:
>>
>> configure: WARNING: Using darwin PCSC Framework
>> In file included from ../drivers/pn53x_usb.h:24,
>>                   from ../drivers.h:35,
>>                   from arygon.c:32:
>> /sw/include/usb.h:266: error: parse error before 'u_int32_t'
>> /sw/include/usb.h:266: warning: no semicolon at end of struct or union
>> /sw/include/usb.h:269: error: parse error before '}' token
>> make[4]: *** [libnfcdrivers_la-arygon.lo] Error 1
>> make[3]: *** [all-recursive] Error 1
>> make[2]: *** [all-recursive] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>
> Fink's libnfc works for me (10.6/i386).  I show more lines of output
> between the end of configuration and compiling
> libnfcdrivers_la-arygon.lo than what you have above:
>
> ...
> checking for size_t... yes
> checking for uint8_t... yes
> checking for uint16_t... yes
> checking for uint32_t... yes
> checking for uint64_t... yes
> checking for int32_t... yes
> checking for debug flag... no
> checking for serial autoprobe flag... no
> checking for pcsc-lite support... yes
> checking for libusb support... yes
> checking for documentation request... no
> checking pkg-config is at least version 0.9.0... yes
> checking for LIBUSB... yes
> configure: WARNING: Using darwin PCSC Framework
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating src/include/Makefile
> config.status: creating src/include/nfc/Makefile
> config.status: creating src/lib/chips/Makefile
> config.status: creating src/lib/buses/Makefile
> config.status: creating src/lib/drivers/Makefile
> config.status: creating src/lib/Makefile
> config.status: creating src/examples/Makefile
> config.status: creating src/Makefile
> config.status: creating cmake_modules/Makefile
> config.status: creating libnfc.pc
> config.status: creating Doxyfile
> config.status: creating config.h
> config.status: executing depfiles commands
> config.status: executing libtool commands
> make
> make  all-recursive
> Making all in src
> Making all in lib
> Making all in chips
>    CC     libnfcchips_la-pn53x.lo
>    CCLD   libnfcchips.la

Also builds OK on 10.5/i386 _AFTER_ I installed pkgconfig, libusb, and 
libusb-shlibs (libusb1 did not help).

Hanspeter

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Fink-beginners mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.beginners

Reply via email to