Hi,
after installing pkgconfig i could also succeesfully install pcsc-lite on my
iBook G3 500 and my PowerMac G4 350 (both Mac OS X 10.4).
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
So i tried adding the line
#include </usr/include/ppc/types.h>
to usb.h, but only got
incompatible pointer type
errors.
So my questions are:
Am I missing something again?
Should i post this in a new thread?
Is this the right place to post this or should i post this to libusb or
libnfc?
Sorry, this is my first mailing list try ...
Anyway thanks for the help with pcsc-lite.
2010/9/15 Hanspeter Niederstrasser <[email protected]>
> On Wed, September 15, 2010 10:42 am, Hisashi T Fujinaka wrote:
> > On Wed, 15 Sep 2010, Jonas Gro? wrote:
> >
> >> Hi,
> >>
> >> i tried to install pcsc-lite on my iBook G3 with Mac OS X 10.4, but it
> >> stops after:
> >>
> >> checking for LIBUSB... no
> >> no
> >> checking for libusb-config... yes
> >> checking libusb-1.0/libusb.h usability... yes
> >> checking libusb-1.0/libusb.h presence... yes
> >> checking for libusb-1.0/libusb.h... yes
> >> checking for libusb_init... configure: error: libusb not found, use
> >> ./configure LIBUSB_LIBS=...
> >> ### execution of ./configure failed, exit code 1
> >>
> >> So i ran selfupdate and update-all and i installed every libusb i could:
> >>
> >> $ fink list libusb
> >> Information about 11254 packages read in 26 seconds.
> >> i libusb 0.1.12-1015 Portable library
> >> for USB device access
> >> i libusb-shlibs 0.1.12-1015 Portable library
> >> for USB device access
> >> i libusb1 1.0.8-1 Portable library
> >> for USB device access
> >> i libusb1-shlibs 1.0.8-1 Portable library
> >> for USB device access
> >>
> >> but that still doesn't help. Google couldn't help either.
> >>
> >> How can i manipulate the ./configure command to make it work or is there
> >> something else i am missing?
>
> It also fails for me on 10.5/i386.
>
> Here's the relevant part of config.log:
>
> configure:12871: checking for libusb_init
> configure:12891: gcc -o conftest -Wall -fno-common -g -O2 -no-cpp-precomp
> -I/sw/include -Wl,-framework,CoreFoundation -Wl,-framework,IOKit
> -L/sw/lib conftest.c -Wl,-framework,CoreFoundation -Wl,-framework,IOKit
> -L/sw/lib -Wl,-framework,CoreFoundation -Wl,-framework,IOKit >&5
> Undefined symbols:
> "_libusb_init", referenced from:
> _main in ccV81Zw7.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> Adding pkgconfig as a BuildDep fixed it for me (added -L/sw/lib -lusb-1.0)
> to the linker.
>
> Hanspeter
>
> --
> More agile than a turtle, stronger than a mouse, nobler than lettuce
>
>
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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