in reply to Re^5: Problem make'ing Device::USB on osx Snow Leopard 10.6.2
in thread Problem make'ing Device::USB on osx Snow Leopard 10.6.2

Apple's Developer Tools are installed by default on Snow Leopard

Not true, I just got my Macbook (Mac OS X 10.6.2 Snow Leopard) and it didn't even have a C-compiler! I was trying to install some Perl modules and make was not present. I was recommended to install the xcode stuff (over 1 GB if I recall correctly) and voila gcc is alive again.

Cheers

Harry

Replies are listed 'Best First'.
Re^7: Problem make'ing Device::USB on osx Snow Leopard 10.6.2
by nick.fox (Novice) on Jan 21, 2010 at 23:18 UTC

    I have a fairly recent version of the Developer tools as my laptop is only a few months old and i installed xcode more recently.

    Secondly, I have now managed to install libusb-legacy using MacPorts and Make now works for Device::USB and it compiles! WOO! .. or so it seems..

    However, on execution of the dump_usb.pl script included with Device::USB it becomes apparent that it has not compiled correctly! gah, i cant win.

    The following is ./configure > make > sudo make install > ./dump_usb.pl

      Hmm strange, so far I installed everything with ease on my Mac. After a sudo bash and cpan install it installed all modules without any problem.... so far. For Device::USB I also encounter errors, I'll spend some more time on it.

      Cheers

      Harry