thanks for the help!
ok but
make test seemed to find some issues...
ed-hartounis-imac:Device-USB-0.31 hartouni1$ make
Skip blib/lib/Device/USB.pm (unchanged)
Skip blib/lib/Device/USB/DevEndpoint.pm (unchanged)
Skip blib/lib/Device/USB/Device.pm (unchanged)
Skip blib/lib/Device/USB.pm (unchanged)
Skip blib/lib/Device/USB/Bus.pm (unchanged)
Skip blib/lib/Device/USB/DevInterface.pm (unchanged)
Skip blib/lib/Device/USB/FAQ.pod (unchanged)
Skip blib/lib/Device/dump_usb.pl (unchanged)
Skip blib/lib/Device/USB/DevConfig.pm (unchanged)
/usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB -e1 0.31
blib/arch
Starting Build Preprocess Stage
Finished Build Preprocess Stage
Starting Build Parse Stage
Finished Build Parse Stage
Starting Build Glue 1 Stage
Permission denied at /Users/hartouni1/Downloads/Device-USB-0.31/blib/
lib/Device/USB.pm line 20
Compilation failed in require.
BEGIN failed--compilation aborted.
make: *** [USB.inl] Error 13
ed-hartounis-imac:Device-USB-0.31 hartouni1$ sudo make
/usr/bin/perl -Mblib -MInline=NOISY,_INSTALL_ -MDevice::USB -e1 0.31
blib/arch
Starting Build Preprocess Stage
Finished Build Preprocess Stage
Starting Build Parse Stage
Finished Build Parse Stage
Starting Build Glue 1 Stage
Finished Build Glue 1 Stage
Starting Build Glue 2 Stage
Finished Build Glue 2 Stage
Starting Build Glue 3 Stage
Finished Build Glue 3 Stage
Starting Build Compile Stage
Starting "perl Makefile.PL" Stage
Writing Makefile for Device::USB
Finished "perl Makefile.PL" Stage
Starting "make" Stage
/usr/bin/perl /System/Library/Perl/5.8.8/ExtUtils/xsubpp -typemap /
System/Library/Perl/5.8.8/ExtUtils/typemap USB.xs > USB.xsc && mv
USB.xsc USB.c
cc -c -I/Users/hartouni1/Downloads/Device-USB-0.31 -arch ppc -arch
i386 -g -pipe -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-
aliasing -Wdeclaration-after-statement -I/usr/local/include -O3 -
DVERSION=\"0.31\" -DXS_VERSION=\"0.31\" "-I/System/Library/Perl/5.8.8/
darwin-thread-multi-2level/CORE" USB.c
Running Mkbootstrap for Device::USB ()
chmod 644 USB.bs
rm -f blib/arch/auto/Device/USB/USB.bundle
LD_RUN_PATH="/usr/local/lib" cc -mmacosx-version-min=10.5.7 -arch ppc
-arch i386 -bundle -undefined dynamic_lookup -L/usr/local/lib USB.o -
o blib/arch/auto/Device/USB/USB.bundle \
-lusb \
ld warning: in /usr/local/lib/libusb.dylib, file is not of required
architecture
chmod 755 blib/arch/auto/Device/USB/USB.bundle
cp USB.bs blib/arch/auto/Device/USB/USB.bs
chmod 644 blib/arch/auto/Device/USB/USB.bs
Finished "make" Stage
Starting "make install" Stage
Installing /Users/hartouni1/Downloads/Device-USB-0.31/blib/arch/auto/
Device/USB/USB.bs
Installing /Users/hartouni1/Downloads/Device-USB-0.31/blib/arch/auto/
Device/USB/USB.bundle
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Writing /Users/hartouni1/Downloads/Device-USB-0.31/blib/arch/auto/
Device/USB/.packlist
Finished "make install" Stage
Starting Cleaning Up Stage
Finished Cleaning Up Stage
Finished Build Compile Stage
Manifying blib/man3/Device::USB::Device.3pm
Manifying blib/man3/Device::USB::DevEndpoint.3pm
Manifying blib/man3/Device::USB.3pm
Manifying blib/man3/Device::USB::Bus.3pm
Manifying blib/man3/Device::USB::DevInterface.3pm
Manifying blib/man3/Device::USB::FAQ.3pm
Manifying blib/man3/Device::dump_usb.3pm
Manifying blib/man3/Device::USB::DevConfig.3pm
ed-hartounis-imac:Device-USB-0.31 hartouni1$ sudo make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.........................ok 1/1# Testing Device::USB 0.31,
Perl 5.008008, /usr/bin/perl
t/00-load.........................ok
t/01-create-usb...................ok
t/02-find_busses_devices..........ok
t/03-list_busses..................dubious
Test returned status 0 (wstat 10, 0xa)
t/04-find_device..................dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 4-8
Failed 5/8 tests, 37.50% okay
t/05-find_device_if...............dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 3-11
Failed 9/11 tests, 18.18% okay
t/06-list_devices.................dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 3-8
Failed 6/8 tests, 25.00% okay
t/07-list_devices_if..............dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 5-11
Failed 7/11 tests, 36.36% okay
t/08-get_busses...................dubious
Test returned status 0 (wstat 10, 0xa)
t/09-usb-bus......................dubious
Test returned status 0 (wstat 10, 0xa)
t/10-usb-device-accessors.........dubious
Test returned status 0 (wstat 10, 0xa)
t/11-usb-device-methods...........ok
t/12-constants....................ok
t/13-bus_find_device_if...........dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-8
Failed 7/8 tests, 12.50% okay
t/14-bus_list_devices_if..........dubious
Test returned status 0 (wstat 10, 0xa)
DIED. FAILED tests 2-10
Failed 9/10 tests, 10.00% okay
t/15-usb_dev_configuration........dubious
Test returned status 0 (wstat 10, 0xa)
t/16-usb_dev_interface............dubious
Test returned status 0 (wstat 10, 0xa)
t/17-usb_dev_endpoint.............dubious
Test returned status 0 (wstat 10, 0xa)
t/18-usb_device-configurations....dubious
Test returned status 0 (wstat 10, 0xa)
t/boilerplate.....................ok
t/pod-coverage....................skipped
all skipped: Test::Pod::Coverage 1.04 required for testing
POD coverage
t/pod.............................skipped
all skipped: Test::Pod 1.14 required for testing POD
Failed Test Stat Wstat Total Fail Failed List
of Failed
-------------------------------------------------------------------------------
t/03-list_busses.t 0 10 ?? ?? % ??
t/04-find_device.t 0 10 8 10 125.00% 4-8
t/05-find_device_if.t 0 10 11 18 163.64% 3-11
t/06-list_devices.t 0 10 8 12 150.00% 3-8
t/07-list_devices_if.t 0 10 11 14 127.27% 5-11
t/08-get_busses.t 0 10 ?? ?? % ??
t/09-usb-bus.t 0 10 ?? ?? % ??
t/10-usb-device-accessors.t 0 10 ?? ?? % ??
t/13-bus_find_device_if.t 0 10 8 14 175.00% 2-8
t/14-bus_list_devices_if.t 0 10 10 18 180.00% 2-10
t/15-usb_dev_configuration.t 0 10 ?? ?? % ??
t/16-usb_dev_interface.t 0 10 ?? ?? % ??
t/17-usb_dev_endpoint.t 0 10 ?? ?? % ??
t/18-usb_device-configurations.t 0 10 ?? ?? % ??
2 tests skipped.
Failed 14/22 test scripts, 36.36% okay. 38/86 subtests failed, 55.81%
okay.
make: *** [test_dynamic] Error 255
ed-hartounis-imac:Device-USB-0.31 hartouni1$ sudo make install
Installing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/Device/
USB/USB.bundle
Files found in blib/arch: installing files in blib/lib into
architecture dependent library tree
Writing /Library/Perl/5.8.8/darwin-thread-multi-2level/auto/Device/
USB/.packlist
Appending installation info to /Library/Perl/Updates/5.8.8/darwin-
thread-multi-2level/perllocal.pod
On Jan 18, 2010, at 8:06 PM, G. Wade Johnson via RT wrote:
Show quoted text> <URL:
https://rt.cpan.org/Ticket/Display.html?id=53802 >
>
> On Mon Jan 18 20:39:39 2010, ed_hartouni@comcast.net wrote:
>> should have thought of that.... little rusty...
>> but after
>
> ---[snip]---
>
>> USB.xs:16: error: conflicting types for ‘libusb_init’
>> /usr/local/include/usb.h:768: error: previous declaration of
>> ‘libusb_init’ was hereUSB.xs:16: error: conflicting types for
>> ‘libusb_init’
>
> This didn't make any sense at first, but now everything is clear.
>
> Device::USB is written to the 0.1.* version of the libusb library. You
> have installed the 1.0 version of the library. Work on 1.0 had been
> stalled for a few years and I wasn't paying attention when it became
> the
> recommended version.
>
> To use Device::USB, you will need to install the legacy version of
> libusb
> (
http://sourceforge.net/projects/libusb/files/libusb-0.1%20(LEGACY)/0.1.12/
> ).
>
> Now, it looks like I will need to start work on the new 1.0 version of
> Device::USB.
>
> I'm sorry I don't have better news.