At 1:48 PM -0500 12/11/2000, Ricky Morse <rem14@cornell.edu> wrote: >Hi! I just tried to install the DBI stuff from C. Nandor's directory, >but CPAN-mac gives me an error: > >># Could not gzopen :site_perl:.cpan:sources:authors:id:CNANDOR:DBI-1.08- >>bin-2-MacOS.tar.gz. >>File 'Buxtehude:Applications:MacPerl ?:site_perl:CPAN.pm'; Line 4207 > >Does anyone know about this problem? How can I fix it? The problem is the relative path assigned in Config.pm. (specifically, :site_perl:CPAN:Config.pm). So, for instance, where you've got something like... 'build_dir' => q[:site_perl:.cpan:build], 'cpan_home' => q[:site_perl:.cpan], 'keep_source_where' => q[:site_perl:.cpan:sources], Change these to: 'build_dir' => q[Buxtehude:Applications:MacPerl ?:site_perl:.cpan:build], 'cpan_home' => q[Buxtehude:Applications:MacPerl ?:site_perl:.cpan], 'keep_source_where' => q[Buxtehude:Applications:MacPerl ?:site_perl:.cpan:sources], When TIEHANDLE is called at that point in the script (I spent a good while tracking this down), the current directory has been changed and it is inside the build directory. As a result, the relative reference, :site_perl:.cpan:sources:authors:id:CNANDOR:DBI-1.08-bin-2-MacOS.tar.gz Is, in absolute terms, something like: Buxtehude:Applications:MacPerl ?:site_perl:.cpan:build:site_perl:.cpan: sources:authors:id:CNANDOR:DBI-1.08-bin-2-MacOS.tar.gz Which is why you get the 'No such file or directory' error. -Charles Albrecht charlesa@pobox.com cwa2@cornell.edu (Arts '89) :) # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org