Thanks. I think we are on to something here. But, I'm still not getting there.

In response to:
#perl -MCPAN -e shell
cpan> install Inline::MakeMaker
I get:
Inline::MakeMaker is up to date (6.17)

In response to:
#perl -MCPAN -e shell > x.txt 2>&1
cpan> install Inline
I get:
cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. CPAN: Storable loaded ok (v2.13) Going to read '/home/bxxxx/.cpan/Metadata' Database was generated on Sat, 01 Aug 2009 21:26:58 GMT Running install for module 'Inline' Running make for S/SI/SISYPHUS/Inline-0.45.tar.gz CPAN: LWP::UserAgent loaded ok (v2.033) CPAN: Time::HiRes loaded ok (v1.66) Warning: no success downloading '/home/bxxxx/.cpan/sources/authors/id/ +S/SI/SISYPHUS/Inline-0.45.tar.gz.tmp19401'. Giving up on it. at /usr/ +local/share/perl/5.8.7/CPAN/FTP.pm line 837 CPAN::FTP::hostdlhard('CPAN::FTP', 'ARRAY(0xb36880)', 'authors/id/ +S/SI/SISYPHUS/Inline-0.45.tar.gz', '/home/bxxxx/.cpan/sources/authors +/id/S/SI/SISYPHUS/Inline-0...', 'HASH(0x2aaaacc87350)') called at /us +r/local/share/perl/5.8.7/CPAN/FTP.pm line 515 CPAN::FTP::hostdlxxx('CPAN::FTP', 'dlhard', 'undef', 'ARRAY(0xb368 +80)', 'authors/id/S/SI/SISYPHUS/Inline-0.45.tar.gz', '/home/bxxxx/.cp +an/sources/authors/id/S/SI/SISYPHUS/Inline-0...', 'HASH(0x2aaaacc8735 +0)') called at /usr/local/share/perl/5.8.7/CPAN/FTP.pm line 442 CPAN::FTP::localize('CPAN::FTP', 'authors/id/S/SI/SISYPHUS/Inline- +0.45.tar.gz', '/home/bxxxx/.cpan/sources/authors/id/S/SI/SISYPHUS/Inl +ine-0...') called at /usr/local/share/perl/5.8.7/CPAN/Distribution.pm + line 379 CPAN::Distribution::get_file_onto_local_disk('CPAN::Distribution=H +ASH(0x2aaaac706340)') called at /usr/local/share/perl/5.8.7/CPAN/Dist +ribution.pm line 343 CPAN::Distribution::get('CPAN::Distribution=HASH(0x2aaaac706340)') + called at /usr/local/share/perl/5.8.7/CPAN/Distribution.pm line 1677 CPAN::Distribution::make('CPAN::Distribution=HASH(0x2aaaac706340)' +) called at /usr/local/share/perl/5.8.7/CPAN/Distribution.pm line 287 +6 CPAN::Distribution::test('CPAN::Distribution=HASH(0x2aaaac706340)' +) called at /usr/local/share/perl/5.8.7/CPAN/Distribution.pm line 326 +6 CPAN::Distribution::install('CPAN::Distribution=HASH(0x2aaaac70634 +0)') called at /usr/local/share/perl/5.8.7/CPAN/Module.pm line 474 eval {...} called at /usr/local/share/perl/5.8.7/CPAN/Module.pm li +ne 473 CPAN::Module::rematein('CPAN::Module=HASH(0x5a7e6c0)', 'install') +called at /usr/local/share/perl/5.8.7/CPAN/Module.pm line 576 CPAN::Module::install('CPAN::Module=HASH(0x5a7e6c0)') called at /u +sr/local/share/perl/5.8.7/CPAN/Shell.pm line 1755 CPAN::Shell::rematein('CPAN::Shell', 'install', 'Inline') called a +t /usr/local/share/perl/5.8.7/CPAN/Shell.pm line 1935 CPAN::Shell::__ANON__('CPAN::Shell', 'Inline') called at /usr/loca +l/share/perl/5.8.7/CPAN.pm line 375 eval {...} called at /usr/local/share/perl/5.8.7/CPAN.pm line 372 CPAN::shell() called at -e line 1 Client not fully configured, please proceed with configuring. You have not configured a urllist and do not allow connections to the internet to get a list of mirrors. If you wish to get a list of CPAN mirrors to pick from, use this command o conf init connect_to_internet_ok urllist If you do not wish to get a list of mirrors and would prefer to set your urllist manually, use just this command instead o conf init urllist Lockfile removed.

This seems to say that a url list that I didn't know about before must be set up for CPAN to operate. My next two actions follow the instructions given in the error report above.

In response to:
cpan> o conf init urllist
I get two blank line feeds and a cpan> prompt. Thus, I think that the computer is saying that it is happy with this.

