Cpan configuration purge?

i was finally able to get LWP through the make fixdeps on my install.
it had to time out for 1 hour over many servers before it finally
found an acceptable place to dload: 01mailrc.txt.gz

anyhow, the make died attempting to use the -j3 make option
i specified during the initial cpan inquisition.
its a dual processor so i thought that would work out well.

anyhow, now the make fixdeps fails trying to make a component
as it doesnt support the -j3 option…

i can provide more details if this doesnt make any sense.

anyhow my real question is, how do i purge the global
cpan configuration? removing .cpan doesnt seem to help
me.

best, mark

here is the error. upon trying again it displays this:

Creating files for MySQL …
Checking if your kit is complete…
Looks good
Warning: prerequisite DBI failed to load: Can’t locate DBI.pm in @INC (@INC contains: lib
/usr/local/lib/perl5/5.6.1/i686-linux-thread-multi /usr/local/lib/perl5/5.6.1 /usr/local
/lib/perl5/site_perl/5.6.1/i686-linux-thread-multi /usr/local/lib/perl5/site_perl/5.6.1 /
usr/local/lib/perl5/site_perl .) at (eval 24) line 3.
WARNING from evaluation of /root/.cpan/build/Msql-Mysql-modules-1.2216/mysql/Makefile.PL:
Can’t locate DBI/DBD.pm in @INC (@INC contains: . lib /usr/local/lib/perl5/5.6.1/i686-li
nux-thread-multi /usr/local/lib/perl5/5.6.1 /usr/local/lib/perl5/site_perl/5.6.1/i686-lin
ux-thread-multi /usr/local/lib/perl5/site_perl/5.6.1 /usr/local/lib/perl5/site_perl .) at
(eval 42) line 6.
BEGIN failed–compilation aborted at (eval 42) line 6.
Writing Makefile for Msql-Mysql-modules
---- Unsatisfied dependencies detected during [J/JW/JWIED/Msql-Mysql-modules-1.2216.tar.g
z] -----
DBI
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes]
Running make test
Delayed until after prerequisites
Running make install
Delayed until after prerequisites
Running install for module DBI
Running make for T/TI/TIMB/DBI-1.19.tar.gz
Is already unwrapped into directory /root/.cpan/build/DBI-1.19
Has already been processed within this session
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible
Running make for J/JW/JWIED/Msql-Mysql-modules-1.2216.tar.gz
Is already unwrapped into directory /root/.cpan/build/Msql-Mysql-modules-1.2216

CPAN.pm: Going to build J/JW/JWIED/Msql-Mysql-modules-1.2216.tar.gz

make[1]: Entering directory /root/.cpan/build/Msql-Mysql-modules-1.2216' /usr/local/bin/perl -Iblib/arch -Iblib/lib -I/usr/local/lib/perl5/5.6.1/i686-linux-thread-multi \ -I/usr/local/lib/perl5/5.6.1 -Ilib -MExtUtils::PerlPP \ -e ppp "dbd/dbimon.in" "dbimon" "lib/DBD/mysql/Install/Config.pm" /usr/local/bin/pod2text mysql/lib/DBD/mysql.pm >README cp dbimon blib/script/dbimon /usr/local/bin/perl -I/usr/local/lib/perl5/5.6.1/i686-linux-thread-multi -I/usr/local/lib/perl5/5.6.1 -MExtUtils::MakeMaker -e "MY->fixin(shift)" blib/script/dbimon make[2]: Entering directory/root/.cpan/build/Msql-Mysql-modules-1.2216/mysql’
make[2]: *** No rule to make target all'. Stop. make[2]: Leaving directory/root/.cpan/build/Msql-Mysql-modules-1.2216/mysql’
make[1]: *** [subdirs] Error 2
make[1]: *** Waiting for unfinished jobs…
make[1]: *** Waiting for unfinished jobs…
make[1]: Leaving directory `/root/.cpan/build/Msql-Mysql-modules-1.2216’
/usr/bin/make -j3 – NOT OK
Running make test
Can’t test without successful make
Running make install
make had returned bad status, install seems impossible

any ideas gang?On Thu, Aug 16, 2001 at 05:11:16PM -0400, mark price wrote:

i was finally able to get LWP through the make fixdeps on my install.
it had to time out for 1 hour over many servers before it finally
found an acceptable place to dload: 01mailrc.txt.gz

anyhow, the make died attempting to use the -j3 make option
i specified during the initial cpan inquisition.
its a dual processor so i thought that would work out well.

anyhow, now the make fixdeps fails trying to make a component
as it doesnt support the -j3 option…

i can provide more details if this doesnt make any sense.

anyhow my real question is, how do i purge the global
cpan configuration? removing .cpan doesnt seem to help
me.

best, mark


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

> anyhow my real question is, how do i purge the global > cpan configuration? removing .cpan doesnt seem to help > me.

Remove /usr/lib/perl5/CPAN/Config.pm then run:

perl -MCPAN -e ‘install Bundle::CPAN’

Jason

Jason Englander jason@fiber-city.com
Systems Administrator - FiberCity Networks
PGP Key: http://www.fiber-city.com/~jason/pgpkey.txt

here is the error. upon trying again it displays this:

Creating files for MySQL …
Checking if your kit is complete…
Looks good
Warning: prerequisite DBI failed to load: Can’t locate DBI.pm in @INC (@INC contains: lib

Having the new CPAN module installed might help it anyway, but I would do
this:

rm -rf /root/.cpan/build/DBI-1.19

then this:

perl -MCPAN -e shell
force install Bundle::DBI
quit

then something like this (I always have trouble installing Msql-… the
CPAN module way, this is the ‘manual’ way):

wget http://cpan.perl.org/modules/by-module/Msql/Msql-Mysql-modules-1.2216.tar.gz
tar xzvf ~/Msql-Mysql-modules-1.2216.tar.gz
cd Msql-Mysql-modules-1.2216
perl Makefile.PL
make
make install

and this if you don’t want the source anymore

#rm -rf ./Msql-Mysql-modules-1.2216

Jason

Jason Englander jason@fiber-city.com
Systems Administrator - FiberCity Networks
PGP Key: http://www.fiber-city.com/~jason/pgpkey.txt