Sendu Bala
2008-01-25 11:24:02 UTC
I'm trying to install Math::Calculus::Expression and am coming across a
strange problem in CPAN.
First of all, 'install Math::Calculus::Expression' doesn't work for some
reason, because it can't be found (neither with 'i /Expression/').
Trying with the file path also fails in a bizarre way:
delta % cpan
CPAN: File::HomeDir loaded ok (v0.67)
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan[1]> install JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
CPAN: Storable loaded ok (v2.15)
Going to read /home/sb/.cpan/Metadata
Database was generated on Thu, 24 Jan 2008 11:30:57 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /home/sb/.cpan/build/
DONE
Found no old builds, restored the state of none
Running make for J/JO/JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for
/home/sb/.cpan/sources/authors/id/J/JO/JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
ok
Scanning cache /home/sb/.cpan/build for sizes
DONE
Math-Calculus-Expression-0.2.2/
Math-Calculus-Expression-0.2.2/Changes
Math-Calculus-Expression-0.2.2/Expression.pm
Math-Calculus-Expression-0.2.2/Makefile.PL
Math-Calculus-Expression-0.2.2/MANIFEST
Math-Calculus-Expression-0.2.2/README
Math-Calculus-Expression-0.2.2/test.pl
CPAN: File::Temp loaded ok (v0.20)
Catching error: "Couldn't move
/home/sb/.cpan/build/tmp-16218/Math-Calculus-Expression-0.2.2/Changes to
/home/sb/.cpan/build/Math-Calculus-Expression-0.2.2-jd638v/Changes:
Permission denied at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
6293\cJ\cICPAN::Distribution::run_preps_on_packagedir('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
6151\cJ\cICPAN::Distribution::get('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
7376\cJ\cICPAN::Distribution::make('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
8504\cJ\cICPAN::Distribution::test('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
8846\cJ\cICPAN::Distribution::install('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
3364\cJ\cICPAN::Shell::rematein('CPAN::Shell', 'install',
'JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz') called at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
3535\cJ\cICPAN::Shell::__ANON__('CPAN::Shell',
'JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz') called at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 274\cJ\cIeval {...} called
at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 274\cJ\cICPAN::shell()
called at /usr/bin/cpan line 198\cJ" at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 281
CPAN::shell() called at /usr/bin/cpan line 198
cpan[2]> q
Lockfile removed.
delta %
delta % rm -fr ~/.cpan/build/*
rm: cannot chdir from `/home/sb/.cpan/build/tmp-16218' to
`Math-Calculus-Expression-0.2.2': Permission denied
That's just really beyond me. Only root can then delete that tmp
directory. What's going on? (I've had no similar problem installing a
whole host of other modules via CPAN, including Bundle::CPAN)
strange problem in CPAN.
First of all, 'install Math::Calculus::Expression' doesn't work for some
reason, because it can't be found (neither with 'i /Expression/').
Trying with the file path also fails in a bizarre way:
delta % cpan
CPAN: File::HomeDir loaded ok (v0.67)
cpan shell -- CPAN exploration and modules installation (v1.9205)
ReadLine support enabled
cpan[1]> install JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
CPAN: Storable loaded ok (v2.15)
Going to read /home/sb/.cpan/Metadata
Database was generated on Thu, 24 Jan 2008 11:30:57 GMT
CPAN: YAML loaded ok (v0.66)
Going to read /home/sb/.cpan/build/
DONE
Found no old builds, restored the state of none
Running make for J/JO/JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
CPAN: Digest::SHA loaded ok (v5.45)
CPAN: Compress::Zlib loaded ok (v2.008)
Checksum for
/home/sb/.cpan/sources/authors/id/J/JO/JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz
ok
Scanning cache /home/sb/.cpan/build for sizes
DONE
Math-Calculus-Expression-0.2.2/
Math-Calculus-Expression-0.2.2/Changes
Math-Calculus-Expression-0.2.2/Expression.pm
Math-Calculus-Expression-0.2.2/Makefile.PL
Math-Calculus-Expression-0.2.2/MANIFEST
Math-Calculus-Expression-0.2.2/README
Math-Calculus-Expression-0.2.2/test.pl
CPAN: File::Temp loaded ok (v0.20)
Catching error: "Couldn't move
/home/sb/.cpan/build/tmp-16218/Math-Calculus-Expression-0.2.2/Changes to
/home/sb/.cpan/build/Math-Calculus-Expression-0.2.2-jd638v/Changes:
Permission denied at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
6293\cJ\cICPAN::Distribution::run_preps_on_packagedir('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
6151\cJ\cICPAN::Distribution::get('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
7376\cJ\cICPAN::Distribution::make('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
8504\cJ\cICPAN::Distribution::test('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
8846\cJ\cICPAN::Distribution::install('CPAN::Distribution=HASH(0x14305c0)')
called at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
3364\cJ\cICPAN::Shell::rematein('CPAN::Shell', 'install',
'JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz') called at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line
3535\cJ\cICPAN::Shell::__ANON__('CPAN::Shell',
'JONATHAN/Math-Calculus-Expression-0.2.2.tar.gz') called at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 274\cJ\cIeval {...} called
at /home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 274\cJ\cICPAN::shell()
called at /usr/bin/cpan line 198\cJ" at
/home/sb/perllib/lib/perl5/5.8.5/CPAN.pm line 281
CPAN::shell() called at /usr/bin/cpan line 198
cpan[2]> q
Lockfile removed.
delta %
delta % rm -fr ~/.cpan/build/*
rm: cannot chdir from `/home/sb/.cpan/build/tmp-16218' to
`Math-Calculus-Expression-0.2.2': Permission denied
That's just really beyond me. Only root can then delete that tmp
directory. What's going on? (I've had no similar problem installing a
whole host of other modules via CPAN, including Bundle::CPAN)