In response to:
cpan o conf init connect_to_internet_ok urllist
I get two blank line feeds and a cpan> prompt. Thus, I again think that the computer is saying that it is happy with this.

When I once again try:
#perl -MCPAN -e shell > x.txt 2>&1
cpan> install Device::USB
I get:
cpan shell -- CPAN exploration and modules installation (v1.9402) Enter 'h' for help. CPAN: Storable loaded ok (v2.13) Going to read '/home/bcorbin/.cpan/Metadata' Database was generated on Sat, 01 Aug 2009 21:26:58 GMT Running install for module 'Device::USB' Running make for G/GW/GWADEJ/Device-USB-0.29.tar.gz CPAN: Digest::SHA loaded ok (v5.47) CPAN: Compress::Zlib loaded ok (v2.02) Checksum for /home/bcorbin/.cpan/sources/authors/id/G/GW/GWADEJ/Device +-USB-0.29.tar.gz ok Scanning cache /home/bcorbin/.cpan/build for sizes ...................................................................... +......DONE CPAN: Archive::Tar loaded ok (v1.52) Device-USB-0.29/ Device-USB-0.29/Changes Device-USB-0.29/dump_usb.pl Device-USB-0.29/Makefile.PL Device-USB-0.29/MANIFEST.SKIP Device-USB-0.29/MANIFEST Device-USB-0.29/README Device-USB-0.29/USB.pm Device-USB-0.29/t/ Device-USB-0.29/t/17-usb_dev_endpoint.t Device-USB-0.29/t/00-load.t Device-USB-0.29/t/07-list_devices_if.t Device-USB-0.29/t/05-find_device_if.t Device-USB-0.29/t/02-find_busses_devices.t Device-USB-0.29/t/15-usb_dev_configuration.t Device-USB-0.29/t/06-list_devices.t Device-USB-0.29/t/09-usb-bus.t Device-USB-0.29/t/16-usb_dev_interface.t Device-USB-0.29/t/14-bus_list_devices_if.t Device-USB-0.29/t/11-usb-device-methods.t Device-USB-0.29/t/boilerplate.t Device-USB-0.29/t/04-find_device.t Device-USB-0.29/t/pod-coverage.t Device-USB-0.29/t/03-list_busses.t Device-USB-0.29/t/08-get_busses.t Device-USB-0.29/t/10-usb-device-accessors.t Device-USB-0.29/t/13-bus_find_device_if.t Device-USB-0.29/t/pod.t Device-USB-0.29/t/TestTools.pm Device-USB-0.29/t/12-constants.t Device-USB-0.29/t/18-usb_device-configurations.t Device-USB-0.29/t/01-create-usb.t Device-USB-0.29/META.yml Device-USB-0.29/lib/ Device-USB-0.29/lib/Device/ Device-USB-0.29/lib/Device/USB/ Device-USB-0.29/lib/Device/USB/DevConfig.pm Device-USB-0.29/lib/Device/USB/FAQ.pod Device-USB-0.29/lib/Device/USB/Device.pm Device-USB-0.29/lib/Device/USB/DevInterface.pm Device-USB-0.29/lib/Device/USB/DevEndpoint.pm Device-USB-0.29/lib/Device/USB/Bus.pm Device-USB-0.29/lib/Device/USB.pm CPAN: File::Temp loaded ok (v0.22) CPAN: YAML loaded ok (v0.68) CPAN.pm: Going to build G/GW/GWADEJ/Device-USB-0.29.tar.gz Undefined subroutine &main::WriteMakefile called at Makefile.PL line 5 +0. Warning: No success on command[/usr/bin/perl Makefile.PL INSTALLDIRS=s +ite] GWADEJ/Device-USB-0.29.tar.gz /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK Running make test Make had some problems, won't test Running make install Make had some problems, won't install Failed during this command: GWADEJ/Device-USB-0.29.tar.gz : writemakefile NO '/usr +/bin/perl Makefile.PL INSTALLDIRS=site' returned status 65280 Lockfile removed.
I ran through all of this several times as I was making notes and composing this posting. It took several passes before both of the "o conf" commands for urllist came back as successful. That makes me a little uneasy.

In the above error posting the following:
Warning: No success on command/usr/bin/perl Makefile.PL INSTALLDIRS=site
  GWADEJ/Device-USB-0.29.tar.gz
  /usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
seems to be upset with a INSTALLDIRS variable or setting of some kind. I don't know what this is.

Still confused. Thanks for the help so far. Any additional suggestions would be appreciated.

Thanks,
Bruce


In reply to Re^4: trouble installing Device::USB by Bruce32903
in thread trouble installing Device::USB by Bruce32903

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.