Hello Perlers, 


I have problems updating or installing modules on my Perl I have installed
in /usr/local/bin/ an Perl 5.8.5 I have made an alias in /usr/bin

lrwxr-xr-x    1 root  wheel       19B 17 Nov 14:08 perl ->
/usr/local/bin/perl

Installing for example LWP with cpan gives following error :

cpan> install LWP

finishes with :

All tests successful, 1 test skipped.
Files=41, Tests=764, 42 wallclock secs ( 6.51 cusr +  1.17 csys =  7.68 CPU)
  /usr/bin/make test -- OK
Running make install
mkdir ?~name: Invalid argument at
/usr/local/lib/perl5/5.8.5/ExtUtils/Install.pm line 112
make: *** [pure_site_install] Error 255
  /usr/bin/make install  -- NOT OK


my Config.pm 
    #perhaps I have to adapt this file or create one
~/.cpan/CPAN/MyConfig.pm ???

/usr/local/lib/perl5/5.8.5/CPAN/Config.pm :


# This is CPAN.pm's systemwide configuration file. This file provides
# defaults for users, and the values can be changed in a per-user
# configuration file. The user-config file is being looked for as
# ~/.cpan/CPAN/MyConfig.pm.

$CPAN::Config = {
  'build_cache' => q[10],
  'build_dir' => q[/Users/mareklaptop/.cpan/build],
  'cache_metadata' => q[1],
  'cpan_home' => q[/Users/mareklaptop/.cpan],
  'ftp' => q[/usr/bin/ftp],
  'ftp_proxy' => q[],
  'getcwd' => q[cwd],
  'gpg' => q[],
  'gzip' => q[/sw/bin/gzip],
  'histfile' => q[/Users/mareklaptop/.cpan/histfile],
  'histsize' => q[100],
  'http_proxy' => q[],
  'inactivity_timeout' => q[0],
  'index_expire' => q[1],
  'inhibit_startup_message' => q[0],
  'keep_source_where' => q[/Users/mareklaptop/.cpan/sources],
  'lynx' => q[],
  'make' => q[/usr/bin/make],
  'make_arg' => q[],
  'make_install_arg' => q[],
  'makepl_arg' => q[],
  'ncftp' => q[],
  'ncftpget' => q[],
  'no_proxy' => q[],
  'pager' => q[/usr/bin/less],
  'prerequisites_policy' => q[ask],
  'scan_cache' => q[atstart],
  'shell' => q[/bin/sh],
  'tar' => q[/sw/bin/tar],
  'term_is_latin' => q[1],
  'unzip' => q[/sw/bin/unzip],
  'urllist' => [],
  'wget' => q[/sw/bin/wget],
};
1;
__END__


Thank you for your help


marek




-- 
______________________________________________________________________
___PODIUM_INTERNATIONAL_//_the_embassy_for_talented_young_musicians___
_______Marek_Stepanek__mstep_[at]_PodiumInternational_[dot]_org_______
__________________http://www.PodiumInternational.org__________________
______________________________________________________________________




Reply via email to