Sanjay Tripathi wrote:
> Please find the Logs for both of Perl Command as an attachment as per
> your request.

Welcome to Dependency Hell. Here is your problem:

> Writing Makefile for List::Util
>     -- NOT OK
> Running make test
>   Can't test without successful make
> Running make install
>   make had returned bad status, install seems impossible
>
> Running make for K/KW/KWILLIAMS/PathTools-3.24.tar.gz
>   Is already unwrapped into directory /.cpan/build/PathTools-3.24
>   CPAN.pm: Going to build K/KW/KWILLIAMS/PathTools-3.24.tar.gz
>     -- NOT OK
> Running make test
>   Can't test without successful make

DBI requires File::Spec.  File::Spec requires Scalar::Util.
Scalar::Util (packaged alongside List::Util) is failing to install.  If
you can get Scalar::Util to install, you'll probably have no problem
with DBI.  Here is one way to try it:

# perl -MCPAN -e shell

cpan> look Scalar::Util
  (this spawns a shell)

# perl Makefile.PL && make test && make install &&
  echo "INSTALL SUCCEEDED" ||
  echo "INSTALL FAILED!"

# exit

cpan>

If the installation succeeded, you can try to install DBI again.
Otherwise,
post the output and I'll try to help more.

- Philip

Reply via email to